Metrics
Browse every OpenTelemetry metric Maple has received, then chart one with an aggregation, a filter, and a breakdown by attribute.
The Metrics page lists every metric Maple received in the selected time range, with its type, emitting service and data point count. Open a metric to chart it: choose an aggregation, filter by attribute, break it down by a dimension, and add the chart to a dashboard or turn it into an alert.
What data it needs
Metrics arrive over OTLP from an OpenTelemetry SDK or collector, or from a Prometheus scrape target. Maple stores four OTLP metric types:
| Type | Badge | Examples |
|---|---|---|
| Sum | Sum | Request counters, bytes sent. Monotonic or not. |
| Gauge | Gauge | Memory in use, queue depth. |
| Histogram | Histogram | Request duration with explicit buckets. |
| Exponential histogram | Exp Hist | Request duration with exponential buckets. |
OTLP Summary metrics are not stored. The Prometheus scraper converts summaries into sums and a quantile gauge before ingest.
The Service column and the service filter read the service.name resource attribute. Data point attributes become the dimensions you can filter and group by.
Browse metrics
The default time range is the last 24 hours.
Filter by type with the type select: All types, Sum, Gauge, Histogram or Exp histogram.
Type in Search metrics… to filter by metric name. Switch between Grid view (a sparkline card per metric, the default) and Table view. The table has these columns: Metric name (with its description), Type, Service, Points and Last seen. Click Load more to page through long lists.
Click a metric to open it.
Chart a metric
The metric page has a chart, a breakdown panel and a side panel of metadata.
Query controls above the chart:
| Control | What it does |
|---|---|
| Aggregate | How data points combine per time bucket. Monotonic sums offer rate (the default), increase, and sum. Other types offer avg, sum, min, max, and count. Histograms and exponential histograms also offer the percentiles p50, p75, p90, p95, and p99, estimated from their buckets. |
| Where | A filter on attributes, with autocomplete. For example http.route = "/api/users". |
| Group by | Everything (no breakdown), service.name, or any data point attribute as attr.<. |
| Every | The bucket size in seconds. Auto picks one from the time range. |
The chart header shows the query, such as rate(, and the metric’s unit.
The Top values panel ranks values of one attribute. Choose it with Break down by… (default service.name). Click a bar to add that value to Where.
The side panel shows the type, the unit and whether a sum is monotonic. It also shows Datapoints in range, First seen, Last seen, how many services emit the metric, and each attribute key with its usage count.
Exemplars
An exemplar is one recorded observation linked to the trace and span that produced it. OpenTelemetry SDKs record exemplars on histograms and sums when a sampled span is active.
The Exemplars panel below the chart lists the traces recorded with the highest values in the time range, with Time, Value, Service and Trace. It shows the 10 highest. Click a row to open that trace with the span selected.
On a histogram or gauge, the line chart also draws a dot for the highest exemplar in each time bucket. Hover a dot for its value, service, time and trace, and click it to open the trace. Dots appear only when the line reads in the metric’s own unit, so not for sum, increase or count.
Histogram distributions
A histogram or exponential histogram has a Line and Distribution toggle above the chart. Distribution replaces the line with a heatmap of the histogram’s buckets:
- Time runs across, and value buckets run up, labelled by their upper bound (for example
≤ 250ms). - Each cell’s color is how many observations fell in that bucket in that time slot, on a log scale, so a few outliers stay visible next to the bulk of the traffic.
Click a cell to list the exemplars recorded in it in the Exemplars panel. Click Show all, or the cell again, to go back to every exemplar.
Save and share
- Add to dashboard adds the chart to an existing dashboard, or creates one with Create & add.
- Create alert opens a new alert rule with this query filled in.
- Copy link copies a URL that restores the aggregation, filter, grouping and step.
Saved views
The Views button keeps the page’s query and time range under a name. Click Views → Save view…, enter a Name, and tick Share with organization to let everyone in the organization open it. Only you can change a view you saved.
The metrics list and each metric’s page share one list of views. A view saved on a metric’s page opens that metric.
When you change an open view, the button shows Edited. The menu then offers Update view (your own views only), Save as new… and Discard changes. Rename, share or delete your own view from the same menu. Admins, and any role that can manage members, can also delete a shared view.
Query metrics from an assistant
The MCP server exposes the same data:
list_metrics: search metrics by name, service or type, with unit, monotonicity and volume.query_datawithsource=metrics: a time series or breakdown for one metric, with the same aggregations and grouping by service or attribute.
Troubleshooting
- “No metrics found”. No metric matched the search, type or time range. Clear the search and widen the range.
- “No data for this metric in the selected range”. The metric exists but had no data points in this window. Widen the range, or check that the emitting service is still running.
- A summary metric is missing. OTLP summaries are dropped at ingest. Export histograms instead.
- “Not enough datapoints for a preview”. The metric has too few data points in range to draw a sparkline. Open the metric to see its values.
- Rates look wrong.
rateandincreaseapply to monotonic cumulative sums. For a gauge, useavgormax.
Next steps
- Build dashboards: combine metric charts with trace and log queries.
- Prometheus scraping: pull metrics from exporters.
- Uptime monitoring: alert on HTTP check metrics from the OpenTelemetry Collector.
- Services: latency and error metrics derived from traces.