query-patterns
Installation
SKILL.md
Honeycomb Query Patterns
Opinionated guidance for writing effective Honeycomb queries. The MCP tools already document their parameters and schemas — this skill focuses on when and why to use each pattern, not how to call the tools.
Key Principles
- Never use AVG for latency — AVG hides tail latency. Use P99 (or P95/P90) to see what slow users experience. Reserve AVG for non-latency metrics like payload size.
- Use HEATMAP for distributions — Single-number aggregates hide bimodal patterns. HEATMAP reveals whether you have one population or two.
- Combine calculations in one query —
COUNT, P99(duration_ms), HEATMAP(duration_ms)in a single query reduces API calls and gives a complete picture. - Start broad, narrow with WHERE — Begin with a COUNT/GROUP BY to understand shape, then add filters to focus.
- Check for prior work — Call
find_queriesbefore writing new queries. Someone may have already answered the question.