Enterprise Grafana Cloud
Last reviewed: August 12, 2026

Configure the Honeycomb data source

This document explains how to configure the Honeycomb data source for Grafana.

Before you begin

Before configuring the data source, ensure you have:

Key concepts

If you’re new to Honeycomb, these terms are used throughout the configuration:

TermDescription
TeamYour Honeycomb organization unit. The team name must match the team associated with your API key and is used for data links.
EnvironmentA Honeycomb environment within a team (for example, production or test). Optional for classic Honeycomb setups.
DatasetA collection of events in Honeycomb that you query from Grafana.
API keyA Honeycomb credential that authenticates Grafana to the Honeycomb API.
Time Window (days)The maximum number of days of historical data the data source allows when querying. Maps to jsonData.retentionLimit. Default is 7.

Get an API key from Honeycomb

Before configuring the data source, you need an API key from Honeycomb:

  1. Go to https://ui.honeycomb.io/account.
  2. Create a new API key or use an existing one.
  3. Copy your API key.

Required API key permissions

Your Honeycomb API key must have the following permissions enabled:

PermissionDescription
Manage Queries and ColumnsRequired to access dataset columns and metadata.
Run QueriesRequired to execute queries against your data.

Without these permissions, the data source connection test fails with a permissions error.

Add the Honeycomb data source

To install the plugin, refer to Install and upgrade the Honeycomb data source plugin. For general information on adding a data source, refer to Add a data source.

Complete the following steps to add a new Honeycomb data source:

  1. Click Connections in the left-side menu.
  2. Click Add new connection.
  3. Type Honeycomb in the search bar.
  4. Select the Honeycomb data source.
  5. Click Add new data source in the upper right.

Grafana takes you to the Settings tab, where you set up your Honeycomb configuration.

Honeycomb settings

Configure the following settings for your Honeycomb data source:

FieldDescription
NameA name for this particular Honeycomb data source.
Honeycomb API KeyAPI key from Honeycomb. Stored in secureJsonData.apiKey.
URLURL to the Honeycomb API. Default: https://api.honeycomb.io. Stored in jsonData.hostname.
Team NameThe Honeycomb team associated with the API key. Required. Stored in jsonData.team.
Environment NameHoneycomb environment name associated with the API key. Optional. Stored in jsonData.environment.

Advanced settings

FieldDescription
Time Window (days)The number of days of historical data the data source can query. Default is 7 due to Honeycomb API limitations. Stored in jsonData.retentionLimit.
Honeycomb data source configuration settings
Honeycomb data source configuration settings

Verify the connection

Click Save & test to verify the connection. When the test succeeds, Grafana shows a message similar to:

Data source is working. Team name: <TEAM_NAME>. Environment: <ENVIRONMENT_NAME>

The team and environment names come from the API key’s associated team and environment in Honeycomb. If the API key isn’t associated with an environment, such as on Honeycomb Classic, the environment value appears as -.

Configure with provisioning

You can configure the Honeycomb data source using configuration files with the Grafana provisioning system. To learn more about how the provisioning system works, including all of the data source settings, refer to Provisioning Grafana.

Example:

YAML
apiVersion: 1
datasources:
  - name: Honeycomb
    type: grafana-honeycomb-datasource
    jsonData:
      hostname: https://api.honeycomb.io
      team: <TEAM_NAME>
      environment: <ENVIRONMENT_NAME>
      retentionLimit: 7
    secureJsonData:
      apiKey: <API_KEY>

Configure with Terraform

You can configure the Honeycomb data source using the Grafana Terraform provider.

Example:

hcl
resource "grafana_data_source" "honeycomb" {
  type = "grafana-honeycomb-datasource"
  name = "Honeycomb"

  json_data_encoded = jsonencode({
    hostname       = "https://api.honeycomb.io"
    team           = "my-team"
    environment    = "production"
    retentionLimit = 7
  })

  secure_json_data_encoded = jsonencode({
    apiKey = var.honeycomb_api_key
  })
}

For more information about the Grafana Terraform provider, refer to the Grafana Terraform provider documentation.