This feature is in Early Access (EA), and might not be visible in your app. To learn
more about this program and the features it contains, see the
Early access page.
- Controls to create the monitor or duplicate it to create new monitors
- A time series chart visualizing the monitor’s queries and any alerts triggered over the visualized time span
- Details of the monitor’s configuration and purpose
- Tools to filter query results by time series, change events, and signals
- The monitor’s alert history, which describes when alerts triggered and which notifications were sent
- A history of changes made to the monitor
- A shortcut to create or modify a muting rule tailored to the monitor’s parameters
Design a monitor
Most monitors trigger alerts when a value matches a specific condition, such as when an error condition defined by its query exceeds a threshold. For example, an error condition lasting longer than a monitor’s designated one-minute threshold can trigger an alert. You can also trigger alerts when a value doesn’t exist. For example, you can trigger an alert when a host stops sending metrics, which might indicate that the host is unavailable. This condition triggers only if the entire monitor query doesn’t return any results.Review a monitor’s details
A monitor’s page prioritizes its current Status with indicators of how many alerts of any severity are actively triggered, and whether the alert’s notifications are being muted. A Passing status indicates that nothing tracked by the monitor is actively triggering an alert. If some of a monitor’s alerts are muted, Observability Platform reports this in a banner that you can expand to view More details. This includes links to any muting rules that are silencing any of a monitor’s notifications. You can also review the monitor’s Signal labels alongside its status to better understand which labels include results being tracked by the monitor. A monitor’s page also includes a sidebar that lists:- Monitor information, including the collection assigned as its Owner, the Team responsible for it, and its notification Policy
- The monitor’s Datasource and update Interval
- Additional information, which can include relevant Labels, and also a Description and custom Links to additional information and context for responders as defined in the monitor’s Annotations
Create a monitor
Before creating a monitor, first complete the following prerequisite tasks:- Create a notifier to define where to deliver alerts and who to notify.
- Create a notification policy to determine how to route notifications to notifiers based on signals that trigger from your monitor. You can select the notifier you created for the notification policy’s critical or warning statuses.
Users can modify Terraform-managed resources only by using Terraform.
Learn more.
Create a monitor in Observability Platform
To add a new monitor:- In the navigation menu select one of these locations:
- Alerts > Monitors.
- Platform > Collections, and then select the collection you want to create a monitor for. This can be a standard collection or a service.
- Create the monitor:
- From the Monitors page, click Create monitor to open the Add Monitor panel.
- To create a monitor by duplicating an existing monitor, click the monitor on the Monitors page, then click Duplicate to open the Duplicate monitor panel.
- From the Collections page, in the Monitors panel, click Manage, then click New monitor.
Edit a monitor in Observability Platform
To edit a new or existing monitor:- Select a monitor from the list of monitors, and then click Edit on the selected monitor page.
- Enter the information for the monitor based on its data model.
- Select an Owner to organize and filter your monitor. You can select a collection or a service.
-
Enter a Monitor Name, which you can change after creating the monitor. Monitor
names are static strings and don’t accept label variables, such as
$labels.LABEL_NAME. - Choose a Notification Policy to determine which notification policy to use at a particular alert severity.
- Enter Labels as key/value pairs to categorize and filter monitors.
-
In the Query section, choose the type of query you want to enter:
- Prometheus: Enter a valid Prometheus query. Click Edit in Query Builder to open your query in the Query Builder, where you can construct, optimize, and debug your query before saving it. After modifying your query, click Done to return to the Add Monitor page.
- Graphite: Enter a valid Graphite query.
-
Logs: Enter a valid log query, which must include the
make-seriesoperator with a specifiedstepsize to return data. This operator uses thecount()function by default, but you can specify different operators instead. For example, the following query creates a time chart that includes the average forlatencyInSeconds. Thestepparameter defines the time step for each bucket in Prometheus time duration format:If the log query includes a field that contains a period in its name and you want to use signals to group notifications, use an alias for that field name. Otherwise, periods are converted to underscores in the generated visualization.
-
Use these options to validate and update your query:
-
Click Check Query to validate your query and preview query results. In the
query preview, use the following options to understand your query:
- Toggle Show thresholds to display the monitor’s defined thresholds.
- Select a time range up to the present in the time range selector. If your selected time period has too many alerts, or the entire graph appears to display in alerted status, reduce the selected time period. If multiple alerts would have fired simultaneously, only one threshold marker displays. The banner shows the correct number of alerts. For example, if a critical and a warning would fire at the same time, only one alert displays on the graph. The banner shows two alerts would have fired.
- Click Open in Explorer to open your query in Metrics Explorer, where you can review your query for syntax errors and make necessary changes.
-
Click Check Query to validate your query and preview query results. In the
query preview, use the following options to understand your query:
-
For Prometheus queries, test monitor conditions by reviewing when a monitor would
have triggered, based on historical data. The preview reflects existing monitor
schedules, signal grouping, and overrides:
- Use the Show alert durations toggle to display the time period over which the alert would have been active.
-
Toggle Simulate alerts to backtest your condition against existing data. You
must define at least one condition for alert simulations to work.
If your selected query returns too much data, the graph displays an error. Chronosphere recommends selecting shorter time periods for testing, when possible. Alert simulation isn’t available outside the raw data retention period.Alert simulations use existing data, and can’t predict future alerts.
-
Optional: Group alerts based on the results returned from the query by choosing an
option in the Signals section.
Signals use a unique set of labels to
create groups of notifications when a monitor alert triggers or resolves.
If you select per signal (multiple alerts) to generate multiple alerts, enter a label key that differs in name and casing from the label you enter in the Key field in the Labels section. For example, if you enter
environmentin the Key field, you might useEnvironmentsas the Label Key to match on. Pinned scopes can be used as a Label Key. -
Define a condition and sustain period (duration of time) in the Conditions
section, and assign the resulting alert a severity (warning or critical). In
the Sustain field, enter a value followed by an abbreviated unit such as
60s. Valid units ares(seconds),m(minutes),h(hours), ord(days). The dialog also displays the notifiers associated with the monitor for reference.To alert on missing or no data, select not exists in the Alert when value dropdown. -
In the Resolve field, enter a time period for the resolve window as a
value followed by an abbreviated unit such as
30s. Valid units ares(seconds),m(minutes),h(hours), ord(days). - Add notes for the monitor in the Annotations section, such as runbooks, links to related dashboards, data links to related traces, and documentation links.
- Click Save.
Mute a monitor
If a monitor has any active muting rules, Observability Platform reports the number of active muting rules and when they expire in a banner. The banner displays even if there aren’t active alerts. The monitor’s Status also reports as Muted if all alerts are muted, and its Alert analysis summary breaks down the muting or severity for all of the monitor’s alerts. To mute the selected monitor, a signal from a monitor, or any stored time series, click Mute monitor to add a muting rule. If a muting rule already exists, the button is named Add muting rule. When you create a muting rule from a monitor, Observability Platform prepopulates the muting rule’s Name field with the monitor’s name. For more information about creating and editing muting rules, see Muting rules.View additional actions
The monitor page header includes controls for additional monitor actions. The following actions might be visible depending on the resolution of your display or width of your browser window. Some of these actions are always organized in a three vertical docs menu. If any of the following actions aren’t visible on your device, click the three vertical docs icon in the page header to access them.Add a comment
To comment on a monitor:- On the monitor’s page, click + Add comment.
- Follow the instructions to add a comment.
Explore the query
To examine and modify the query and metrics that the monitor uses, click Open in Explorer to open the query in the Metrics Explorer.Create a custom event
You can create a custom change event and associate it with a monitor directly from the monitor’s page:- On the monitor’s page, click the three vertical dots icon in the page’s header, then click Create event.
- Follow the instructions to create a change event.
View version history
Version history opens the history of changes for the monitor. To view the history of changes for a selected monitor, click the three vertical dots icon. Click Version history to display a panel with two tabs:- Code config: Displays a code representation of the selected entity as of the time of the selected revision.
- Code diff: Displays a Git-style diff of the most-recent change made to the
entity, in Chronosphere API format. To compare the selected revision to another
revision in the history, click the Compare With dropdown and select the
timestamp of the revision that you want to compare.
- Click Unified to see the diff stacked horizontally.
- Click Split to see changes side by side.
The Version History view retains up to 500 revisions, or up to 15 months of revisions
if there are fewer than 500 revisions.
Connect monitors to services or collections
Services and collections can own monitors, but you can also connect a monitor to any service or collection. Manage Connections opens a panel where you can manage connections between the selected monitor and any service or collection.- In the navigation menu select Alerts > Monitors.
- Click the name of the monitor you want to edit.
- To the right of the monitor’s name, click the three vertical dots icon and select Manage connections.
- Add or remove a connection.
View alert history
A monitor’s Alert history lists each of the monitor’s alerts, the time and date when it was triggered, the type of alert, and details like its signals and notifiers. To display the monitor’s alert history:- In the navigation menu select Alerts > Monitors.
- Click the name of the monitor you want to edit.
- To the right of the monitor’s name, click the three vertical dots icon and select Alert history.
- Click the Event types dropdown.
- Select the event types in the list that you want to view. To filter the list, click the Search field and begin typing.
Filter query results
When viewing a monitor, you can filter the results plotted on the graph.- Define which alerts to display on the chart by clicking either All, Alerting, or Critical.
- Use the time range selector to define the time range of query results visualized in the chart.
- Click Show thresholds to draw horizontal threshold lines on the chart for the monitor’s triggering conditions.
- In the series legend, click the color of one or more series to filter them from the time series chart.
- In the series legend, click the Add or Remove label from filters icons that appear only when hovering over a label column in one of the legend’s rows. These filters match only if the time series includes all filtered labels.
- If alerting is enabled, click Group by signal to group the series legend by signal labels.
Filter change events
Use the Display events panel to select which types of change events to depict on the monitor’s Query results chart. Change events use category icons for ease of visibility into different event types. To toggle change events and categories:- Click Events to open the Display events panel.
- In the Status section, toggle Chart events enabled to show or hide all change events.
- In the Categories section, select the change event categories to visualize in the chart.
- Click Save to save your changes.

