metric
Open the metric explorer for an OpenTelemetry metric from the search bar.
Use metric to open the explorer for an OpenTelemetry metric from your search bar. You can scope the series to one service.
Syntax
| metric <name> [service=<service>]| Argument | Description |
|---|---|
name | Required. The metric name, for example http.server.duration. Dotted names need no quotes. |
service | Optional. Show only that service's series. |
metric is a page marker, not a transform:
- It must be the last command in the query.
- It doesn't scan events. Any search terms before it are ignored, and the explorer loads its own data.
Examples
| metric http.server.duration
| metric http.server.duration service=checkout-api