list_metrics
List available metrics, one entry per (service, metric) pair — a metric emitted by three services returns three entries, each with that service's own type, unit, description, temporality, monotonicity, and last-seen timestamp.
Use this to discover what metrics exist, and which services emit them, before calling metrics. Each entry's singular "service" field names the emitting service; its "lastSeen" is that service's last-seen timestamp for the metric, so you can spot a service that has stopped emitting a metric it used to (dead-emitter detection) even while other services keep emitting it.
Params: service: optional — filter to entries for a specific service name. from / to: optional ISO-8601 window — restrict to entries seen within the range.
Returns: array of metric summaries, one per (service, metric) pair.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of window, ISO-8601 instant (exclusive) | |
| from | No | Start of window, ISO-8601 instant (inclusive) | |
| service | No | Filter to a specific service name |