Metrics are well suited to giving a picture of the general health of a host or resource. Honeycomb can consume and display metrics in addition to tracing and telemetry data.
These instructions will walk you through working with metric data in Honeycomb.
There are several ways to send metric data to Honeycomb. In general, we recommend that you send metric data to its own dataset.
You can query metrics just like any other data in Honeycomb. Metric resources and attributes are simply stored as fields and can be used in WHERE and GROUP BY clauses to plot specific timeseries. Learn more about writing queries for metrics data.
Because metric data arrives at known, regular intervals, you may find that your metrics graphs have a spiky appearance where after each metric, the line graph drops to zero before plotting the next point. Some people prefer a continuous line graph, without the drops to zero, because it is easier to identify trends in the data. There are two ways to achieve this continuous line graph:
Use the Correlations tab in Query Builder and compare your metric information based on a specific Board with your query results.
You gain tremendous insight when you view infrastructure metrics for your systems alongside query results from non-metrics datasets. For instance, a system running out of memory, CPU, or network resources might be the reason for an out-of-compliance SLO or an alerting trigger, and seeing the graph of the problem alongside graphs of relevant system resources could confirm or deny this kind of hypothesis.
Honeycomb stores metrics in events, and it combines as many metrics into a single event as possible. Every captured data point is stored as a value in an event whose timestamp represents the time of capture. All attributes that uniquely identify the metric’s timeseries are included on the event. Events that contain metrics are most effective (and cost-effective) when many data points for the same resource, same attributes, and same timestamp arrive together. Learn about factors that affect metrics event volume and how to manage it.