Capture telemetry data for the Ansible self-service portal
The telemetry data collection feature helps in collecting and analyzing the telemetry data to improve your experience with Ansible automation portal. This feature is enabled by default.
Telemetry data collected by Red Hat
Red Hat collects and analyses the following data:
- Events of page visits and clicks on links or buttons.
- System-related information, for example, locale, timezone, user agent including browser and OS details.
- Page-related information, for example, title, category, extension name, URL, path, referrer, and search parameters.
- Anonymized IP addresses, recorded as
0.0.0.0. - Anonymized username hashes, which are unique identifiers used solely to identify the number of unique users of the RHDH application.
- Feedback and sentiment submitted through the Ansible automation portal feedback form, including a 1-5 star rating and feedback text. Users must acknowledge that they share the feedback with Red Hat before submitting.
The feedback form is optional and disabled by default. You can enable for your users if you choose.
Configure automation dashboard post-installation
Activate dashboard data collection with automatic historical data backfill to generate comprehensive usage and ROI reports without reinstalling the platform or losing historical automation activity data.
Before you begin
- Red Hat Ansible Automation Platform 2.7 installed and operational
- Metrics service installed and running
- For containerized: access to the installer inventory file
- For operator:
kubectlorocaccess and edit permissions on the AnsibleAutomationPlatform CR
About this task
This procedure enables automation dashboard on an existing Red Hat Ansible Automation Platform 2.7 installation without platform downtime or service disruption. When you enable dashboard collection post-installation, metrics service automatically backfills up to 90 days of historical data from the Controller database, allowing the dashboard UI to display historical trends within hours of enablement. This zero-disruption activation eliminates the need to reinstall the platform and enables hourly automated collection for ongoing dashboard metrics after backfill completion, providing comprehensive usage and ROI reports using both historical and current automation activity data.
Procedure
- For containerized installation, follow the containerized procedure
- For operator deployment, follow the operator procedure
Results
After completing the procedure for your deployment method, dashboard is enabled and historical data backfill begins automatically.
Procedure (containerized installation)
Enable dashboard collection on an existing containerized deployment by updating the installer inventory and re-running the installer.
Procedure
Procedure (operator deployment)
Enable dashboard collection on an existing operator deployment by editing the AnsibleAutomationPlatform Custom Resource.
Procedure
Configure data retention for automation dashboard
Configure how long automation dashboard retains job execution data to balance your reporting needs with storage capacity.
Before you begin
- You have the Platform Administrator role in Ansible Automation Platform.
- Metrics service is installed on your Ansible Automation Platform 2.7 deployment.
- You have access to the Ansible Automation Platform API.
- You know your organization's data retention requirements (for example, compliance frameworks or reporting needs).
About this task
Dashboard data retention is controlled by the DASHBOARD_COLLECTION__USE_CONTROLLER_RETENTION setting, which determines whether dashboard data follows the automation controller's retention period or uses an independent retention period.
| Setting | Value | Behavior |
|---|---|---|
DASHBOARD_COLLECTION__USE_CONTROLLER_RETENTION |
True (default) | Dashboard data retention matches the automation controller retention period. When controller data is purged, corresponding dashboard records are also deleted. |
DASHBOARD_COLLECTION__USE_CONTROLLER_RETENTION |
False | Dashboard uses an independent retention period configured throughretention_days in the metrics service settings API. Default and recommended: 90 days. Range: 90-730 days. |
DASHBOARD_COLLECTION__USE_CONTROLLER_RETENTION: True, the default), any data in the metrics service database older than the controller retention period will be deleted. Verify your controller retention period before enabling dashboard collection. If the controller retention period is shorter than the dashboard's previous retention period (default: 90 days), enabling this sync will permanently delete dashboard data older than the controller retention period.
Procedure
Results
Verify that data retention is configured correctly by confirming the following:
- The
retention_daysvalue in the settings API response matches your configured retention period. - The cleanup schedule shows the expected run time (default: Sundays at 2:00 AM UTC).
- The date range available in the dashboard UI reflects the configured retention period.
What to do next
DASHBOARD_COLLECTION__USE_CONTROLLER_RETENTION to false in your inventory file before upgrading.
Monitor data collection status for automation dashboard
Monitor the status of automation dashboard data collection to verify data freshness, check sync progress, and troubleshoot stale or missing data.
Before you begin
- Automation dashboard is enabled and metrics service is installed.
- You have a dashboard viewer or editor role in Ansible Automation Platform.
- You have access to the Ansible Automation Platform API.
Procedure
Results
Verify that data collection is operating normally by confirming all of the following:
- The
last_runtimestamp is within the last hour. - The collection status is
completed. - If a backfill is in progress, the
progress_percentageis increasing over time.
Export automation dashboard data to CSV
Export dashboard data to CSV format to share automation cost savings data with stakeholders or analyze data using external tools.
Before you begin
- Automation dashboard must contain data for the selected time period.
- You must have access to view the automation dashboard.
About this task
Use this procedure when:
- Creating executive reports on automation ROI
- Analyzing automation trends in spreadsheet software
- Archiving automation performance data for compliance
- Sharing automation metrics with finance or business teams
The automation dashboard provides three CSV export formats, each serving different analysis needs:
- Summary: Detailed job execution data including costs, time savings, and host counts
- ROI: Return on investment metrics showing cost savings percentages and automation value
- Trends: Time-series data tracking job execution patterns over the selected period
Procedure
Results
Your browser downloads a CSV file containing the selected automation dashboard data.
Export button is disabled: The CSV export button is disabled when the dashboard table contains no data. Verify that:
- Your selected date range includes automation job executions.
- Your user account has permissions to view automation dashboard data.
- Automation jobs have completed during the selected period.
Filter automation dashboard by date range
Use the date range selector to filter dashboard data and analyze automation performance over a specific time period.
Before you begin
- Automation dashboard must be configured and collecting data.
- You must have access to view the automation dashboard.
About this task
Use this procedure when:
- Comparing automation metrics across different time periods
- Analyzing automation performance for a specific project phase
- Creating reports for quarterly or monthly business reviews
- Investigating automation issues during a known time window
The automation dashboard provides preset date ranges for common analysis periods, plus a custom option for specific date windows:
- Last 7 days: Weekly automation performance (default)
- Last 14 days: Bi-weekly trends
- Last 30 days: Monthly performance
- Last 60 days: Quarterly snapshots
- Last 90 days: Long-term trend analysis
- Custom: Specific date range for targeted analysis
The custom date range defaults to the last 7 days (today minus 7 days).
Procedure
- From the navigation panel, select .
- From the period selector in the toolbar, select your desired time range:
- For preset ranges, select Last 7 days, Last 14 days, Last 30 days, Last 60 days, or Last 90 days.
- For a specific date window, select Custom and continue to step 3.
- If you selected Custom, configure your date range:
Results
The automation dashboard updates to display data only for the selected date range. All metrics, charts, and export functions reflect this filtered view.
To verify the filter applied correctly:
- The period selector in the toolbar displays your selected date range.
- Dashboard metrics update to reflect only the filtered time period.
- The CSV export button (if enabled) exports data for the selected range only.
Custom date range not applying: Verify that dates are in valid YYYY-MM-DD format. The dashboard does not send requests to the backend until both the From and To dates are in valid format.
No data displays for selected range: Verify that automation jobs executed during your selected date range. If no jobs ran during the period, the dashboard displays an empty table.
Historical data backfill details
Understand how automation dashboard backfills historical data after post-installation enablement by learning the backfill scope, behavior, performance impact, and duration estimates for dashboard data collection.
Backfill scope and behavior
How backfill works:
When you enable dashboard post-installation, metrics service initiates a historical data backfill using the following logic:
- Starting point: 90 days before current time (
since = now - 90 days) - End point: Current time (
until = now) - Data query: Requests all jobs in Controller (AWX) database between
sinceanduntil - Collection: Collects whatever data exists in that timeframe
90 days is the starting point, not a minimum or maximum requirement. Metrics service collects all available data within the 90-day window.
Examples:
| Controller Data Available | Data Collected | Result |
|---|---|---|
| 90+ days of job history | 90 days | Backfill collects maximum (90 days from since point) |
| 30 days of job history | 30 days | Backfill collects all available data (no error) |
| 0 days of job history (new installation) | 0 jobs | Backfill completes successfully withjob_count: 0 |
Key points:
- Less than 90 days of data is not an error - backfill collects what exists
- Backfill does not fail if Controller has less than 90 days of data
- New installations with no historical jobs complete backfill immediately (within minutes)
Backfill process control
The backfill process runs to completion automatically and cannot be paused or resumed. Once initiated, it continues until all available data within the 90-day window is collected. If metrics service is restarted during backfill, the process resumes from the last successful checkpoint.
Performance impact and duration
| Aspect | Details |
|---|---|
| Data Source | Controller (awx) database by usingms_readonly user (read-only access) |
| Performance Impact | Minimal - backfill uses same read-only queries as regular collection, spread over time |
| Duration | Varies based on data volume; typically completes within 24 hours for large datasets |
| Automatic | Yes - no manual intervention required after enablement |
Estimated completion times:
| Data Volume (Controller Jobs) | Estimated Backfill Duration |
|---|---|
| < 10,000 jobs | Under 5 minutes |
| 10,000 - 50,000 jobs | 5–20 minutes |
| 50,000 - 100,000 jobs | 20–45 minutes |
| > 100,000 jobs | 45 minutes–2 hours |
These duration figures are estimates. Actual duration depends on job complexity, number of hosts per job, database performance, and system load.
Disable telemetry data collection
You can disable and enable the telemetry data collection feature for Ansible automation portal by updating the Helm chart for your OpenShift Container Platform project.