metrics-queries
Installation
SKILL.md
Querying Metrics in Honeycomb
Metrics datasets in Honeycomb behave differently from tracing/event datasets. Operations that work on traces may fail or produce misleading results on metrics. This skill covers those differences so you construct correct, useful metrics queries.
Finding the Metrics Dataset
Metrics datasets are not identified by having "metrics" in their name. Many event
datasets contain "metrics" in their slug (e.g., kafka-metrics, refinery-metrics,
kubernetes-node-metrics). These are ordinary event datasets, not metrics datasets.
How to identify the real metrics dataset:
- Call
get_environmentand look for rows wheredataset_type=metrics. The slug is typicallymetricsbut may differ per environment. - Alternatively, call
get_dataset_columnson a candidate dataset — metrics datasets return aMetricInfocolumn showing type metadata likegauge,sum(cumulative,monotonic), orhistogram(delta). Event datasets do not have this.