> ## Documentation Index
> Fetch the complete documentation index at: https://docs.odigos.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Honeycomb

> Configuring the Honeycomb backend (Managed)

### Getting Started

<img src="https://d15jtxgb40qetw.cloudfront.net/honeycomb.svg" alt="honeycomb" className="not-prose h-20" />

**Where to find the data**

* Each Odigos destination send collected telemetry to a **single environment** in Honeycomb.
* The collected telemetry will go into Honeycomb [datasets](https://docs.honeycomb.io/configure/datasets/manage/) based on the `service.name` resource attribute. odigos will set it by default to the k8s workload (deployment) name (or as set in source configuration).

**Login to Honeycomb**<br />
Go to the **[🔗 website](https://ui.honeycomb.io)** and login/create your honeycomb account.
You can start with the Free plan to test sending traces, logs and metrics without needing to provide a credit card.

**Select Environment**<br />
Honeycomb uses [environments](https://docs.honeycomb.io/configure/environments/manage/) to partition and organize data.

Common environments includes `staging`, `production`, `development`, `integration`, or you might want to include the cluster/unit name
to group and isolate telemetry that is unrelated.

Each Odigos Honeycomb destination always sends the data to a **single environment**, based on the "API Key" it is configured with.
Before creating your API Key, make sure to select in ui the environment you want your odigos collected telemetry to show up in.

<Frame>
  <img src="https://mintcdn.com/odigos/pHE1teVWLrD8x6Wa/snippets/shared/backends/images/honeycombenv.png?fit=max&auto=format&n=pHE1teVWLrD8x6Wa&q=85&s=cd8f7b766c1d92d8fb4c18e103f29002" alt="API Keys settings page in Honeycomb" width="879" height="538" data-path="snippets/shared/backends/images/honeycombenv.png" />
</Frame>

**Obtaining Honeycomb API Key**

From the top left corner click on the ENVIRONMENT, and click the **Settings** configuration gear icon to go to the settings page.

<Frame>
  <img src="https://mintcdn.com/odigos/pHE1teVWLrD8x6Wa/snippets/shared/backends/images/honeycombenvsettings.png?fit=max&auto=format&n=pHE1teVWLrD8x6Wa&q=85&s=b072d71a4d9b1202eab8363962b80fb9" alt="API Keys settings page in Honeycomb" width="487" height="224" data-path="snippets/shared/backends/images/honeycombenvsettings.png" />
</Frame>

From the Settings page, click on the **API Keys** tab, make sure you are on "Ingest" sub-tab and click on the **Create Ingest API Key** blue button on the right.

<Frame>
  <img src="https://mintcdn.com/odigos/pHE1teVWLrD8x6Wa/snippets/shared/backends/images/honeycombcreateapikey.png?fit=max&auto=format&n=pHE1teVWLrD8x6Wa&q=85&s=bc15baaf1bada7ba22baf6d8114a9ba6" alt="API Keys settings page in Honeycomb" width="888" height="534" data-path="snippets/shared/backends/images/honeycombcreateapikey.png" />
</Frame>

Give your API Key a name (include "odigos" in the name to identify it easily later on), make sure the checkbox for "Can create services/datasets" is checked, and click the **Create** button on the modal bottom right.

<Frame>
  <img src="https://mintcdn.com/odigos/pHE1teVWLrD8x6Wa/snippets/shared/backends/images/honeycombcreateapikeymodal.png?fit=max&auto=format&n=pHE1teVWLrD8x6Wa&q=85&s=2edbf9646142a7956f985b8d367ea03b" alt="API Keys settings page in Honeycomb" width="887" height="409" data-path="snippets/shared/backends/images/honeycombcreateapikeymodal.png" />
</Frame>

Copy the ingest key to keyboard and paste it in your Honeycomb Odigos destination configuration (ui or kubernetes manifest).

### Configuring Destination Fields

<Accordion title="Supported Signals:">
  ✅ Traces
  ✅ Metrics
  ✅ Logs
  ❌ Profiles
</Accordion>

* **HONEYCOMB\_API\_KEY** `string` : API Key.
  * This field is required
* **HONEYCOMB\_ENDPOINT** `string` : Endpoint. Choose one of the endpoints in the dropdown (`api.honeycomb.io` is the US instance, `api.eu1.honeycomb.io` is EU instance)
  * This field is required

### Adding Destination to Odigos

There are two primary methods for configuring destinations in Odigos:

##### **Using the UI**

<Steps>
  <Step>
    Use the [Odigos CLI](https://docs.odigos.io/cli/odigos_ui) to access the UI

    ```bash theme={null}
    odigos ui
    ```
  </Step>

  <Step>
    Click on `Add Destination`, select `Honeycomb` and follow the on-screen instructions
  </Step>
</Steps>

##### **Using Kubernetes manifests**

<Steps>
  <Step>
    Save the YAML below to a file (e.g. `honeycomb.yaml`)

    ```yaml theme={null}
    apiVersion: odigos.io/v1alpha1
    kind: Destination
    metadata:
      name: honeycomb-example
      namespace: odigos-system
    spec:
      data:
        HONEYCOMB_ENDPOINT: '<Endpoint (options: [api.honeycomb.io, api.eu1.honeycomb.io])>'
      destinationName: honeycomb
      secretRef:
        name: honeycomb-secret
      signals:
      - TRACES
      - METRICS
      - LOGS
      type: honeycomb

    ---

    apiVersion: v1
    data:
      HONEYCOMB_API_KEY: <Base64 API Key>
    kind: Secret
    metadata:
      name: honeycomb-secret
      namespace: odigos-system
    type: Opaque
    ```
  </Step>

  <Step>
    Apply the YAML using `kubectl`

    ```bash theme={null}
    kubectl apply -f honeycomb.yaml
    ```
  </Step>
</Steps>
