Query Template Links | Honeycomb

We use cookies or similar technologies to personalize your online experience & tailor marketing to you. Many of our product features require cookies to function properly.

Read our privacy policy I accept cookies from this site

Query Template Links

Query Template Links allow you to define a query parameter in a Honeycomb URL. Loading this URL in your browser runs the specified query and displays the query results.

For example, select the following URL to load a P95(duration_ms) broken down by HTTP route query on our public “Analyze and Debug an Issue” tour:

https://play.honeycomb.io/sandbox/environments/analyze-debug-tour?query={"calculations":[{"op":"P95","column":"duration_ms"}],"breakdowns":["http.route"]}

Note: Embedding Query Template Links (or other Honeycomb pages) within an iframe is currently not supported.

To get a Query Template Link:

  1. Use the Query Builder in Honeycomb to construct a query.
  2. Select Share, located in the upper right corner of Query Builder, and then select Get Template Link. Query Template Link modal visible on top of ‘Get Query Template Link’ button in ‘Share’ menu
  3. A modal will appear with your Query Template Link. Use Copy link to copy the URL. Get Query Template Link modal with displayed Query Template URL and Copy Link button

The query Parameter 

The query parameter is a JSON string, optionally containing any of the keys described below. All fields are optional, but a query with no calculations values will have COUNT applied automatically.

For example, the query parameter syntax for a basic COUNT query with a filter may look like this:

?query={"calculations":[{"op":"COUNT"}],"filters":[{"column":"response_time_ms","op":">","value":500}]}

See Query Specification for details on defining a query via JSON and its use cases.

Did you find what you were looking for?