Search and query metrics
When you create dashboards, monitors, or use the Metrics Explorer, you use a query to select and filter the metrics in which you're interested, and then apply functions to them. When querying data, you can use regular expressions or glob syntax where supported.
Regular expression syntax and glob syntax are not interchangeable. Chronosphere Observability Platform supports only one of these query matching patterns in supported areas of the product. For example, drop rules support glob syntax, whereas recording rules support regular expression syntax.
Chronosphere Observability Platform supports these languages for querying metrics data. Contact Chronosphere Support to configure the data sources you want to use.
-
Prometheus Query Language (PromQL): Used with Prometheus-compatible metrics. Default.
-
Graphite: Used with StatsD metrics data. Enabled on request.
Although Chronosphere supports both PromQL and Graphite, this document provides information only about the use of PromQL. For more details about Graphite, see the Graphite documentation (opens in a new tab).
To help construct, optimize, and debug queries, use the Query Builder. To analyze expensive queries and understand their relative load, use the Query Analyzer.
Additional features
Observability Platform also provides querying features beyond those covered by using query languages in its user interface.
- Delta queries: Query metrics that employ delta temporality, as opposed to cumulative temporality.
- Prometheus API access: Interact directly with Prometheus API endpoints for programmatic workflows.