Prepare your environment
Prepare is the first of the five phases. You finish it when every exporter target is up and the dashboard shows data.
Prerequisites
The itential.monitoring Ansible collection installs and configures Prometheus, Alertmanager, and Grafana, and sets up the iap_exporter scrape job. Use it, or install the components yourself, then set up everything in the following table before you build the baseline or set up alerts. For installation help and further guidance, contact your Customer Success team.
Review your deployment type, such as high availability or active-standby. The collection installs exporters by host group, so every Platform, MongoDB, Redis, and gateway server host in your deployment needs the exporters for its role.
If you use a different monitoring stack, you still need the exporters. Your tool takes the place of Prometheus, Alertmanager, and Grafana.
Exporter configuration files contain the credentials the exporter uses to connect to Redis or MongoDB. Anyone who can read the files can connect to those servers. Create a dedicated account for each exporter with only the permissions it needs to read metrics, restrict read access to the files, and keep them out of source control.
Start with a 15-second scrape interval. The alert rules count starts over 1-minute windows and use 5-minute CPU rates, and Prometheus needs at least four samples in a window to evaluate it reliably. At 15 seconds, a 1-minute window holds four samples. At 30 seconds, it holds two, so one missed or delayed scrape leaves a gap in the demand figures that every demand-based alert depends on. Change the interval only if you also widen those windows.
When everything in the table is running, go to Status > Targets in Prometheus and confirm each target shows UP before you continue. For what each exporter collects, see Exporters.
Install the dashboard
The Itential Platform Monitoring dashboard is published in the Grafana dashboard marketplace. It turns the raw metrics into ready-made panels. Install it after Prometheus is scraping your targets. If you have questions about installing the dashboard, contact your Customer Success team.
Confirm the data source
In Grafana, confirm Prometheus is configured as a data source and that its connection test succeeds.
Understand the job metrics
The job metrics count events or report a level. None of them measures how long a job or task takes.
The exporter also exposes itential_up, itential_poll_errors_total, itential_scrape_duration_seconds, and itential_build_info. Confirm what they mean against the exporter’s documentation for your version.
Keep these points in mind when you read the metrics:
- A counter is a running total. Use
rate()for events per second andincrease()for a count over a window. - Started means created. A job or task counts when its document is inserted, regardless of its first status. Pause and resume don’t count as separate events.
- Errors and cancels count when the status changes.
- Resolution is the scrape interval. At 15 seconds, you can see that jobs started within a window, but not the second each one started.
- A 5-minute rate smooths bursts. One event stays in the window for 5 minutes, so a short burst appears as a plateau about 5 minutes wide.
- Restarts reset counters.
rate()andincrease()handle the reset, but events that happen while the exporter is down aren’t counted, because the exporter holds its change-stream position in memory. - Job counters have no node label, so you can’t analyze jobs per node. Task counters carry
server_id.
Read the dashboard
The Itential Platform Monitoring dashboard answers the capacity questions on these tabs:
- Workflow Engine for demand
- Overview and Platform Process for resources
- Redis and MongoDB for the dependencies the job queues run on
The dashboard reports percentiles, written as p50, p95, and p99. A percentile is the value that many percent of measurements fall at or below. The p50 is the typical value. The p99 is a value that only 1% of measurements exceed.
On the started-per-minute rows, p50 is the typical busy minute. An average well above p50 means load arrives in spikes. Size headroom for p95, p99, and the peak, not the average. Idle minutes are excluded, so these figures describe busy minutes only. The CPU percentiles in the baseline table include idle minutes.