Enable automation dashboard during containerized installation
Enable automation dashboard during containerized installation
Enable automation dashboard data collection during the initial installation to start collecting ROI and cost analysis data without post-installation configuration.
Before you begin
Red Hat Ansible Automation Platform 2.7 containerized installer downloaded and extracted
Infrastructure meets metrics service deployment requirements
Understanding of Technology Preview features and limitations
Metrics service enabled (required dependency)
Important
Technology Preview: Automation dashboard is a Technology Preview feature in Red Hat Ansible Automation Platform 2.7 and is disabled by default. You must explicitly enable it by setting FEATURE_DASHBOARD_COLLECTION_ENABLED: true in your installer inventory file using the all:varsfeature_flags variable.
About this task
This procedure enables automation dashboard during the initial containerized installation of Red Hat Ansible Automation Platform 2.7. By configuring dashboard collection in your installer inventory file, you eliminate post-installation configuration steps and enable dashboard data collection to start within 6 hours of installation completion. This approach ensures no gap in data collection, allowing you to establish a baseline for ROI analysis from the first day of platform operation and begin capturing all automation activity immediately.
Procedure
Configure inventory file for metrics service
Edit your Ansible Automation Platform containerized installer inventory file and ensure metrics service is configured. Dashboard requires metrics service as its backend.
The [automationmetrics] group defines which node runs metrics service. Adding a host to this group automatically enables metrics service - there is no separate automationmetrics_enabled variable. The host in [automationmetrics] does not need to be colocated with [automationcontroller].
Enable dashboard collection feature flag
Add the dashboard collection variable to the [all:vars] section of your inventory file:
Additional settings for setting Ansible Automation Platform Feature Flags. SettingFEATURE_DASHBOARD_COLLECTION_ENABLED toTrue enables automation dashboard data collection (Technology Preview). When enabled, metrics service collects dashboard-specific metrics (cost data, ROI calculations, pricing information) in addition to standard metrics.
Note
Metrics service is enabled by adding a host to the [automationmetrics] group (Step 1). There is no separate automationmetrics_enabled variable.
Run the containerized installation program
cd /path/to/aap-containerized-installer
ansible-playbook -i inventory install.yml
The installation program performs the following sequence for dashboard enablement:
Metrics service installation: Installs and configures metrics service backend
Creates metrics_service database
Creates metrics_service user (ALL privileges)
Creates ms_awx_readonly user (SELECT-only on Controller DB)
Deploys automation-metrics-web, automation-metrics-tasks, and automation-metrics-scheduler containers
Dashboard feature flag configuration: Sets feature_flags: {'FEATURE_DASHBOARD_COLLECTION_ENABLED': True} in metrics service container configuration file
Database migration: Runs automation-metrics-init container to create dashboard tables from apps/dashboard_reports/migrations/
Data collection scheduling: Configures dashboard collection tasks
Note
The installer log does not indicate when dashboard collection is enabled. Use the following post-installation verification steps to confirm that automation dashboard is active.
Verify dashboard is enabled
After installation completes, verify dashboard collection is active:
dashboard_subscription_cost - Singleton for cost parameters
dashboard_filter_set - Saved user filtersets
Check metrics service logs for collection activity
Note
Dashboard collection logs appear only after the first collection cycle runs. On a new installation with no historical data, the initial backfill task runs 30 seconds after metrics service starts. Regular 6-hourly collection logs may not appear for up to 6 hours after installation.
New installations with no historical jobs: Dashboard data appears within minutes after backfill completes
Installations with substantial Controller history: The backfill process involves retrieving and storing historical records. The duration of this task is contingent upon the volume of data currently residing in the automation controller database.
Note
Dashboard RBAC permissions are configured automatically by the installer based on Red Hat Ansible Automation Platform roles. Only Administrators have full access. Other roles do not have access to the automation dashboard.
We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.
Making open source more inclusive
Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.
About Red Hat Documentation
We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.