Raw query support in Honeycomb data source
We’re excited to announce a powerful new feature for our Honeycomb data source: Raw Query support! This enhancement empowers you to leverage the complete capabilities of the Honeycomb API directly within Grafana, unlocking advanced querying. This feature includes full support for variable substitution and automatic handling of array filters (e.g. with IN and NOT IN operators), making it easier to work with multi-value variables.
What does this mean for you?
- Unrestricted Querying: Gain full access to all Honeycomb API operations, including complex filters, aggregations, transformations, breakdowns, and more.
- Deeper Insights: Craft highly specific and nuanced queries to extract the exact data you need, leading to more profound insights into your application performance and system behavior.
We’ve also introduced a new Variable Query Type. Traditionally, queries relied on the dataset slug, which is a transformed, lowercase version of the dataset name. However, since the slug and display name don’t always match, the dataset name can be just as valuable when building queries. To address this, we’ve added support for selecting datasets by either slug or name, giving users more flexibility and clarity when working with their data.
How to get started?
Simply select the “Raw Query” option from the query type dropdown in the Honeycomb query builder. A JSON text area will appear, allowing you to input your queries in the same format accepted by the Honeycomb API. For guidance on supported operations and syntax, refer to the official Honeycomb API documentation’s “create query” page.
To learn more, refer to the following video demo:
Raw Query requires you to enable the honeycombEnableRawQuery feature flag. If you are a Grafana Cloud customer, contact support to request access and let us know what you think!
