“Test metrics” block
Chart on a dashboard the metrics returned by a monitoring test of a server, service or database.
The Test metrics block plots over time the named metrics returned by a monitoring test associated with an object, for example the latency or usage reported by a check. If you choose a single metric, the chart also shows its warning and critical thresholds.
Before you start
The object must have at least one associated monitoring test that returns metrics.
Steps
Add the block:
On the overview dashboard or a group's dashboard: click Customize and choose Test metrics in Add block….
On one of your own dashboards: open it with Edit (or create it with New dashboard) and choose the block in More blocks… in the Widgets bar.
In the block, search for the object in Search for the server, service, database… and click it in the list.
In Test, choose one of the tests associated with that object. If it says No associated tests, the object has none.
Choose what to chart:
To see a single metric, choose it in Metric. The block uses it right away.
To see all of the test's named metrics, click Use this test.
If you later want to change the metric, choose another one in Metric or go back to The test's named metrics.
Save the dashboard: Save for me or Save for the company on a template dashboard, or Save changes on one of your own dashboards.
To change the object or the test later, go back into editing mode and click Change on the block.
How to read it
At the top, the test's current status (OK, Warning, Critical, Unknown or Not checked), the object's name (click it to open its page), the test's name and the last value of each metric.
Below, the chart with the average per interval of the dashboard's time range.
Block messages
Message | What it means |
|---|---|
Choose the test and metric in “Customize”. | The block isn't configured yet. |
The test doesn't return metrics yet. | The test exists but doesn't report values yet. |
No performance data in the range. | There are no values in the selected range; try a wider range. |
The selected test no longer exists or you can't see it. | It was deleted or your role doesn't include it. Choose another one. |
Related
Settings: monitoring tests and plugins