# API Changelog Source: https://docs.honeycomb.io/api-changelog # Assign Recipients in Bulk Source: https://docs.honeycomb.io/api/anomaly-detection/assign-recipients-in-bulk /api/openapi-public.yaml post /1/signals/recipient_assignments Use this endpoint to bulk add Recipients to many Signals in one call, rather than updating each Signal individually. Requires the **Manage Recipients** permission in addition to **Manage Signals**. # Get a Signal Source: https://docs.honeycomb.io/api/anomaly-detection/get-a-signal /api/openapi-public.yaml get /1/signals/{signalId} Fetch a Signal by ID, including the Recipients assigned to it. # List All Signals Source: https://docs.honeycomb.io/api/anomaly-detection/list-all-signals /api/openapi-public.yaml get /1/signals List Signals in the environment associated with your API key. Signals are returned in cursor-paginated pages and can be filtered by service, dataset, kind, status, and whether they are currently anomalous. # List Historical Anomalies Source: https://docs.honeycomb.io/api/anomaly-detection/list-historical-anomalies /api/openapi-public.yaml get /1/signals/{signalId}/historical_anomalies List anomalies that a Signal has resolved within a bounded time window. Anomalies are returned in cursor-paginated pages, most recent first. `start_time` and `end_time` are required and must span no more than 30 days. # Update a Signal Source: https://docs.honeycomb.io/api/anomaly-detection/update-a-signal /api/openapi-public.yaml put /1/signals/{signalId} Update a Signal by ID. All fields in the body are optional; only the fields you supply are applied. - `enabled`: Toggles the Signal on or off. Re-enabling a Signal that has already trained puts it back into `normal`; otherwise it returns to `onboarding`. - `sensitivity`: Sets how far a measurement must deviate from the trained normal band before the Signal fires. Not applicable to `presence` Signals, and cannot be set on a Signal that has not yet trained. - `recipients`: Replaces the Signal's Recipient set. An empty array clears all Recipients. Modifying Recipients requires the **Manage Recipients** permission in addition to **Manage Signals**. # List Authorizations Source: https://docs.honeycomb.io/api/auth/list-authorizations /api/openapi-public.yaml get /1/auth Returns metadata about the API Key used to call the API. Note: a Honeycomb Classic API key will return an empty string for both of the `environment` values. # List Authorizations V2 Source: https://docs.honeycomb.io/api/auth/list-authorizations-v2 /api/openapi-public.yaml get /2/auth Returns metadata about the Management API Key used to call the API. # Authentication Source: https://docs.honeycomb.io/api/authentication Authenticate Honeycomb API requests with API keys. Find out which key type each endpoint requires. All Honeycomb API requests require an API key. The type of key you use depends on what you're doing. ## Honeycomb Resource Hierarchy Honeycomb organizes resources hierarchically: Teams contain Environments, and Environments contain Datasets and other resources. API keys operate at different levels of this hierarchy, which determines what they can access. * **Environment-level keys** access a single Environment and its Datasets. These include Ingest and Configuration Keys. * **Team-level keys** access all Environments and Team settings. These are Management Keys. > [!NOTE] > > If you use Honeycomb Classic, your account doesn't have Environments. > Classic API keys operate at the Team level and access all your Classic Datasets directly. ## API Key Format On creation, every API key is assigned a Key ID, which is a label used to identify the Key in the Honeycomb UI. Key IDs include a prefix that identifies the key type: * `hc[x]ik_`: Ingest Key * `hc[x]lk_`: Configuration Key * `hc[x]mk_`: Management Key > [!NOTE] > > The character shown as `[x]` varies and is assigned at key creation. For Ingest and Management Keys, you will also have a Secret, which is a separate credential that combines with the Key ID to form the value you pass in API requests. Configuration Keys have a Token. You can retrieve the Token from the Honeycomb UI at any time. ## API Key Types Honeycomb has three types of API keys, each designed for a specific purpose and scope. | Key Type | Scope | Use | Header | Via the UI | Via the API | | - | - | - | - | - | - | | Ingest | Environment | Send telemetry data | `X-Honeycomb-Team` | **Ingest Key** | `data.id` + `data.attributes.secret` | | Configuration | Environment | Manage Environment resources | `X-Honeycomb-Team` | **Token** | `data.attributes.secret` | | Management | Team | Manage keys and Environments | `Authorization: Bearer` | **Key ID** + `:` + **Secret** | N/A | > [!NOTE] > > When creating an Ingest Key through the UI, Honeycomb returns the complete key value. > You only need to construct it from `data.id` and `data.attributes.secret` when using the [Create an API Key endpoint](/api/key-management/create-an-api-key). ### Ingest Keys Ingest Keys send data to Honeycomb. Pass an Ingest Key in the `X-Honeycomb-Team` header. The key value is the **Key ID** and **Secret** concatenated with no separator. If you created your key through the UI, Honeycomb provides the complete value as the **Ingest Key**. If you created it via the API, concatenate `data.id` and `data.attributes.secret` with no separator. ```http theme={} X-Honeycomb-Team: hc[x]ik_1234567890123456789012345612345678901234567890123456789012 ``` Ingest Keys can optionally be granted permission to create new Datasets automatically. > [!WARNING] > > If you created your Ingest Key through the UI, store the complete **Ingest Key** securely; Honeycomb displays the concatenated value only when you create the key. > If you created your Ingest Key via the API, store `data.attributes.secret` securely; Honeycomb returns it only upon creation. ### Configuration Keys Configuration Keys read and manage resources within a specific Environment, such as Datasets, queries, Boards, Triggers, and SLOs. Pass the **Token** in the `X-Honeycomb-Team` header. If you created your Configuration Key via the API, use `data.attributes.secret`; this is the same value as the **Token** in the UI. ```http theme={} X-Honeycomb-Team: 1234567890123456789012 ``` Each Configuration Key has a set of permissions that control which actions it can perform. You assign these permissions when you create or update the key. ### Management Keys Management Keys handle Team-level operations, including managing Environments and API keys. Pass a Management Key as a Bearer token in the `Authorization` header. Construct the key value by joining the **Key ID** and **Secret** with a colon (`:`). Management Keys can only be created through the UI. ```http theme={} Authorization: Bearer hc[x]mk_12345678901234567890123456:12345678901234567890123456789012 ``` > [!WARNING] > > Store the **Secret** securely when you create the key; Honeycomb returns it only upon creation. ## Validating a Key Use the [Auth endpoint](/api/auth/list-authorizations) to confirm which key you are using, check its permissions, and identify the Team and Environment it belongs to. > [!NOTE] > > If you use Honeycomb Classic, the `environment.name` and `environment.slug` fields in the [Auth endpoint](/api/auth) response will return empty strings. > This is expected behavior. ## Managing API Keys To create, update, or revoke keys, navigate to **Account** > **Team Settings** > **API Keys** in Honeycomb, or use the [Key Management API](/api/key-management). For best practices, including rotation and least-privilege recommendations, see [API Key Best Practices](/get-started/best-practices/api-keys/). # Create a Board Source: https://docs.honeycomb.io/api/boards/create-a-board /api/openapi-public.yaml post /1/boards Create a Board comprised of one or more Panels (Query, SLO, or Text). **Note**: Each board is limited to a maximum of 5 preset filters. # Create a Board View Source: https://docs.honeycomb.io/api/boards/create-a-board-view /api/openapi-public.yaml post /1/boards/{boardId}/views Create a new view for a board with the specified filters. **Note**: Each board is limited to a maximum of 50 views. Attempting to create more than 50 views will result in an error. # Delete a Board Source: https://docs.honeycomb.io/api/boards/delete-a-board /api/openapi-public.yaml delete /1/boards/{boardId} Delete a public Board by specifying its ID. # Delete a Board View Source: https://docs.honeycomb.io/api/boards/delete-a-board-view /api/openapi-public.yaml delete /1/boards/{boardId}/views/{viewId} Delete a Board View by specifying its ID. # Get a Board Source: https://docs.honeycomb.io/api/boards/get-a-board /api/openapi-public.yaml get /1/boards/{boardId} Get a single Board by ID. # Get a Board View Source: https://docs.honeycomb.io/api/boards/get-a-board-view /api/openapi-public.yaml get /1/boards/{boardId}/views/{viewId} Retrieve a single Board View by ID. # List All Boards Source: https://docs.honeycomb.io/api/boards/list-all-boards /api/openapi-public.yaml get /1/boards Retrieves a list of all non-secret Boards within an environment. **Note**: For Honeycomb Classic users, all boards within Classic will be returned. # List Board Views Source: https://docs.honeycomb.io/api/boards/list-board-views /api/openapi-public.yaml get /1/boards/{boardId}/views Retrieve a list of all views for a board. **Note**: Each board is limited to a maximum of 50 views. # Update a Board Source: https://docs.honeycomb.io/api/boards/update-a-board /api/openapi-public.yaml put /1/boards/{boardId} Update a Board by specifying its ID and full details. **Note**: Queries can be added to, removed from, and re-ordered by updating the board itself. It is not possible to reference individual queries via the API. **Note**: Each board is limited to a maximum of 5 preset filters. Attempting to update a board with more than 5 preset filters will result in an error. # Update a Board View Source: https://docs.honeycomb.io/api/boards/update-a-board-view /api/openapi-public.yaml put /1/boards/{boardId}/views/{viewId} Update a Board View by specifying its ID and full details. # Create a Burn Alert Source: https://docs.honeycomb.io/api/burn-alerts/create-a-burn-alert /api/openapi-public.yaml post /1/burn_alerts/{datasetSlug} Create a Burn Alert against a specified SLO. # Delete a Burn Alert Source: https://docs.honeycomb.io/api/burn-alerts/delete-a-burn-alert /api/openapi-public.yaml delete /1/burn_alerts/{datasetSlug}/{burnAlertId} Delete a Burn Alert by specifying its ID. # Get a Burn Alert Source: https://docs.honeycomb.io/api/burn-alerts/get-a-burn-alert /api/openapi-public.yaml get /1/burn_alerts/{datasetSlug}/{burnAlertId} Get a single Burn Alert by ID. # List All Burn Alerts for an SLO Source: https://docs.honeycomb.io/api/burn-alerts/list-all-burn-alerts-for-an-slo /api/openapi-public.yaml get /1/burn_alerts/{datasetSlug} Get all burn alerts associated with the SLO specified in the `slo_id` query param. It is not currently possible to retrieve all burn alerts for a dataset, environment, or team. # Update a Burn Alert Source: https://docs.honeycomb.io/api/burn-alerts/update-a-burn-alert /api/openapi-public.yaml put /1/burn_alerts/{datasetSlug}/{burnAlertId} Update a Burn Alert by specifying its ID and full details. # Create a Calculated Field Source: https://docs.honeycomb.io/api/calculated-fields/create-a-calculated-field /api/openapi-public.yaml post /1/derived_columns/{datasetSlug} Create a Calculated Field (also called a Derived Column). Calculated Fields allow you to run queries based on the value of an expression that is calculated from the fields in an event. # Delete a Calculated Field Source: https://docs.honeycomb.io/api/calculated-fields/delete-a-calculated-field /api/openapi-public.yaml delete /1/derived_columns/{datasetSlug}/{derivedColumnId} Delete a Calculated Field (also called a Derived Column). **Note**: A Calculated Field used by a SLO, Trigger, or Board cannot be deleted without removing or modifying the SLO, Trigger, or Board first. # Get a Calculated Field Source: https://docs.honeycomb.io/api/calculated-fields/get-a-calculated-field /api/openapi-public.yaml get /1/derived_columns/{datasetSlug}/{derivedColumnId} # List all Calculated Fields Source: https://docs.honeycomb.io/api/calculated-fields/list-all-calculated-fields /api/openapi-public.yaml get /1/derived_columns/{datasetSlug} Get all the Calculated Fields (also called Derived Columns) in a dataset or environment. With the `?alias=X` query parameter, can return a single Calculated Field by its `alias`. # Update a Calculated Field Source: https://docs.honeycomb.io/api/calculated-fields/update-a-calculated-field /api/openapi-public.yaml put /1/derived_columns/{datasetSlug}/{derivedColumnId} Update a Calculated Field (also called a Derived Column). # Create a Column Source: https://docs.honeycomb.io/api/columns/create-a-column /api/openapi-public.yaml post /1/columns/{datasetSlug} Create a column by providing corresponding details for that type. # Delete a Column Source: https://docs.honeycomb.io/api/columns/delete-a-column /api/openapi-public.yaml delete /1/columns/{datasetSlug}/{columnId} Delete a column. **Note**: Deleted columns are no longer queryable, but data in existing permalinks (query results and trace views) will remain stored and available at those links. # Get a Column Source: https://docs.honeycomb.io/api/columns/get-a-column /api/openapi-public.yaml get /1/columns/{datasetSlug}/{columnId} # List all Columns Source: https://docs.honeycomb.io/api/columns/list-all-columns /api/openapi-public.yaml get /1/columns/{datasetSlug} Get all the Columns in a dataset or environment. Use `__all__` as the dataset slug to retrieve all Columns across all datasets in the environment (not available for classic environments). # Update a Column Source: https://docs.honeycomb.io/api/columns/update-a-column /api/openapi-public.yaml put /1/columns/{datasetSlug}/{columnId} Update a column # Get all Dataset Definitions Source: https://docs.honeycomb.io/api/dataset-definitions/get-all-dataset-definitions /api/openapi-public.yaml get /1/dataset_definitions/{datasetSlug} Get all definitions for a Dataset. The response returns an object with a Dataset Definition for each set Dataset Definition type. # Set or Update Dataset Definitions Source: https://docs.honeycomb.io/api/dataset-definitions/set-or-update-dataset-definitions /api/openapi-public.yaml patch /1/dataset_definitions/{datasetSlug} Set or update one or more definitions for a Dataset. **Note**: While the PATCH payload can include the `column_type`, Honeycomb does not use this field when updating Dataset Definitions. # Create a Dataset Source: https://docs.honeycomb.io/api/datasets/create-a-dataset /api/openapi-public.yaml post /1/datasets Create a Dataset in the environment associated with your API key. If a Dataset already exists by that name (or slug), then the existing dataset will be returned. # Delete a Dataset Source: https://docs.honeycomb.io/api/datasets/delete-a-dataset /api/openapi-public.yaml delete /1/datasets/{datasetSlug} Deletes the Dataset. This is an irreversible operation. It may take several minutes for the deletion process to complete. **WARNING**: This endpoint will allow anyone with an API key that has the manage dataset permission to delete any dataset in the environment (or any dataset in the whole team for Classic customers). Datasets with Deletion Protection enabled cannot be deleted. To delete a Dataset with Deletion Protection enabled, first disable Deletion Protection by updating the Dataset with `settings.delete_protected = false`. # Get a Dataset Source: https://docs.honeycomb.io/api/datasets/get-a-dataset /api/openapi-public.yaml get /1/datasets/{datasetSlug} Get a single Dataset by slug. # List All Datasets Source: https://docs.honeycomb.io/api/datasets/list-all-datasets /api/openapi-public.yaml get /1/datasets Lists all Datasets for an environment. **Note**: For Honeycomb Classic users, all datasets in Classic are returned. # Update a Dataset Source: https://docs.honeycomb.io/api/datasets/update-a-dataset /api/openapi-public.yaml put /1/datasets/{datasetSlug} Update a Dataset's settings. # Create an Environment Source: https://docs.honeycomb.io/api/environments/create-an-environment /api/openapi-public.yaml post /2/teams/{teamSlug}/environments # Delete an Environment Source: https://docs.honeycomb.io/api/environments/delete-an-environment /api/openapi-public.yaml delete /2/teams/{teamSlug}/environments/{ID} This deletes and immediately deactivates the Environment. This is an irreversible operation. Environments with Deletion Protection enabled cannot be deleted. To delete an Environment with Deletion Protection enabled, first disable Deletion Protection by updating the Environment with `settings.delete_protected = false`. # Get an Environment Source: https://docs.honeycomb.io/api/environments/get-an-environment /api/openapi-public.yaml get /2/teams/{teamSlug}/environments/{ID} # List all Environments Source: https://docs.honeycomb.io/api/environments/list-all-environments /api/openapi-public.yaml get /2/teams/{teamSlug}/environments # Update an Environment Source: https://docs.honeycomb.io/api/environments/update-an-environment /api/openapi-public.yaml patch /2/teams/{teamSlug}/environments/{ID} # Errors Source: https://docs.honeycomb.io/api/errors Handle Honeycomb API errors using standard HTTP status codes and structured error responses. The Honeycomb API uses standard HTTP status codes and returns structured error responses that describe what went wrong. The response format depends on which API version the endpoint uses. ## Error Response Formats Honeycomb uses two error formats depending on the API version. > [tab] V1 Endpoints > > V1 endpoints return errors in RFC7807 Problem Detail format: > > ```json theme={} > { > "status": 404, > "type": "https://api.honeycomb.io/problems/not-found", > "title": "The requested resource cannot be found.", > "error": "Dataset not found", > "detail": "Dataset not found" > } > ``` > > | Field | Description | > | - | - | > | `status` | HTTP status code. | > | `type` | URI that identifies the error type. | > | `title` | Human-readable summary of the error type. | > | `error` | Description of the error. | > | `detail` | Additional detail about this specific error instance. | > > > [!NOTE] > > > > Some V1 endpoints return a simpler legacy format with only an `error` field: > > > > ```json theme={} > > { "error": "unknown API key - check your credentials" } > > ``` > [tab] V2 Endpoints > > V2 endpoints return errors in JSON:API format: > > ```json theme={} > { > "errors": [ > { > "id": "06dcdd6508ca822f0e7e2bb4121c1f52", > "code": "invalid", > "title": "request body could not be parsed", > "detail": "invalid gzip data" > } > ] > } > ``` > > | Field | Description | > | - | - | > | `id` | A unique identifier for this error instance. | > | `code` | A machine-readable error code. | > | `title` | A human-readable summary of the error. | > | `detail` | Additional detail about this specific error instance. | ## HTTP Status Codes | Status | Name | Description | | - | - | - | | `400` | Bad Request | The request body could not be parsed or is invalid. Check the request format and content type. | | `401` | Unauthorized | The API key is missing or invalid. Check your credentials. | | `403` | Forbidden | The API key does not have permission for this operation. Check the key's permissions or scopes. | | `404` | Not Found | The requested resource does not exist. Check the resource identifier in your request. | | `409` | Conflict | The request conflicts with the current state of the resource, such as a duplicate name. | | `413` | Payload Too Large | The request body exceeds the maximum allowed size of 100,000 bytes. | | `415` | Unsupported Media Type | The `Content-Type` header does not match what the endpoint expects. Check the [content type](/api/introduction#content-types) for this endpoint. | | `422` | Validation Failed | The request was valid but contained invalid values. The response body includes details about which fields failed validation. | | `429` | Rate Limited | You have exceeded the rate limit. For details, visit [Rate Limits](/api/rate-limit). | | `500` | Internal Server Error | An unexpected error occurred on Honeycomb's side. If this persists, contact [Honeycomb Support](https://support.honeycomb.io/). | ## Validation Errors `422` responses include a `type_detail` array that identifies which fields failed and why: ```json theme={} { "status": 422, "type": "https://api.honeycomb.io/problems/validation-failed", "title": "The provided input is invalid.", "error": "The provided input is invalid.", "type_detail": [ { "field": "type", "code": "invalid", "description": "type: must be a valid value" } ] } ``` | Validation code | Meaning | | - | - | | `invalid` | The field value is not acceptable. | | `missing` | A required field was not provided. | | `incorrect_type` | The field value is the wrong data type. | | `already_exists` | The value conflicts with an existing resource. | # Create an Event Source: https://docs.honeycomb.io/api/events/create-an-event /api/openapi-public.yaml post /1/events/{datasetSlug} Using this endpoint for anything more than testing is highly discouraged. Sending events in batches will be much more efficient and should be preferred if at all possible. # Create Events Source: https://docs.honeycomb.io/api/events/create-events /api/openapi-public.yaml post /1/batch/{datasetSlug} Supports batch creation of events. Dataset names are case insensitive. `POST` requests to "MyDatasET" will land in the same dataset as "mydataset". Names may contain URL-encoded spaces or other special characters, but not URL-encoded slashes. For example, "My%20Dataset" will show up in the UI as "My Dataset". The first event received for a dataset determines the casing of the displayed name. All subsequent variations in casing will use the originally specified case. # Honeycomb API Reference Source: https://docs.honeycomb.io/api/introduction Build integrations and automate workflows with the Honeycomb API. Programmatically manage datasets, queries, triggers, SLOs, environments, API keys, and more. ## Overview The Honeycomb API gives you programmatic access to manage resources, automate workflows, and integrate Honeycomb into your systems. Use it to manage datasets, queries, triggers, SLOs, environments, API keys, and more. > [!NOTE] > > You can [download the Honeycomb OpenAPI spec](/api/openapi-public.yaml) to use with your own tooling. ## Base URLs Honeycomb stores your data in either a US or EU region, depending on the region you sign up in. | Data Storage Region | Base API URL | Base UI/Signup URL | | - | - | - | | US | `https://api.honeycomb.io` | `https://ui.honeycomb.io` | | EU | `https://api.eu1.honeycomb.io` | `https://ui.eu1.honeycomb.io` | Use the base URL that matches your account region for all requests. ## API Versions Honeycomb's API uses versioned path prefixes. The version appears at the start of every endpoint path. | Version | Path prefix | Used for | | - | - | - | | V1 | `/1/` | Event ingestion, queries, Datasets, and other resources | | V2 | `/2/` | Team-level management: Environments, API keys, and markers | ## Content Types The content type you use depends on the API version. | Version | Request content type | Response content type | | - | - | - | | V1 | `application/json` | `application/json` | | V2 | `application/vnd.api+json` | `application/vnd.api+json` | Set the `Content-Type` header to match the endpoint you are calling. Sending the wrong content type returns a `415 Unsupported Media Type` error. ## Support Found a discrepancy between this documentation and actual API behavior? Let us know in [Pollinators Slack](/troubleshoot/community/) or contact [Honeycomb Support](https://support.honeycomb.io/). # Create an API Key Source: https://docs.honeycomb.io/api/key-management/create-an-api-key /api/openapi-public.yaml post /2/teams/{teamSlug}/api-keys This creates an API Key, which will return the API Key components in the response. The Key ID will be found at `data.id` and the Key Secret will be found at `data.attributes.secret`. For security reasons the Key Secret will only be available during creation so make sure to save it. To use a newly-created Ingest Key it should be passed in the `X-Honeycomb-Team` header with the API Key's ID and secret concatenated (and with no separator). For example, `X-Honeycomb-Team: hcxik_1234567890123456789012345612345678901234567890123456789012` Check out our [best practices for API Keys](https://docs.honeycomb.io/get-started/best-practices/api-keys/#ingest-keys). # Delete an API Key Source: https://docs.honeycomb.io/api/key-management/delete-an-api-key /api/openapi-public.yaml delete /2/teams/{teamSlug}/api-keys/{ID} This deletes and immediately deactivates the API Key. This is an irreversible operation. # Get an API Key Source: https://docs.honeycomb.io/api/key-management/get-an-api-key /api/openapi-public.yaml get /2/teams/{teamSlug}/api-keys/{ID} Fetches an environment API Key, either a key of type `ingest` or type `configuration` based on the ID given. # List all API Keys Source: https://docs.honeycomb.io/api/key-management/list-all-api-keys /api/openapi-public.yaml get /2/teams/{teamSlug}/api-keys List all API Keys for a Team. # Update an API Key Source: https://docs.honeycomb.io/api/key-management/update-an-api-key /api/openapi-public.yaml patch /2/teams/{teamSlug}/api-keys/{ID} Updates an API Key. The expected attributes depend on the key type: - **Ingest Keys** (prefix `hcxik_`): Support `name` and `enabled` attributes - **Configuration Keys** (prefix `hcxlk_`): Support `name`, `enabled`, and `permissions` attributes # Create Kinesis Events Source: https://docs.honeycomb.io/api/kinesis-events/create-kinesis-events /api/openapi-public.yaml post /1/kinesis_events/{datasetSlug} This endpoint processes events and metrics coming from AWS through Kinesis Firehose. # Create a Marker Setting Source: https://docs.honeycomb.io/api/marker-settings/create-a-marker-setting /api/openapi-public.yaml post /1/marker_settings/{datasetSlug} # Delete a Marker Setting Source: https://docs.honeycomb.io/api/marker-settings/delete-a-marker-setting /api/openapi-public.yaml delete /1/marker_settings/{datasetSlug}/{markerSettingId} # Get a Marker Setting Source: https://docs.honeycomb.io/api/marker-settings/get-a-marker-setting /api/openapi-public.yaml get /1/marker_settings/{datasetSlug} # Update a Marker Setting Source: https://docs.honeycomb.io/api/marker-settings/update-a-marker-setting /api/openapi-public.yaml put /1/marker_settings/{datasetSlug}/{markerSettingId} A marker setting's `type` may not be changed after creation. # Create a Marker Source: https://docs.honeycomb.io/api/markers/create-a-marker /api/openapi-public.yaml post /1/markers/{datasetSlug} Create a Marker in the specified dataset. To create an environment marker, use the `__all__` keyword and an API key associated with the desired environment. # Delete a Marker Source: https://docs.honeycomb.io/api/markers/delete-a-marker /api/openapi-public.yaml delete /1/markers/{datasetSlug}/{markerId} # List All Markers Source: https://docs.honeycomb.io/api/markers/list-all-markers /api/openapi-public.yaml get /1/markers/{datasetSlug} Lists all Markers for a dataset. # Update a Marker Source: https://docs.honeycomb.io/api/markers/update-a-marker /api/openapi-public.yaml put /1/markers/{datasetSlug}/{markerId} Update a Marker in the specified dataset. To update an environment marker, use the `__all__` keyword and an API key associated with the desired environment. # Pagination Source: https://docs.honeycomb.io/api/pagination Navigate paginated Honeycomb API responses using cursor-based pagination. V2 endpoints that return lists use cursor-based pagination. This approach is more reliable than offset pagination for large or frequently changing datasets, since a cursor tracks your exact position in the result set. ## Parameters Include these query parameters to page through results: | Parameter | Description | | - | - | | `page[size]` | Number of results per page. Default: `20`. Maximum: `100`. | | `page[after]` | Cursor pointing to the start of the next page. Omit this parameter on your first request. | ## How It Works When a response includes more results than fit on a single page, the response includes a `links.next` value containing a cursor. Pass the cursor from that value as `page[after]` in your next request. 1. Make your first request: ``` GET /2/teams/{teamSlug}/api-keys?page[size]=20 ``` 2. Check the response for `links.next`: ```json theme={} { "links": { "next": "/2/teams/my-team/api-keys?page[after]=eyxJjcmAVhdGVkX&page[size]=20" } } ``` 3. Pass the cursor from `links.next` as `page[after]` in your next request: ``` GET /2/teams/{teamSlug}/api-keys?page[after]=eyxJjcmAVhdGVkX&page[size]=20 ``` 4. Repeat until `links.next` is `null`, which indicates that you have reached the last page. ## Working with Cursors * Cursors are opaque strings. Treat them as values to pass through, not as values to parse or construct. * Cursors are not guaranteed to be stable across sessions. Retrieve a fresh cursor for each pagination sequence. ## Paginated Endpoints The following V2 endpoints support pagination: * [Get Map Dependencies](/api/service-maps/get-map-dependencies) * [List all API Keys](/api/key-management/list-all-api-keys) * [List all Environments](/api/environments/list-all-environments) # Permissions Source: https://docs.honeycomb.io/api/permissions Reference for required API key types and permission scopes for each Honeycomb API endpoint group > [!NOTE] > > This page is a temporary reference while per-endpoint permission requirements are added > to the individual endpoint pages. It will be removed once that work is complete. Each Honeycomb API endpoint requires a specific key type and permission or scope. Use this page to confirm what your key needs before making a request. For help choosing a key type or setting up authentication, see [Authentication](/api/authentication). ## Configuration Key Permissions These endpoints require a **Configuration Key** passed in the `X-Honeycomb-Team` header. Each endpoint group requires a specific permission assigned to the key. | Endpoint Group | Required Permission | Notes | | - | - | - | | Auth (V1) | Any valid Ingest or Configuration Key | No specific permission required. | | Boards and Board Views | Manage Public Boards | | | Burn Alerts | Manage SLOs | | | Calculated Fields | Manage Queries and Columns | | | Columns | Manage Queries and Columns | | | Dataset Definitions | Create Datasets | | | Datasets | Create Datasets | | | Events | Send Events | Ingest Key recommended. Configuration Key with Send Events permission also works. | | Kinesis Events | Send Events | Ingest Key recommended. Configuration Key with Send Events permission also works. | | Markers and Marker Settings | Manage Markers | | | Queries | Manage Queries and Columns | | | Query Annotations | Manage Queries and Columns | | | Query Data | Manage Queries and Columns, Run Queries | Both permissions required. | | Recipients | Manage Recipients | Recipients are team-wide, not Environment-specific. A key with this permission can modify recipients across all Environments in your Team. | | Reporting | Manage SLOs | | | Service Maps | Read Service Maps | | | SLOs | Manage SLOs | | | Triggers | Manage Triggers | | ## Management Key Scopes These endpoints require a **Management Key** passed as a Bearer token in the `Authorization` header. Each endpoint requires a specific scope assigned to the key. | Endpoint Group | Required Scope | Notes | | - | - | - | | Auth (V2) | Any valid Management Key | | | Environments | `environments:read` (read operations), `environments:write` (create, update, delete) | | | Key Management | `api-keys:read` (read operations), `api-keys:write` (create, update, delete) | Supports both Ingest Keys and Config Keys. | # Create a Query Source: https://docs.honeycomb.io/api/queries/create-a-query /api/openapi-public.yaml post /1/queries/{datasetSlug} Create a query from a specification. DOES NOT run the query to retrieve results. # Get a Query Source: https://docs.honeycomb.io/api/queries/get-a-query /api/openapi-public.yaml get /1/queries/{datasetSlug}/{queryId} Retrieve a query by its ID. # Create a Query Annotation Source: https://docs.honeycomb.io/api/query-annotations/create-a-query-annotation /api/openapi-public.yaml post /1/query_annotations/{datasetSlug} Create a Query Annotation for the specified query ID. # Delete a Query Annotation Source: https://docs.honeycomb.io/api/query-annotations/delete-a-query-annotation /api/openapi-public.yaml delete /1/query_annotations/{datasetSlug}/{queryAnnotationId} Delete a Query Annotation by specifying its ID. # Get a Query Annotation Source: https://docs.honeycomb.io/api/query-annotations/get-a-query-annotation /api/openapi-public.yaml get /1/query_annotations/{datasetSlug}/{queryAnnotationId} Get a Query Annotation by its ID. # List Query Annotations Source: https://docs.honeycomb.io/api/query-annotations/list-query-annotations /api/openapi-public.yaml get /1/query_annotations/{datasetSlug} List all Query Annotations in the specified dataset. # Update a Query Annotation Source: https://docs.honeycomb.io/api/query-annotations/update-a-query-annotation /api/openapi-public.yaml put /1/query_annotations/{datasetSlug}/{queryAnnotationId} Update a Query Annotation by specifying its ID. The Query ID associated with the Query Annotation cannot be updated. Partial updates are not supported. # Create a Query Result Source: https://docs.honeycomb.io/api/query-data/create-a-query-result /api/openapi-public.yaml post /1/query_results/{datasetSlug} Kick off processing of a Query to then get back the Query Results. Once the Query Result has been created, the query will be run asynchronously, allowing the result data to be fetched from the GET query result endpoint. A maximum duration of 7 days of data can be queried. Any queries with a `start_time`, `end_time`, or `time_range` resulting in a duration longer than 7 days will result in a `400` error response. # Get Query Result Source: https://docs.honeycomb.io/api/query-data/get-query-result /api/openapi-public.yaml get /1/query_results/{datasetSlug}/{queryResultId} Get the Query Result details for a specific Query Result ID. This endpoint is used to fetch the results of a query that had previously been created. It is recommended to follow the Location header included in the Create Query Result output, but the URL can also be constructed manually with the <query-result-id>. Note: a query that fails to run still returns HTTP 200. Check the response body: a failed query has "complete": true with an "error" field in place of "data". # Rate Limits Source: https://docs.honeycomb.io/api/rate-limit Find out how Honeycomb API rate limits work, which response headers tell you your current usage, and how to handle 429 rate-limited errors. The Honeycomb API enforces rate limits to keep the platform stable and responsive for all users. Most API responses include headers that tell you where you stand in your current window, so you can monitor usage proactively and handle limits gracefully. ## Rate Limit Headers Most API responses include these headers: | Header | Description | | - | - | | `RateLimit` | Current window status: `limit=X, remaining=Y, reset=Z`. `X` is the maximum requests allowed in the window, `Y` is the requests remaining, and `Z` is the number of seconds until the limit resets. | | `RateLimit-Policy` | Window policy: `X;w=Y`. `X` is the maximum requests per window, and `Y` is the window size in seconds. | Example: Rate Limit Header ``` RateLimit: limit=100, remaining=80, reset=54 RateLimit-Policy: 100;w=60 ``` In this example, your rate limit policy allows 100 requests per 60-second window. In the current window, you have used 20 requests and have 80 remaining, with the window resetting in 54 seconds. > [!NOTE] > > Not all endpoints return `RateLimit` and `RateLimit-Policy` headers. > Each endpoint's reference page indicates which headers are included in its responses. ## Handling Rate Limit Errors When you exceed the rate limit, the API returns a `429 Too Many Requests` response. Honeycomb uses two response body formats depending on the API version. > [tab] V1 Endpoints > > V1 endpoints return an RFC7807 Problem Detail format: > > ```json theme={} > { > "status": 429, > "type": "https://api.honeycomb.io/problems/rate-limited", > "title": "You have exceeded your rate limit.", > "error": "You have exceeded your rate limit.", > "detail": "Please try again after 2025-02-01T15:23:12Z." > } > ``` > [tab] V2 Endpoints > > V2 endpoints return a JSON:API format: > > ```json theme={} > { > "errors": [ > { > "id": "06dcdd6508ca822f0e7e2bb4121c1f52", > "code": "rate-limited/may-retry", > "title": "request rate limit exceeded", > "detail": "Please try again after 2025-02-01T15:23:12Z." > } > ] > } > ``` Most `429` responses also include a `Retry-After` header with a timestamp indicating when you can retry: ``` Retry-After: Fri, 22 Mar 2024 18:37:53 GMT ``` > [!NOTE] > > The Events, Batch Events, and Query Data APIs do not include a `Retry-After` header in their `429` responses. ## Endpoint-Specific Rate Limits Some endpoints have stricter limits in addition to the general API rate limit: * **Create Query Result**: Limited to 10 requests per minute. * **Create Query Result with Relational Fields**: Limited to 1 request per minute. ## Best Practices * Check `RateLimit: remaining` in your response headers before making additional requests, especially in automated workflows or scripts. * When you receive a `429`, implement exponential backoff rather than retrying immediately. Exponential backoff reduces pressure on the API and increases the likelihood that your retry succeeds. * Use the `Retry-After` timestamp to determine when to retry, rather than guessing or using a fixed delay. # Create a Recipient Source: https://docs.honeycomb.io/api/recipients/create-a-recipient /api/openapi-public.yaml post /1/recipients Unlike many resources, Recipients are not linked to a specific Environment or Dataset. The Recipient will be created for the Team associated with your API key. The `details` fields will vary depending on the `type` of Recipient. Use the drop-down to view the specific fields for each `type` value. Before Slack Recipients can be created, the Slack OAuth flow in the Integration Center must be completed. # Delete a Recipient Source: https://docs.honeycomb.io/api/recipients/delete-a-recipient /api/openapi-public.yaml delete /1/recipients/{recipientId} Delete a recipient by specifying the recipient ID. A Recipient can only be deleted if it is NOT in use by any Triggers or Burn Alerts associated to the team. # Get a single Recipient Source: https://docs.honeycomb.io/api/recipients/get-a-single-recipient /api/openapi-public.yaml get /1/recipients/{recipientId} Retrieve a Recipient by recipient ID. # List all Recipients Source: https://docs.honeycomb.io/api/recipients/list-all-recipients /api/openapi-public.yaml get /1/recipients Retrieve all recipients for a team. # Update a Recipient Source: https://docs.honeycomb.io/api/recipients/update-a-recipient /api/openapi-public.yaml put /1/recipients/{recipientId} Update a Recipient by specifying the recipient ID and full recipient details. (Partial PUT is not supported.) Updates to the Recipient Type is not supported. For example, changing an existing Recipient from PagerDuty to Email is not allowed. **Important**: Modifying an existing recipient will change the destination of all triggers/burn alerts that use that recipient. # Get SLO History Source: https://docs.honeycomb.io/api/reporting/get-slo-history /api/openapi-public.yaml post /1/reporting/slos/historical Get a weekly breakdown of historical data for a list of SLOs for a given time range. # Create a Map Dependency Request Source: https://docs.honeycomb.io/api/service-maps/create-a-map-dependency-request /api/openapi-public.yaml post /1/maps/dependencies/requests Create a Map Dependency Request. # Get Map Dependencies Source: https://docs.honeycomb.io/api/service-maps/get-map-dependencies /api/openapi-public.yaml get /1/maps/dependencies/requests/{requestId} Get the dependencies for a previously created Map Dependencies Request. Note: This endpoint returns a single page of results and uses pagination. Even if you specified a large limit in the initial POST request, you will receive up to the page size limit per request and must use the pagination links to retrieve additional results. # Create an SLO Source: https://docs.honeycomb.io/api/slos/create-an-slo /api/openapi-public.yaml post /1/slos/{datasetSlug} Create an SLO on the provided dataset. # Delete an SLO Source: https://docs.honeycomb.io/api/slos/delete-an-slo /api/openapi-public.yaml delete /1/slos/{datasetSlug}/{sloId} Delete an SLO by specifying its ID. # Get all SLOs Source: https://docs.honeycomb.io/api/slos/get-all-slos /api/openapi-public.yaml get /1/slos/{datasetSlug} Get all SLOs for a dataset or environment (using `__all__`). This action returns any SLOs, including those applied with multiple datasets. # Get an SLO Source: https://docs.honeycomb.io/api/slos/get-an-slo /api/openapi-public.yaml get /1/slos/{datasetSlug}/{sloId} Get an SLO by ID. # Get SLO Hourly Counts History Source: https://docs.honeycomb.io/api/slos/get-slo-hourly-counts-history /api/openapi-public.yaml get /1/slos/{datasetSlug}/{sloId}/counts/history Get hourly-bucketed total and error event counts for an SLO from the persistent historical store. Use this endpoint to retrieve completed historical hours; pair with the [Get SLO Realtime Counts endpoint](/api/slos/get-slo-realtime-counts) for the current in-progress hour. **Requirements:** - Available on the [Enterprise plan](https://www.honeycomb.io/pricing/) only. - This feature must be enabled for your team. Contact your account team to request access. **Partial buckets:** The most recent bucket may be marked `is_partial: true` if it covers the current in-progress hour. Counts for that bucket will increase until the hour completes. **Budget resets:** This endpoint returns raw counts that don't account for [budget resets](/reference/honeycomb-ui/slos/slo-detail-view#reset-your-remaining-slo-budget), so failures from before a reset still appear in the counts. For reporting data that reflects budget resets, use the [Get an SLO endpoint](/api/slos/get-an-slo) with the `detailed` parameter. # Get SLO Realtime Counts Source: https://docs.honeycomb.io/api/slos/get-slo-realtime-counts /api/openapi-public.yaml get /1/slos/{datasetSlug}/{sloId}/counts Get per-minute success and failure event counts for an SLO, updated approximately once per minute from a rolling 24-hour window. This endpoint is intended for near-real-time integrations such as external SLO dashboards and alerting tools (e.g. nobl9). For weekly compliance history, use the [Get SLO History endpoint](/api/reporting/get-slo-history). **Requirements:** - Available on the [Enterprise plan](https://www.honeycomb.io/pricing/) only. - This feature must be enabled for your team. Contact your account team to request access. **Gaps:** Some minutes may have no entry in the `windows` array. The first window after a gap may contain a larger-than-usual delta. Treat missing timestamps as unavailable data, not zero-event periods. **Epoch:** The response includes an `epoch` field — a hash of the SLO's SLI expression and dataset configuration. If this value changes between responses, the underlying SLO definition has changed and any client-side cache should be invalidated. **Partial windows:** Windows marked `is_partial: true` may still receive additional events. This occurs for the most recent 10 minutes (late-arriving data settlement) or when no prior snapshot exists to compute a delta from. **Budget resets:** This endpoint returns raw counts that don't account for [budget resets](/reference/honeycomb-ui/slos/slo-detail-view#reset-your-remaining-slo-budget), so failures from before a reset still appear in the counts. For reporting data that reflects budget resets, use the [Get an SLO endpoint](/api/slos/get-an-slo) with the `detailed` parameter. # Update an SLO Source: https://docs.honeycomb.io/api/slos/update-an-slo /api/openapi-public.yaml put /1/slos/{datasetSlug}/{sloId} Update an SLO by specifying its ID and full SLO details. # Create a Trigger Source: https://docs.honeycomb.io/api/triggers/create-a-trigger /api/openapi-public.yaml post /1/triggers/{datasetSlug} Create a trigger on the provided dataset or environment. # Delete a Trigger Source: https://docs.honeycomb.io/api/triggers/delete-a-trigger /api/openapi-public.yaml delete /1/triggers/{datasetSlug}/{triggerId} Delete a trigger by specifying the trigger ID. The body of the DELETE request should be empty. # Get a Trigger Source: https://docs.honeycomb.io/api/triggers/get-a-trigger /api/openapi-public.yaml get /1/triggers/{datasetSlug}/{triggerId} Fetch details for a single Trigger by Trigger ID. # Get Triggers Associated with a Recipient Source: https://docs.honeycomb.io/api/triggers/get-triggers-associated-with-a-recipient /api/openapi-public.yaml get /1/recipients/{recipientId}/triggers List all triggers that will alert a given Recipient. **Important:** This request will return all Triggers associated with the specific Recipient across your entire Honeycomb team rather than being scoped to a dataset or environment. # List All Triggers Source: https://docs.honeycomb.io/api/triggers/list-all-triggers /api/openapi-public.yaml get /1/triggers/{datasetSlug} List all triggers on the provided dataset or environment. # Update a Trigger Source: https://docs.honeycomb.io/api/triggers/update-a-trigger /api/openapi-public.yaml put /1/triggers/{datasetSlug}/{triggerId} Update a trigger by specifying the trigger ID and the same fields used when creating a new trigger. # Configure Honeycomb Source: https://docs.honeycomb.io/configure Set up and manage your Honeycomb Teams, Environments, and Datasets. Manage your Honeycomb team, environments, and datasets through the UI or Terraform. Configure access controls, API keys, calculated fields, and markers to organize your data and control how your team works in Honeycomb. ## Environments > [card] [Manage Environments](/configure/environments/manage/) > > Manage your Honeycomb Environments, which partition your data and organize your Honeycomb resources. > Learn how to create and delete Environments, and how to change the Environment description and label color. > [card] [Manage API Keys](/configure/environments/manage-api-keys/) > > Manage your Honeycomb API Keys. > Use specialized Ingest Keys to send telemetry data to Honeycomb and use Configuration Keys to manage resources in your Honeycomb Environment. > Learn how to create and delete API keys, and identify which permissions you may grant to your API Keys. > [card] [Manage Environment Calculated Fields](/configure/environments/calculated-fields/) > > Define and manage unique calculated fields for use in all Datasets contained within your Environment. > Otherwise known as Derived Columns, calculated fields are computed properties that are calculated by a formula. Learn how to create, change, and delete environment-wide calculated fields. > [card] [Manage Markers](/configure/environments/manage-markers/) > > Each Environment allows you to define global markers that you can use across the Datasets contained within it. > Use markers to emphasize specific data points in time, such as deployments, incidents, activated or resolved triggers, and enabled or disabled feature flags. > Learn how to create, delete, and change the appearance of markers. ## Datasets > [card] [Manage Datasets](/configure/datasets/manage/) > > Manage your Honeycomb Datasets, which group your data into collections of related events. > Learn how to create and delete Datasets, and how to change the Dataset description and set defaults. > [card] [Dataset Structure](/configure/datasets/structure/) > > Manage your Dataset structure to ensure that your data is displayed in ways that support your needs. > [card] [Map Field Definitions](/configure/datasets/definitions/) > > Manage your Dataset field definitions. > Tell Honeycomb how specific fields in your dataset should be interpreted. > [card] [Manage Dataset Calculated Fields](/configure/datasets/calculated-fields/) > > Define and manage unique calculated fields for use in your Dataset. > Otherwise known as Derived Columns, calculated fields are computed properties that are calculated by a formula. Learn how to create, change, and delete dataset-specific calculated fields. > [card] [Manage Dataset Markers](/configure/datasets/manage-markers/) > > Each Dataset allows you to define local markers that you can use within it only. > Use markers to emphasize specific data points in time, such as deployments, incidents, activated or resolved triggers, and enabled or disabled feature flags. > Learn how to create, delete, and change the appearance of markers. ## Teams > [card] [Manage Teams](/configure/teams/manage/) > > Manage Honeycomb Teams, which organize groups of users, grant them access to data, and create a shared work history. > Learn how to manage teams, including creating teams. > [card] [Configure Access](/configure/teams/configure-access/) > > Configure methods of accessing Honeycomb for your team. > Learn how to allow team members to log in to the Honeycomb UI using Single Sign-on (SSO). > [card] [Manage Behavior](/configure/teams/manage-behavior/) > > Manage the behavior of Honeycomb Teams. > Learn how to set a default environment, enable or disable Honeycomb Intelligence, and manage which URLs are displayed as external links for your team. > [card] [Manage Notifications](/configure/teams/manage-notifications/) > > Manage notifications for Honeycomb Teams. > Learn how to control which team owners receive usage notifications and how to enable integrations and webhooks for notification purposes. > [card] [Manage Members](/configure/teams/manage-members/) > > Manage members for Honeycomb Teams. > Learn how to invite users, remove users, change users' roles, copy invitation URLS, and restrict who can join your team by email address. > [card] [Manage Permissions](/configure/teams/manage-permissions/) > > Manage permissions for Honeycomb Teams. > Learn how to apply roles and permissions to team members. > [card] [Monitor Use](/configure/teams/monitor-use/) > > Monitor usage for Honeycomb Teams. > Learn how to access trends about your Team's event volume and throughput, and learn about enhanced reporting features. > [card] [Investigate Activity](/configure/teams/investigate-activity/) > > Investigate activity for Honeycomb Teams. > Learn how to identify changes in resource configurations and understand how your team members are using Honeycomb by observing and investigating with all of Honeycomb's features, including querying, visualizations, Boards, Triggers, and more. > This Honeycomb feature is in beta. ## Manage Honeycomb with Terraform > [card] [Provision and Manage Resources with HashiCorp Terraform](/integrations/hashicorp-terraform/) > > Use the Honeycomb Terraform provider to programmatically create and manage datasets, triggers, SLOs, boards, and other Honeycomb resources as code. # Manage Dataset Calculated Fields Source: https://docs.honeycomb.io/configure/datasets/calculated-fields Create, update, and delete calculated fields scoped to a specific dataset to simplify queries and apply consistent logic to your telemetry data. For clearer insights and consistency, you can use calculated fields to create new fields by applying functions and logic to existing data. ## What is a Dataset Calculated Field? In Honeycomb, saved calculated fields can apply to either a specific dataset or an entire environment. Dataset-specific calculated fields allow you to define custom computations that apply only within a single dataset. By managing these fields at the dataset level, you transform raw data into more meaningful insights without affecting other datasets in your environment. > [!NOTE] > > For a more general introduction to calculated fields, their scopes, and how you can use them in Honeycomb, visit [Use Calculated Fields](/investigate/query/build/calculated-fields/). ## Creating Calculated Fields Define a calculated field to transform or derive new insights from your data. To create a dataset-specific calculated field: 1. Log in to the Honeycomb UI. 2. In the navigation menu, select the **Environment** label, then choose the environment that includes the dataset to which you want to add a calculated field. 3. In the navigation menu, select **Manage Data**, then choose **Datasets**. 4. Locate the dataset to which you want to add a calculated field, and select its name to open its settings. 5. Go to the **Schema** view. 6. Expand the **Calculated Fields** section. 7. Select **Add New Calculated Field**. 8. In the modal, enter details: | Field | Description | | - | - | | **Display Name** | Name that appears in the Query Builder. Enter a name that is unique across the dataset and its containing environment. Although Honeycomb tries to prevent duplicate field names, they can still occur. For help resolving naming conflicts, visit [Common Issues with Queries: Calculated Fields](/troubleshoot/common-issues/queries/#a-link-points-to-the-wrong-location). | | **Prompt** (beta) | Use natural language to generate a Calculated Field. For example, `return "slow" if $duration_ms > 1000`. Be sure to explicitly reference any schema fields using the $ syntax (for example, `$field_name\`). For help resolving errors, visit [Common Issues with Queries: Calculated Fields](/troubleshoot/common-issues/queries/#calculated-fields). | | Editor | Formula that defines your field. For syntax, available functions, and example formulas, visit [Calculated Field Formula Reference](/reference/calculated-field-expression/). | > [!TIP] > > Hover over syntax errors (red underlines or red triangles) for suggestions on how to fix them. 9. Select **Save**. The screen refreshes, and your new field appears in the list. ## Editing Calculated Fields Update a calculated field to refine its formula or adjust its name. > [!WARNING] > > Before changing a calculated field, check for dependencies that may be affected, such as Boards, Triggers, and SLOs. To edit a dataset-specific calculated field: 1. Log in to the Honeycomb UI. 2. In the navigation menu, select the **Environment** label, then choose the environment that includes the dataset with the calculated field you want to change. 3. In the navigation menu, select **Manage Data**, then choose **Datasets**. 4. Find the dataset that contains the calculated field you want to change, and select its name to open its settings. 5. Go to the **Schema** view. 6. Expand the **Calculated Fields** section. 7. Locate the calculated field in the list, and select **Edit**. ![Edit calculated field](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/calculated-fields/calculated-field-schema-edit.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=493b56929c1bb02be219668c4c0bdbd2) 1. If dependencies exist, Honeycomb will prompt you to either [clone the field](#cloning-calculated-fields) or continue editing. If you are unsure, contact the field's most recent editor before proceeding. ![Edit a calculated field modal with a dependency](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/calculated-fields/calculated-field-edit-dependencies-modal.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=fee5682cb03cd2a4293bd9bec3b97028) 8. In the modal, modify the pre-populated name and formula as needed. For syntax, available functions, and example formulas, visit [Calculated Field Formula Reference](/reference/calculated-field-expression/). 9. Select **Save**. The screen refreshes, and the edited field updates in the list. ## Cloning Calculated Fields If you need a new calculated field similar to an existing one, you can clone the existing calculated field and modify it as needed. To clone a dataset-specific calculated field: 1. In the navigation menu, select the **Environment** label, then choose the environment that includes the dataset with the calculated field you want to clone. 2. In the navigation menu, select **Manage Data**, then choose **Datasets**. 3. Find the dataset that contains the calculated field you want to clone, and select its name to open its settings. 4. Go to the **Schema** view. 5. Expand the **Calculated Fields** section. 6. Locate the calculated field in the list, and select **Clone**. ![Clone a calculated field from the table](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/calculated-fields/calculated-field-clone.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=8a1a76c9a6e336a7f75a82dffea97db3) 7. In the modal, modify the pre-populated name and formula as needed. For syntax, available functions, and example formulas, visit [Calculated Field Formula Reference](/reference/calculated-field-expression/). 8. Select **Save**. The screen refreshes, and your new field appears in the list. ## Deleting Calculated Fields To manage your data effectively, you may need to delete calculated fields that you no longer need. > [!WARNING] > > Before removing a calculated field, check for dependencies that may be affected, such as Boards, Triggers, and SLOs. > [!NOTE] > > To delete a calculated field, you must be its creator or a [Team Owner](/configure/teams/manage-permissions/). To delete a dataset-specific calculated field: 1. In the navigation menu, select the **Environment** label, then choose the environment that includes the dataset with the calculated field you want to delete. 2. In the navigation menu, select **Manage Data**, then choose **Datasets**. 3. Find the dataset that contains the calculated field you want to delete, and select its name to open its settings. 4. Go to the **Schema** view. 5. Expand the **Calculated Fields** section. 6. Locate the calculated field in the list, and select **Delete**. ![Delete calculated field](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/calculated-fields/calculated-field-schema-delete.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=efbd8942969740dc24f73b25eb675241) 1. If dependencies exist, a list will appear. 2. To continue, remove all dependencies. If you are unsure, contact the most recent editor of each dependency before proceeding. 3. Select **Refresh Dependencies**. ![Delete a calculated field modal with dependent objects shown](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/calculated-fields/calculated-field-delete-dependency-modal.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=67c3f778361bbf24114dc434868b26dc) 7. In the confirmation modal, select **Delete**. ![Delete a calculated field confirmation modal](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/calculated-fields/calculated-field-delete-confirmation.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=01f8ab4518979dcb8a4dc792c66271dc) The screen refreshes, and the field no longer appears in the list. Existing queries using the calculated field will still work, but the field name will no longer be available when building new queries. # Define Dataset Fields Source: https://docs.honeycomb.io/configure/datasets/definitions Designate which fields in your dataset have special meaning in Honeycomb, including trace IDs, durations, and error fields used in the trace waterfall. The **Definitions** tab in your [Dataset Settings](/reference/honeycomb-ui/manage-data/datasets/dataset-settings/) allows you to define how specific fields in your Honeycomb dataset should be interpreted. Dataset Definitions set the visualization fields in the [trace waterfall](/reference/honeycomb-ui/query/trace-waterfall/) and in [Home](/observe/honeycomb-home/). Some Dataset Definitions automatically populate when using OpenTelemetry or Beelines instrumentation, but additional definition of these fields is possible. ## Access Dataset Definitions Choose your method of accessing Dataset Definitions through **Dataset Settings**: * In [Home](/observe/honeycomb-home/), select **Dataset Settings** for the selected Dataset. In Settings, select the **Definitions** tab. * After selecting **Datasets** from **Manage Data** in the left menu, select a dataset to view its Dataset Settings. In Settings, select the **Definitions** tab. Dataset Definitions appear in the Definitions tab. Use the dropdown window in the top left of the Settings Page to navigate between specific Datasets and their definitions settings. ![Screenshot of Settings page with selected Definitions tab for frontend dataset](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/datasets/dataset-definition-landing.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=1b781af95551dbc0f3ed213d64444a48) ## View Dataset Definitions At the top of Dataset Definitions, two configuration completion indicators appear: [Tracing](/reference/honeycomb-ui/query/trace-waterfall/) () and [Home](/observe/honeycomb-home/) (). ![Example of Tracing and Home configuration completion indicators with Tracing complete and Home partially complete.](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/datasets/dataset-definition-completion-indicator.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=361475a936f684db84d31c110b21d1d9) Each indicator displays the level of field configuration completion in progress bar and in numerical format. If all fields are configured, then text will confirm completion. Otherwise, it warns about missing displays. Below the indicators, Dataset Definitions appear in rows. ![Two rows of dataset definitions with their fields mapped](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/datasets/dataset-definition-row.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=7fe82694d0f78f55ef24712f253eef10) Each row consists of one or more **icons**, the **Dataset field**, and the **Field name**. The icons indicate if the Dataset Definition applies to the display configuration of Tracing and/or Home. Some Dataset fields overlap between the two configuration sets. The Dataset field is the fixed field that Honeycomb references in its configuration. The Field name options populate from fields in your dataset. If a Field name is blank, a Dataset Definition is not configured. To configure, use the dropdown list in Field name to choose from the available dataset fields. Selecting a dataset field maps it to Honeycomb's Dataset field. > [!TIP] > > Multiple Dataset Definitions cannot use the same dataset field. > If attempted, an "all fields must be unique" error message appears in the display. Honeycomb uses these definitions to provide more visualizations of your data in various Honeycomb interfaces, such as in [Home](/observe/honeycomb-home/), and in the [trace waterfall](/reference/honeycomb-ui/query/trace-waterfall/). ## Configure Dataset Definitions If a Field name in a row is blank, a Dataset Definition is not configured. To configure Dataset Definitions, use the dropdown list in Field name to choose from the available dataset fields. The Field name options populate from fields in your dataset that meet the Dataset field's data type requirements. Selecting a Field name option maps it to Honeycomb's Dataset field. Selecting the **X** removes the dataset definition assignment on this Dataset field. ## Available Definitions ### Tracing Some fields are required for the construction of a trace waterfall, while others are optional and allow us to visualize your data in a different way. Configure all 10 Tracing fields to ensure a full trace waterfall display. Some of these tracing fields overlap with the [Home fields](#home). There is a table showing the [meanings of each tracing field](/send-data/opentelemetry/#instrumented-fields); and a second with the meanings of [span annotation fields](/send-data/standardize/add-context/#annotating-spans) for span events and link events. **Span ID** : \[REQUIRED] The unique ID for each span. **Trace ID** : \[REQUIRED] The ID of the trace this span belongs to. **Parent Span ID** : \[REQUIRED] The ID of this span's parent span, the call location the current span was called from. **Name** : \[REQUIRED] The name of the function or method where the span was created. **Service Name** : \[REQUIRED] The name of the instrumented service. **Span Duration** : \[REQUIRED] How much time the span took, in milliseconds. **Metadata: Kind** : \[OPTIONAL] An attribute specifying the kind of span, for example `root` or `child`. This field previously specified span annotation types. **Metadata: Annotation Type** : An attribute specifying the type of Span Annotation. Accepted values are: `span_event` or `link`. Only required if you are using one or both of the Span Event or Trace Link annotation features. For most cases, this field is not required. This field lets Honeycomb move Span Annotations from the trace waterfall to the trace sidebar, where they are easier to find and access. Do not use this field for purposes other than specifying the type of Span Annotation. Learn more about [Span Annotations](/send-data/standardize/add-context/#annotating-spans). **Metadata: Link Span ID** : The [Link Span ID](/send-data/standardize/add-context/#establish-relationships-between-spans-in-different-trace-hierarchies) allows linking to a different span (when used with Link Trace ID). **Metadata: Link Trace ID** : The [Link Trace ID](/send-data/standardize/add-context/#establish-relationships-between-spans-in-different-trace-hierarchies) allows linking to a different trace or a different span in the same trace (when used with Link Span ID). ### Home Honeycomb visualizes some data on [Home](/observe/honeycomb-home/) without any of these definitions being set. Setting the dataset definitions for Home fields enables tabs within the Home display to be selectable. Some of these Home fields overlap with the [tracing fields](#tracing). Configure all 8 Home fields to ensure all tabs in Home are selectable. **Error** : A boolean or string indicating an error. This field can be a calculated field. If you use a string, any value except for `""`, `" "`, and `"false"` will be considered an error. **HTTP Status Code** : Indicates the success, failure, or other status of a request. This field can be a string, integer, float or calculated field. Read more about [http status codes here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status). **Route** : The HTTP URL or equivalent route processed by the request. This field can be a calculated field. **Span Duration** : How much time the span took, in milliseconds. **User** : The ID, name, email address (or another unique identifier) of the user making the request in the system. This field can be a string, integer, float, or calculated field. **Name** : The Name field represents the name of the function or method where the span was created. **Log Message** : Value containing the log event message. May be a human-readable string message (including multiline) describing the event in free form. **Log Severity** : Severity level of the event (also known as log level). Supported values include: `trace`, `debug`, `info`, `warn`, `error`, `fatal`, and `unspecified`. # Manage Datasets Source: https://docs.honeycomb.io/configure/datasets/manage Create, delete, and update Honeycomb Datasets, which group related events into queryable collections organized within your Environments. Datasets are created programmatically when you send data to Honeycomb. Honeycomb uses Datasets to group your data into collections of related events. Once you create a dataset, you can manage it using the Honeycomb UI. ## Create Dataset To send data to Honeycomb, you must instrument your service and then make requests to it. Making requests to your service will generate telemetry data and send it to Honeycomb where it will appear in the Honeycomb UI within seconds. When you send data to Honeycomb, Honeycomb creates a Dataset in which to store your data, using the service name in your instrumentation as the Dataset's name. Once created, Dataset names are permanent. Honeycomb determines which Environment to should house your Dataset based on the [API Key](/configure/environments/manage-api-keys/) with which you send the data. You cannot create a Dataset through the Honeycomb UI. ## Add Description To add your Dataset's description: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select the Environment that contains the Dataset for which you want to add a description. 3. In the left navigation menu, select **Manage Data**. 4. In the list, locate and select **Datasets**. 5. In the list, locate the Dataset for which you want to add a description, and select its name to view the available settings. 6. Locate the **Description** section, and select **Add a description for this dataset**. 7. Enter a description, and select **Save Changes**. ## Change Description To change your Dataset's description: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select the Environment that contains the Dataset for which you want to change the description. 3. In the left navigation menu, select **Manage Data**. 4. In the list, locate and select **Datasets**. 5. In the list, locate the Dataset for which you want to change the description, and select its name to view the available settings. 6. Locate the **Description** section, and select **Edit**. 7. Enter a new description, and select **Save Changes**. ## Set Default Granularity For periodic data captured at regular, known intervals, such as metric data, you can set a minimum default granularity, or interval, to ensure that queries within the Dataset do not drop below it (unless you choose to override it manually when building an individual query). Default Granularity affects the display of visualizations seen: * after running a query * on [Honeycomb Home](/observe/honeycomb-home/) * as suggested queries on a blank query page To set your Dataset's default granularity: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select the Environment that contains the Dataset for which you want to set the default granularity. 3. In the left navigation menu, select **Manage Data**. 4. In the list, locate and select **Datasets**. 5. In the list, locate the Dataset for which you want to set the default granularity, and select its name to view the available settings. 6. Locate the **Default Granularity** section, and select the desired interval from the dropdown. > [!TIP] > > To prevent a spiky appearance in your graphs, we recommend that you set the default granularity with the interval at which data enters Honeycomb. > For example, if your data enters the dataset at regular 30-second intervals, we recommend setting a default granularity of 30 seconds. We save your changes automatically. ## Set Suggested Queries For each Dataset, you can select a Board to provide suggested queries, which will appear any time you land on a blank query page. To set your Dataset's suggested queries: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select the Environment that contains the Dataset for which you want to set suggested queries. 3. In the left navigation menu, select **Manage Data**. 4. In the list, locate and select **Datasets**. 5. In the list, locate the Dataset for which you want to set suggested queries, and select its name to view the available settings. 6. Locate the **Suggested Queries** section, and select the desired Board from the dropdown. You must select a public Board that contains named queries. Multiple datasets can use the same board. We save your changes automatically. ## Set Default Correlations Board For each Dataset, you can select a [Board](/observe/boards/) to appear in the **Correlations** view of your query results. The order of the charts in the Correlations view matches the order of the charts on the Board. To set your Dataset's default Correlations Board: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select the Environment that contains the Dataset for which you want to set a default Correlations Board. 3. In the left navigation menu, select **Manage Data**. 4. In the list, locate and select **Datasets**. 5. In the list, locate the Dataset for which you want to set a default Correlations Board, and select its name to view the available settings. 6. Select the **Correlations** view. 7. Locate the **Default Correlations Board** section, and select the desired Board from the dropdown. You must select a public Board. Multiple datasets can use the same board. We save your changes automatically. ## Delete Dataset > [!WARNING] > > Dataset deletion is permanent, so make sure you really want to delete your Dataset before doing so. > > To delete a Dataset, you must be a [Team Owner](/configure/teams/manage-permissions/), and Deletion Protection must be disabled. To delete your Dataset: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select the Environment that contains the Dataset you want to delete. 3. In the left navigation menu, select **Manage Data**. 4. In the list, locate and select **Datasets**. 5. In the list, locate the Dataset that you want to delete, and select its name to view the available settings. 6. Select the **Delete** view. 7. If **Deletion Protection** is enabled for the Dataset, toggle it 'off' to enable the **Delete Dataset** button. 8. Select **Delete Dataset**. 9. In the **Delete Dataset?** modal, enter the unique identifier of the Dataset (listed in parentheses). 10. Select **I understand the consequences. Delete this dataset**. Your Dataset will be deleted, but it may take several minutes for the process to complete. # Manage Dataset Markers Source: https://docs.honeycomb.io/configure/datasets/manage-markers Create, delete, and style markers scoped to a specific dataset to flag deployments, incidents, and feature flag changes within that dataset's views. Each Dataset allows you to define markers for use within it. > [!TIP] > > You can create markers at both the Dataset and the Environment level. > When you create a marker at the Dataset level, you can use it only within its associated Dataset. > When you create a marker at the Environment level, you can use it across all Datasets in your Environment. You can manage markers using both the Honeycomb UI and [Honeycomb API](/api/marker-settings/). ## What are Markers? Markers are custom labels that you can add to your data to emphasize specific data points in time, such as when you change a condition, deploy code, or have an outage. Markers display as vertical lines on graphs in Honeycomb to signal interesting occurrences within the context of your queries. ## Uses Use markers to identify points in time, such as: * deployments * incidents * activated or resolved Triggers * enabled or disabled feature flags > [!TIP] > > You should create a Dataset-level marker when the range of time is relevant only to the specific Dataset or Service. ## Change Marker Color > [!NOTE] > > You must be a [Team Owner](/configure/teams/manage-permissions/) to change a marker's color. To change your marker color: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select the appropriate environment. 3. In the left navigation menu, select **Manage Data**. 4. In the list, locate and select **Datasets**. 5. In the list, locate the dataset that contains the marker you want to edit, and select its name to view the available settings. 6. Select the **Markers** view. 7. In the list, locate the **Marker Type** you want to change, and select the desired color from the dropdown in the **Color** column. We will save your changes automatically. ## Add Markers From the UI To create a marker from the Honeycomb UI: 1. In your query results, move your cursor over the graph to your desired time point. 2. Select your desired time point, which causes the graph menu options to appear. 3. Select **Add marker**. The **Add a Marker** modal appears. ![Screenshot illustrating the 'Add a Marker' dialog box](https://mintcdn.com/honeycomb/ubU2dY8GwHCSzegF/_assets/images/markers/add-a-marker.png?fit=max\&auto=format\&n=ubU2dY8GwHCSzegF\&q=85\&s=015ec3770b6c951c05df6c08378c22d2) 4. Enter the following information: 1. A Message for your marker, such as "Deploy #299" or "Abnormal Spike in Products Page Traffic". 2. A Type for the marker, such as "deploy" or "trigger". After creation, the type appears as a preface to the marker's message when viewing the marker details. 3. The URL field is optional, but provides a great way for more context about the marker. 4. Select the "Environment-wide" checkbox to apply this marker to **all** datasets in your environment. 5. When finished, select **Create** to add your marker to the graph. > [!TIP] > > To add markers via a command line tool or further manage existing markers, use either `curl` or `honeymarker`, a lightweight marker management tool that provides a CRUD command line interface. > Refer to our Markers documentation for more information. ## View Markers in the UI Once created, markers appear on any queries that run within the same time period as the marker(s). Each marker type can appear in its own color. > [!TIP] > > To change dataset marker color, configure dataset markers in [Dataset Settings](/configure/datasets/manage-markers/#change-marker-color). Hover over the Marker icon () to view a marker's details. A solid vertical line appears and a window displays the marker's name, description, and if applicable, a selectable URL. To persist the marker's vertical line and information window, select the downward caret icon. To close the persisted display, use the icon () that appears in the window after selection. ![Screenshot illustrating a selected marker and marker details](https://mintcdn.com/honeycomb/ubU2dY8GwHCSzegF/_assets/images/markers/view-marker.png?fit=max\&auto=format\&n=ubU2dY8GwHCSzegF\&q=85\&s=ab461160f5f78aa363961db934c985a5) ## Filter Markers in the UI By default, Honeycomb shows environment markers in environment-wide queries and dataset markers in dataset queries. Use **Filter Markers** to modify what markers appear in the query results. To access **Filter Markers**, either: 1. Press `l` on your keyboard 2. Select the Marker options icon () below the time picker in your query results, and select **Filter Markers**. The Filter Markers modal appears. Use to modify what markers appear based on: 1. on their value 2. whether or not markers of the opposite type (environment/dataset) are allowed 3. their marker type ![Screenshot illustrating the 'Filter Markers' dialog box for a dataset query](https://mintcdn.com/honeycomb/ubU2dY8GwHCSzegF/_assets/images/markers/filter-markers.png?fit=max\&auto=format\&n=ubU2dY8GwHCSzegF\&q=85\&s=32df2a601ceff4a04f6e5d5ded6c0994) # Manage Dataset Structure Source: https://docs.honeycomb.io/configure/datasets/structure Adjust schema settings and field display options to control how incoming data is organized and presented within a Honeycomb Dataset. When you send data to Honeycomb, a dataset is created with a schema based on the incoming data. Adjust the dataset’s structure and settings to control how your data is organized. ## Introduction In Honeycomb, managing your dataset's structure ensures that your data is displayed in ways that support your analysis needs. ## Managing Unique Fields Your dataset is created when you first send data to Honeycomb, and its unique fields are automatically generated based on the incoming data. > [!TIP] > > If you name your incoming data fields in a specific way, Honeycomb can automatically map them. > To learn more about field mapping, visit [Map Your Data](/send-data/standardize/map-data/). By managing these unique fields, you can control how your data is structured and displayed, ensuring it meets your goals. ### Modifying Field Data Types In Honeycomb, you can modify the data type of a field to ensure it accurately reflects the data it holds. Adjusting field data types can help improve data consistency and support more accurate analysis. To modify a field's data type: 1. Log in to the Honeycomb UI. 2. In the navigation menu, select the **Environment** label, then choose the environment that includes the dataset with the unique field you want to change. 3. In the navigation menu, select **Manage Data**, then choose **Datasets**. 4. Locate the dataset that contains the unique field you want to change, and select its name to open its settings. 5. Go to the **Schema** view. 6. Expand the **Unique Fields** section. 7. Locate the field you want to change, and use the dropdown in the **Type** column to select a new data type. > [!TIP] > > In the future, if you send an event that does not match the selected data type, Honeycomb will try to coerce the value. > If coercion is not possible, the value will be set to `0` instead of being dropped. We save and apply your changes automatically. ### Managing Field Visibility You can control the visibility of unique fields in your dataset to streamline your data and focus on the most relevant information. Hiding fields that aren't needed helps keep your dataset clean and easy to navigate without losing data. When you hide a field, the field will no longer display in: * the [Query Builder](/reference/honeycomb-ui/query/#query-builder) for editing. * the Schema sidebar for searching. * the [Dataset Definition](/configure/datasets/definitions/#access-dataset-definitions). Hidden fields will still display in: * Triggers * Calculated Fields (with a warning) To hide or show a unique field: 1. Log in to the Honeycomb UI. 2. In the navigation menu, select the **Environment** label, then choose the environment that includes the dataset with the unique field for which you want to change visibility. 3. In the navigation menu, select **Manage Data**, then choose **Datasets**. 4. Locate the dataset that contains the unique field for which you want to change visibility, and select its name to open its settings. 5. Go to the **Schema** view. 6. Expand the **Unique Fields** section. 7. Locate the field for which you want to change visibility, and locate its **Hide** column, then: * Select the checkbox to hide the field. * Deselect the checkbox to show the field. We save and apply your changes automatically. ### Editing Unique Fields You can customize the properties of your unique fields to refine your dataset's structure. To edit a unique field: 1. Log in to the Honeycomb UI. 2. In the navigation menu, select the **Environment** label, then choose the environment that includes the dataset with the unique field you want to change. 3. In the navigation menu, select **Manage Data**, then choose **Datasets**. 4. Locate the dataset that contains the unique field you want to change, and select its name to open its settings. 5. Go to the **Schema** view. 6. Expand the **Unique Fields** section. 7. Locate the field you want to change, and edit its properties: | Property | Description | | - | - | | **Type** | Data type of the field. | | **Hide** | Controls whether the field is visible in queries. Select to hide, or deselect to show. | | **Description** | Description of the field. Maximum of 255 characters. | | **Max Key Length** | Maximum length allowed for key names in the field. | We save and apply your changes automatically. # Manage Environment Calculated Fields Source: https://docs.honeycomb.io/configure/environments/calculated-fields Create, update, and delete calculated fields that apply across all datasets in an Environment, so you can standardize metrics and reuse logic team-wide. For clearer insights and consistency, you can use calculated fields to create new fields by applying functions and logic to existing data. > [!TIP] > > Environments exist only in Honeycomb's current release. > If you use Honeycomb Classic, we recommend [migrating to Honeycomb Environments](/troubleshoot/product-lifecycle/recommended-migrations/#migrate-from-honeycomb-classic-to-honeycomb-environments), so you can take advantage of its expanded data model and future product updates. ## What is an Environment Calculated Field? In Honeycomb, saved calculated fields can apply to either a specific dataset or an entire environment. Environment-wide calculated fields let you define reusable computations that apply across multiple datasets and services. By managing these fields at the environment level, you ensure consistency in data transformation and reduce the need for redundant field definitions. > [!NOTE] > > For a more general introduction to calculated fields, their scopes, and how you can use them in Honeycomb, visit [Use Calculated Fields](/investigate/query/build/calculated-fields/). ## Creating Calculated Fields Define a calculated field to transform or derive new insights from your data. To create an environment-wide calculated field: 1. Log in to the Honeycomb UI. 2. In the navigation menu, select the **Environment** label, then choose **Manage Environments**. 3. Locate the environment to which you want to add a calculated field, and select its name to open its settings. 4. Go to the **Schema** view. 5. Select **Add New Calculated Field**. 6. In the modal, enter details: | Field | Description | | - | - | | **Display Name** | Name that appears in the Query Builder. Enter a name that is unique across all datasets and the containing environment. Although Honeycomb tries to prevent duplicate field names, they can still occur. For help resolving naming conflicts, visit [Common Issues with Queries: Calculated Fields](/troubleshoot/common-issues/queries/#a-link-points-to-the-wrong-location). | | **Prompt** (beta) | Use natural language to generate a Calculated Field. For example, `return "slow" if $duration_ms > 1000`. Be sure to explicitly reference any schema fields using the $ syntax (for example, `$field_name\`). For help resolving errors, visit [Common Issues with Queries: Calculated Fields](/troubleshoot/common-issues/queries/#calculated-fields). | | Editor | Formula that defines your field. For syntax, available functions, and example formulas, visit [Calculated Field Formula Reference](/reference/calculated-field-expression/). | > [!TIP] > > Hover over syntax errors (red underlines or red triangles) for suggestions on how to fix them. 7. Select **Save**. The screen refreshes, and your new field appears in the list. ## Editing Calculated Fields Update a calculated field to refine its formula or adjust its name. > [!WARNING] > > Before changing a calculated field, check for dependencies that may be affected, such as Boards, Triggers, and SLOs. To edit an environment-wide calculated field: 1. Log in to the Honeycomb UI. 2. In the navigation menu, select the **Environment** label, then select **Manage Environments**. 3. Find the environment containing the calculated field you want to change, and select its name to open its settings. 4. Go to the **Schema** view. 5. Locate the calculated field in the list, and select **Edit**. ![Edit calculated field](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/calculated-fields/calculated-field-schema-edit.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=493b56929c1bb02be219668c4c0bdbd2) 1. If dependencies exist, Honeycomb will prompt you to either [clone the field](#cloning-calculated-fields) or continue editing. If you are unsure, contact the field's most recent editor before proceeding. ![Edit a calculated field modal with a dependency](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/calculated-fields/calculated-field-edit-dependencies-modal.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=fee5682cb03cd2a4293bd9bec3b97028) 6. In the modal, modify the pre-populated name and formula as needed. For syntax, available functions, and example formulas, visit [Calculated Field Formula Reference](/reference/calculated-field-expression/). 7. Select **Save**. The screen refreshes, and the edited field updates in the list. ## Cloning Calculated Fields If you need a new calculated field similar to an existing one, you can clone the existing calculated field and modify it as needed. To clone an environment-wide calculated field: 1. Log in to the Honeycomb UI. 2. In the navigation menu, select the **Environment** label, then select **Manage Environments**. 3. Find the environment containing the calculated field you want to clone, and select its name to open its settings. 4. Go to the **Schema** view. 5. Locate the calculated field in the list, and select **Clone**. ![Clone a calculated field from the table](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/calculated-fields/calculated-field-clone.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=8a1a76c9a6e336a7f75a82dffea97db3) 6. In the modal, modify the pre-populated name and formula as needed. For syntax, available functions, and example formulas, visit [Calculated Field Formula Reference](/reference/calculated-field-expression/). 7. Select **Save**. The screen refreshes, and your new field appears in the list. ## Deleting Calculated Fields To manage your data effectively, you may need to delete calculated fields that you no longer need. > [!WARNING] > > Before removing a calculated field, check for dependencies that may be affected, such as Boards, Triggers, and SLOs. > [!NOTE] > > To delete a calculated field, you must be its creator or a [Team Owner](/configure/teams/manage-permissions/). To delete an environment-wide calculated field: 1. Log in to the Honeycomb UI. 2. In the navigation menu, select the **Environment** label, then choose **Manage Environments**. 3. Find the environment containing the calculated field you want to delete, and select its name to open its settings. 4. Go to the **Schema** view. 5. Locate the calculated field in the list, and select **Delete**. ![Delete calculated field](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/calculated-fields/calculated-field-schema-delete.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=efbd8942969740dc24f73b25eb675241) 1. If dependencies exist, a list will appear. 2. To continue, remove all dependencies. If you are unsure, contact the most recent editor of each dependency before proceeding. 3. Select **Refresh Dependencies**. ![Delete a calculated field modal with dependent objects shown](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/calculated-fields/calculated-field-delete-dependency-modal.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=67c3f778361bbf24114dc434868b26dc) 6. In the confirmation modal, select **Delete**. ![Delete a calculated field confirmation modal](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/calculated-fields/calculated-field-delete-confirmation.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=01f8ab4518979dcb8a4dc792c66271dc) The screen refreshes, and the field no longer appears in the list. Existing queries using the calculated field will still work, but the field name will no longer be available when building new queries. # Manage Environments Source: https://docs.honeycomb.io/configure/environments/manage Create, delete, and update Honeycomb Environments, which partition your data and organize your resources across datasets and API keys. When you first add Honeycomb to your application, you will need to specify an Environment. Honeycomb uses Environments to partition your data and organize your Honeycomb resources. You can manage your Honeycomb Environments using the Honeycomb UI. > [!TIP] > > Environments exist only in Honeycomb's current release. > If you use Honeycomb Classic, we recommend [migrating to Honeycomb Environments](/troubleshoot/product-lifecycle/recommended-migrations/#migrate-from-honeycomb-classic-to-honeycomb-environments), so you can take advantage of its expanded data model and future product updates. ## Create Environment To create your Environment: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select **Manage Environments**. 3. Select **Create Environment**. 4. In the **Create Environment** modal, enter a name for the environment. Optionally, enter a description and choose a color for its label. > [!WARNING] > > Once you create your environment, you cannot rename it. You can delete it. 5. Select **Create Environment**. You should now see the new Environment in the list of environments. We have also automatically generated an API Key for your Environment; to see it, select **View API Keys**. Make sure you copy your API Key for later use in your instrumentation. To learn more about API Keys, visit [Manage API Keys](/configure/environments/manage-api-keys/). ## Add Description To add your Environment's description: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select **Manage Environments**. 3. In the list, locate the environment for which you want to add a description, and select its name to view the available settings. 4. Locate the **Description** section, and select **Add a description for this environment**. 5. Enter a description, and select **Save Changes**. ## Change Description To change your Environment's description: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select **Manage Environments**. 3. In the list, locate the environment for which you want to change the description, and select its name to view the available settings. 4. Locate the **Description** section, and select **Edit**. 5. Enter a new description, and select **Save Changes**. ## Change Label Color To change your Environment's label color: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select **Manage Environments**. 3. In the list, locate the environment for which you want to change the label color, and select its name to view the available settings. 4. Locate the **Color** section, and select the desired color from the dropdown. 5. Select **Save Changes**. ## Delete Environment > [!WARNING] > > Environment deletion is permanent, so make sure you really want to delete your Environment before doing so. > > Deletion Protection prevents an Environment from being accidentally deleted. > > To delete an Environment, you must be a [Team Owner](/configure/teams/manage-permissions/), Deletion Protection must be disabled, and the Environment must not be the last Environment in your Team. To delete your Environment: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select **Manage Environments**. 3. In the list, locate the Environment that you want to delete, and select its name to view the available settings. 4. Select the **Delete** view. 5. If **Deletion Protection** is enabled for the Environment, toggle it 'off' to enable the **Delete Environment** button. 6. Select **Delete Environment**. 7. In the **Delete Environment?** modal, enter the unique identifier of the Environment (listed in parentheses). 8. Select **I understand the consequences. Delete this environment**. Your Environment will be deleted, but it may take several minutes for the process to complete. ## Troubleshoot To see common issues when managing Environments and their solutions, visit [Common Issues with Configuring Honeycomb: Environments](/troubleshoot/common-issues/configuring-honeycomb/#environments). # Manage Environment API Keys Source: https://docs.honeycomb.io/configure/environments/manage-api-keys Create and manage Ingest and Configuration API keys at the Environment level, and control which permissions each key type can grant. Each Environment allows you to define API Keys for use within it. > [!TIP] > > You can create API Keys at the Environment level only. > API Keys are shared and available for you to use across all Datasets in your Environment. You can create and manage Environment-level API Keys through the Honeycomb UI. To create and manage Team-level resources, visit [Team API Keys](/configure/teams/manage-api-keys/). ## What are Environment-level API Keys? In Honeycomb, some API keys are associated with Honeycomb Environments, which organize all of your Honeycomb resources and consist of a set of datasets, a set of API keys, a set of calculated fields, and a set of markers. When you create an API key, you assign it a set of permissions, which determines which actions your Team can use it to perform in the associated Environment. Any programmatic request sent to Honeycomb must use an API Key. ## Uses Honeycomb uses two types of Environment-level API keys, each for different purposes: * **Ingest Keys**: You can use these API Keys to send telemetry data to Honeycomb. * **Configuration Keys**: You can use these API Keys to manage resources in your Honeycomb Environment. To learn more about using API Keys, visit [Best Practices for API Keys](/get-started/best-practices/api-keys/). ## Find API Keys When you join Honeycomb, we help you create your first Team and Environment. As part of this process, we create your first Environment-level API Key--a Configuration Key--for you. > [!WARNING] > > For security reasons, you can access the value of your API key only while creating it. > You may be able to use the information you retrieve in this section to identify a key or its settings, so you can retrieve it from the safe location in which you previously stored it. To find your API Keys: 1. Log in to the Honeycomb UI. 2. Select the **Environments** selector in the navigation menu, then select **Manage Environments**. 3. In the list, locate the Environment for which you would like to find API Keys, and select its name to view the available settings. 4. Select the **API Keys** view. 5. Select the view that corresponds to the type of API Keys that you would like to view, either **Ingest** or **Configuration**. Each key's [description](#describe-api-keys), if it has one, appears below the key's name in smaller text. The list shows up to two lines of the description; open the key to read all of it. To find a key, enter part of its name, description, or Key ID in the **Search by Name, Description, or Key ID** box. ![Screenshot of the Ingest API keys list. Descriptions appear below key names, and one long description is cut off after two lines. The search box reads Search by Name, Description, or Key ID.](https://mintcdn.com/honeycomb/jS7qhanqnh6ZmEgc/_assets/images/api-keys/ingest-keys-list-description.png?fit=max\&auto=format\&n=jS7qhanqnh6ZmEgc\&q=85\&s=bfb1694795d506837f61d688c98849ec) ## Create API Key > [!NOTE] > > To create an API Key, you must be a [Team Owner](/configure/teams/manage-permissions/). > [!TIP] > > Whenever you create an Environment, we automatically create your first Configuration Key for you. To create your API Key: 1. Log in to the Honeycomb UI. 2. Select the **Environments** selector in the navigation menu, then select **Manage Environments**. 3. In the list, locate the Environment where you want to add an API Key, and select its name to view the available settings. 4. Select the **API Keys** view. 5. Select the view that corresponds to the type of API Key that you would like to create, either **Ingest** or **Configuration**. 6. Select **Create Ingest API Key** or **Create Configuration API Key**. 7. In the dialog, enter the details for your API Key: | Field | Description | | - | - | | API key name | Label for the API Key. Used to identify this key in the Honeycomb UI. | | Description (optional) | Notes on where this key is used or how to rotate it. Do not include secrets. See [Describe API Keys](#describe-api-keys). | | Visibility | *Configuration Keys only*. Select **Visible to all team members** or **Visible to Owners only** to control who can see this key. | | Permissions | Actions this key is allowed to perform. For a full list of available permissions, visit [API Key Permissions](#api-key-permissions). | ![Screenshot of the Create ingest API key dialog. The optional Description field shows the placeholder text: e.g. Used by the checkout service in prod. Rotate in AWS Secrets Manager.](https://mintcdn.com/honeycomb/jS7qhanqnh6ZmEgc/_assets/images/api-keys/ingest-key-create-description.png?fit=max\&auto=format\&n=jS7qhanqnh6ZmEgc\&q=85\&s=2c29ef60034fa7a8ee5a5374f56aff47) > [!WARNING] > > For Ingest Keys, choose permissions carefully; they are permanent. To change permissions, you must delete the API Key and create a new one. 8. Select **Create**. 9. For Ingest Keys, copy your **Key Secret** and save it to a secure location, then select **Done**. Honeycomb returns it only upon creation, and you must copy or reveal it before you can select **Done**. Configuration Keys can be retrieved from the Honeycomb UI at any time. > [!WARNING] > > Store your API keys securely and never check them into version control systems, such as Git. Your new API Key appears in the list of keys. The Key ID is a label that identifies this key in the Honeycomb UI. To learn how to use your new key, visit [API Documentation: Authentication](/api/authentication). To learn more about what you can do with your new key, visit [Honeycomb API Documentation](/api). Or [send data to Honeycomb](/send-data/) with an Ingest Key. ## Change API Key > [!NOTE] > > To modify an API Key, you must be a [Team Owner](/configure/teams/manage-permissions/). To change your API Key: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select **Manage Environments**. 3. In the list, locate the Environment that contains the API Key that you want to edit, and select its name to view the available settings. 4. Select the **API Keys** view. 5. Select the view that corresponds to the type of API Key that you would like to change, either **Ingest** or **Configuration**. 6. In the list, locate the API Key that you want to change, and select its **Edit** (pencil) icon. For Configuration Keys, Honeycomb opens a read-only view of the key; select **Edit** to change it. 7. Change the API Key's details as desired. To learn more about the actions that you can assign to API Keys, visit the [API Key permissions](#api-key-permissions) section. To add, edit, or clear the key's description, change the **Description (optional)** field. To clear the description, delete all of its text. ![Screenshot of the Edit API Key dialog for a Configuration Key. The Description field contains: Used by the checkout service in prod. Rotate in AWS Secrets Manager.](https://mintcdn.com/honeycomb/jS7qhanqnh6ZmEgc/_assets/images/api-keys/configuration-key-edit-description.png?fit=max\&auto=format\&n=jS7qhanqnh6ZmEgc\&q=85\&s=a5fad037757e435aef865db6363137ca) > [!WARNING] > > For Ingest API keys, you cannot change the selected actions, but you can delete the API Key. 8. Select **Save**. Your API Key will be changed, but it may take several minutes for the changes to go into effect. Changing a key's name or whether it is enabled does not change its description. ## Describe API Keys A description is an optional note about a key, such as where it is used or how to rotate it. For example: `Used by the checkout service in prod. Rotate in AWS Secrets Manager.` Descriptions help your team identify a key without searching code to find where it is used. To learn how descriptions fit into key management, visit [Best Practices for API Keys](/get-started/best-practices/api-keys/#describe-each-api-key). > [!WARNING] > > A description is not secret. > Honeycomb shows it wherever it shows the key's name, to anyone who can see the key, and returns it in API responses. > Do not put API keys, tokens, passwords, or other secrets in a description. A description can contain up to 2,000 characters. The **Description (optional)** field stops accepting input at that limit. Only [Team Owners](/configure/teams/manage-permissions/) can add, edit, or clear descriptions. Team members who are not Team Owners can read a key's description in the list. They can also read it when they open an Ingest Key. Only Team Owners can open a Configuration Key, so other team members see at most the first two lines of its description. ### Manage Descriptions with the API You can set a key's description with the [Key Management API](/api/key-management/) for Ingest and Configuration Keys. Send the `description` attribute, a string of up to 2,000 characters, to the [Create an API Key](/api/key-management/create-an-api-key) and [Update an API Key](/api/key-management/update-an-api-key) endpoints. * Responses from the Key Management API always include `description`. The value is an empty string if the key has no description. * To keep a key's description unchanged when you update the key, omit `description` or send `null`. * To clear a key's description, send an empty string (`""`). ## Delete Ingest Keys > [!WARNING] > > Deleting an Ingest Key is permanent, so make sure you really want to delete your Ingest Key before doing so. > > To delete an Ingest Key, you must be a [Team Owner](/configure/teams/manage-permissions/). To delete your Ingest Key: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select **Manage Environments**. 3. In the list, locate the Environment that contains the API Key that you want to delete, and select its name to view the available settings. 4. Select the **API Keys** view. 5. Select the **Ingest** view. 6. In the list, locate the Ingest Key that you want to delete, and select its **Delete** (trash) icon. 7. In the **Delete Ingest API Key?** dialog, type the name of the Ingest Key, which appears above the field. 8. Select **Delete**. Your Ingest Key will no longer show in the list, but it may take several minutes for the process to complete. ## Disable Configuration Keys > [!NOTE] > > To disable a Configuration Key, you must be a [Team Owner](/configure/teams/manage-permissions/), and you must have at least one remaining Configuration Key in your Environment. To disable your Configuration Key: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select **Manage Environments**. 3. In the list, locate the Environment that contains the API Key that you want to disable, and select its name to view the available settings. 4. Select the **API Keys** view. 5. Select the **Configuration** view. 6. In the list, locate the Configuration Key that you want to disable, and select its **Edit** (pencil) icon, then select **Edit**. 7. Turn off the **Enabled** toggle. 8. Select **Save**. Your Configuration Key remains in the list, and its **Status** changes to **Disabled**. It may take several minutes for the change to go into effect. ## Enable Configuration Keys > [!NOTE] > > To enable a Configuration Key, you must be a [Team Owner](/configure/teams/manage-permissions/). To enable your Configuration Key: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select **Manage Environments**. 3. In the list, locate the Environment that contains the API Key that you want to enable, and select its name to view the available settings. 4. Select the **API Keys** view. 5. Select the **Configuration** view. 6. In the list, locate the Configuration Key that you want to enable, and select its **Edit** (pencil) icon, then select **Edit**. 7. Turn on the **Enabled** toggle. 8. Select **Save**. Your Configuration Key's **Status** changes to **Enabled**. It may take several minutes for the change to go into effect. ## API Key Permissions Honeycomb uses two types of Environment-level API keys, each for different purposes: * **Ingest Keys**: Generally used to send telemetry data to Honeycomb. * **Configuration Keys**: Generally used to manage resources in your Honeycomb Environment. However, you can manage the actions that API Keys may perform in your Environment at a more granular level. ### Ingest Keys Ingest Keys are Environment-level API Keys that you can use to send telemetry data to Honeycomb. Ingest Keys have a single permission available, **Can create services/datasets**, which controls whether they can implicitly create datasets. If an event is sent to Honeycomb specifying a non-existent dataset, Honeycomb will create a new dataset if the associated Ingest Key can implicitly create datasets. > [!NOTE] > > You cannot change permissions assigned to an Ingest Key after you have created the key. > You can delete the Ingest Key. You can programmatically manage Ingest Keys by using our [Key Management APIs](/api/key-management). ### Classic Ingest Keys Ingest Keys are supported for [Honeycomb Classic](/troubleshoot/product-lifecycle/recommended-migrations/#migrate-from-honeycomb-classic-to-honeycomb-environments) environments, provided the minimum required version of the software sending data in is in use. Please reference the table below to find the minimum supported version for your libraries, and upgrade, if necessary, prior to using Ingest Keys. | Library | Minimum Version | | - | - | | [beeline-go](https://github.com/honeycombio/beeline-go) | 1.15.0 | | [beeline-java](https://github.com/honeycombio/beeline-java) | 2.2.0 | | [beeline-nodejs](https://github.com/honeycombio/beeline-nodejs) | 4.1.0 | | [beeline-python](https://github.com/honeycombio/beeline-python) | 3.6.0 | | [beeline-ruby](https://github.com/honeycombio/beeline-ruby) | 3.1.0 | | [buildevents](https://github.com/honeycombio/buildevents) | 0.16.0 | | [honeycomb-opentelemetry-dotnet](https://github.com/honeycombio/honeycomb-opentelemetry-dotnet) | 1.5.0 | | [honeycomb-opentelemetry-go](https://github.com/honeycombio/honeycomb-opentelemetry-go) | 0.10.0 | | [honeycomb-opentelemetry-java](https://github.com/honeycombio/honeycomb-opentelemetry-java) | 1.6.0 | | [honeycomb-opentelemetry-node](https://github.com/honeycombio/honeycomb-opentelemetry-node) | 0.7.0 | | [honeycomb-opentelemetry-python](https://github.com/honeycombio/honeycomb-opentelemetry-python) | 0.4.0b0 | | [honeycomb-opentelemetry-web](https://github.com/honeycombio/honeycomb-opentelemetry-web) | 0.0.4 | | [libhoney-dotnet](https://github.com/honeycombio/libhoney-dotnet) | 1.4.0 | | [libhoney-go](https://github.com/honeycombio/libhoney-go) | 1.22.0 | | [libhoney-java](https://github.com/honeycombio/libhoney-java) | 1.6.0 | | [libhoney-js](https://github.com/honeycombio/libhoney-js) | 4.2.0 | | [libhoney-py](https://github.com/honeycombio/libhoney-py) | 2.4.0 | | [libhoney-rb](https://github.com/honeycombio/libhoney-js) | 2.3.0 | | [husky](https://github.com/honeycombio/husky) | 0.26.0 | | [refinery](https://github.com/honeycombio/refinery) | 2.5.0 | ### Configuration Keys Configuration Keys are API Keys that you can use to manage resources in your Honeycomb Environments. Configuration Keys may have any number of these permissions: > [!TIP] > > Although you may use Configuration Keys to send telemetry data to Honeycomb, we recommend that you use Ingest Keys instead; they are built specifically for this purpose. | API Key Permission | [Auth API value](https:///api/auth/) | Description | | - | - | - | | Send events to Honeycomb | `send events` | Send events to Honeycomb. Used as the API Key for [sending data](/send-data/) and for the [Events API](/api/events/). | | Manage datasets | `create datasets` | [Create and manage datasets via API](/api/datasets/). Datasets may also be created implicitly; if an event is sent to Honeycomb specifying a non-existent dataset, an event using an API key with this permission will create a new dataset. | | Queries and columns | `queries and columns` | Create and manage [queries](/api/queries/), [columns](/api/columns/), [calculated fields](/api/calculated-fields/), and [query annotations](/api/query-annotations/). | | Run queries | `run queries` | Execute existing queries using the [Query Data API](/api/query-data/). This feature is available as part of the [Honeycomb Enterprise plan](https://www.honeycomb.io/pricing/). | | Public Boards | `boards` | Create and manage [Boards](/api/boards/). | | SLOs | `SLOs` | Create and manage [SLOs](/api/slos/) and their [Burn Alerts](/api/burn-alerts/). SLO Management is available as part of the [Honeycomb Pro and Enterprise plans](https://www.honeycomb.io/pricing/). SLO Reporting is only available on the [Honeycomb Enterprise plan](https://www.honeycomb.io/pricing/). | | Triggers | `triggers` | Create and manage [Triggers](/api/triggers/). | | Recipients | `recipients` | Create and manage [Recipients](/api/recipients/). | | Markers | `markers` | Create and manage [Markers](/api/markers/). | | Read service maps | `service maps` | Read [service maps](/api/service-maps/) dependencies. This feature is available as part of the [Honeycomb Enterprise plan](https://www.honeycomb.io/pricing/). | ## Troubleshoot To see common issues when managing API Keys and their solutions, visit [Common Issues with Configuring Honeycomb: API Keys](/troubleshoot/common-issues/configuring-honeycomb/#api-keys). # Manage Environment Markers Source: https://docs.honeycomb.io/configure/environments/manage-markers Create, delete, and style markers at the Environment level to flag deployments, incidents, and feature flag changes across all datasets in that environment. Each Environment allows you to define markers for use within it. > [!TIP] > > You can create markers at both the Dataset and the Environment level. > When you create a marker at the Dataset level, you can use it only within its associated Dataset. > When you create a marker at the Environment level, you can use it across all Datasets in your Environment. You can manage markers and marker settings using the Honeycomb UI or the Honeycomb API. To learn how to manage markers via the API, visit [Honeycomb API: Markers](/api/markers/). To learn how to manage marker settings via the API, visit [Honeycomb API: Marker Settings](/api/marker-settings/). ## What are Markers? Markers are custom labels that you can add to your data to emphasize specific data points in time, such as when you change a condition, deploy code, or have an outage. Markers display as vertical lines on graphs in Honeycomb to signal interesting occurrences within the context of your queries. ## Uses Use markers to identify points in time, such as: * deployments * incidents * activated or resolved Triggers * enabled or disabled feature flags > [!TIP] > > You should create an Environment-level marker when the range of time is relevant across multiple datasets and services, such as a during a deployment. ## Change Marker Color > [!NOTE] > > You must be a [Team Owner](/configure/teams/manage-permissions/) to change a marker's color. To change your marker color: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select **Manage Environments**. 3. In the list, locate the environment that contains the marker you want to edit, and select its name to view the available settings. 4. Select the **Markers** view. 5. In the list, locate the **Marker Type** you want to change, and select the desired color from the dropdown in the **Color** column. We save your changes automatically. ## Add Markers From the UI To create a marker from the Honeycomb UI: 1. In your query results, move your cursor over the graph to your desired time point. 2. Select your desired time point, which causes the graph menu options to appear. 3. Select **Add marker**. The **Add a Marker** modal appears. ![Screenshot illustrating the 'Add a Marker' dialog box](https://mintcdn.com/honeycomb/ubU2dY8GwHCSzegF/_assets/images/markers/add-a-marker.png?fit=max\&auto=format\&n=ubU2dY8GwHCSzegF\&q=85\&s=015ec3770b6c951c05df6c08378c22d2) 4. Enter the following information: 1. A Message for your marker, such as "Deploy #299" or "Abnormal Spike in Products Page Traffic". 2. A Type for the marker, such as "deploy" or "trigger". After creation, the type appears as a preface to the marker's message when viewing the marker details. 3. The URL field is optional, but provides a great way for more context about the marker. 4. Select the "Environment-wide" checkbox to apply this marker to **all** datasets in your environment. 5. When finished, select **Create** to add your marker to the graph. > [!TIP] > > To add markers via a command line tool or further manage existing markers, use either `curl` or `honeymarker`, a lightweight marker management tool that provides a CRUD command line interface. > Refer to our Markers documentation for more information. ## View Markers in the UI Once created, markers appear on any queries that run within the same time period as the marker(s). Each marker type can appear in its own color. Hover over the Marker () to view a marker's details. A solid vertical line appears and a window displays the marker's name, description, and if applicable, a selectable URL. To persist the marker's vertical line and information window, select the downward caret icon. To close the persisted display, use the icon () that appears in the window after selection. ![Screenshot illustrating a selected marker and marker details](https://mintcdn.com/honeycomb/ubU2dY8GwHCSzegF/_assets/images/markers/view-marker.png?fit=max\&auto=format\&n=ubU2dY8GwHCSzegF\&q=85\&s=ab461160f5f78aa363961db934c985a5) ## Filter Markers in the UI By default, Honeycomb shows environment markers in environment-wide queries and dataset markers in dataset queries. Use **Filter Markers** to modify what markers appear in the query results. To access **Filter Markers**, either: 1. Press `l` on your keyboard 2. Select the Marker options icon () below the time picker in your query results, and select **Filter Markers**. The Filter Markers modal appears. Use to modify what markers appear based on: 1. on their value 2. whether or not markers of the opposite type (environment/dataset) are allowed 3. their marker type ![Screenshot illustrating the 'Filter Markers' dialog box for a dataset query](https://mintcdn.com/honeycomb/ubU2dY8GwHCSzegF/_assets/images/markers/filter-markers.png?fit=max\&auto=format\&n=ubU2dY8GwHCSzegF\&q=85\&s=32df2a601ceff4a04f6e5d5ded6c0994) # Configure Team Access Source: https://docs.honeycomb.io/configure/teams/configure-access Let team members authenticate with SSO using Google, Okta SAML, or Microsoft Entra ID. Configure access to allow members of your Team to authenticate using various methods of Single Sign-on (SSO). > [!NOTE] > > This feature is available as part of the [Honeycomb Pro and Enterprise plans](https://www.honeycomb.io/pricing/). > [card] [Configure Access with Google SSO](/configure/teams/configure-access/sso-google/) > > Configure access to let team members authenticate using Google Single Sign-on (SSO). > [card] [Configure Access with Okta/SAML SSO](/configure/teams/configure-access/sso-okta-saml/) > > Configure access to let team members authenticate using Okta SAML Single Sign-on (SSO). > [card] [Configure Access with Microsoft Entra ID/SAML SSO](/configure/teams/configure-access/sso-microsoft-entra-id-saml/) > > Configure access to let team members authenticate using Microsoft Entra ID Single Sign-on (SSO). > [card] [Rotate Your SAML Certificate](/configure/teams/configure-access/saml-certificate-rotation/) > > Learn how to update your SAML Service Provider certificate when Honeycomb releases new certificates. # Rotate Your SAML Certificate Source: https://docs.honeycomb.io/configure/teams/configure-access/saml-certificate-rotation Update your Honeycomb SAML Service Provider certificate when Honeycomb releases a new one to keep SSO authentication working without interruption. EntPro > [!NOTE] > > This feature is available as part of the [Honeycomb Pro and Enterprise plans](https://www.honeycomb.io/pricing/). Honeycomb periodically updates the Service Provider certificates used for SAML Single Sign-On (SSO) authentication. When a new certificate is available, Team Owners will see a notification in their team's SAML settings and should update their Identity Provider configuration to use the new certificate. ![Team SAML settings showing a warning banner saying that the certificate has expired but will still be honored](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/certs/expired-cert.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=72141b1968cd24e9ff128db0ea7b337e) > [!NOTE] > > Honeycomb continues to honor older certificates even after newer ones are available. > However, we recommend updating to the latest certificate for improved security and to ensure continued support. ## Before you begin To successfully complete this guide, you should have: * Team Owner permissions in Honeycomb * Administrative access to your SAML Identity Provider (IdP) (such as Okta or Microsoft Entra ID) * A SAML Identity Provider that is configured to encrypt assertions * An active SAML SSO configuration for your Team ## Copy the new certificate 1. In Honeycomb, navigate to **Account** > **Team Settings**. 2. Select the **Team Details** view. 3. Locate the **Single Sign-On** section. 4. Select **Change** next to your SAML configuration. 5. In the SAML configuration form, locate the **Service Provider Certificate** field. This field displays the latest certificate that your IdP needs to use. 6. Select the copy button next to the Service Provider Certificate. 7. Save the copied Certificate to a local file. Most Identity Providers require it in `.pem` format. ## Update your Identity Provider Now update your Identity Provider configuration with the new Service Provider Certificate. The specific steps vary depending on your Identity Provider. ### Okta To update the certificate in Okta: 1. Open a new browser tab and navigate to your Okta admin console. 2. Go to **Applications** > **Applications**. 3. Select your Honeycomb application from the list. 4. Select the **General** tab. 5. In the **SAML Settings** section, select **Edit**. 6. Select **Next** to advance past the General Settings. 7. Select **Show Advanced Settings**. 8. Ensure that the "Assertion Encryption" field is set to "Encrypted". If it is set to "Unencrypted", you do not need to do anything. 9. In the **Encryption Certificate** field, upload the certificate file you saved from Honeycomb. 10. Select **Next**, then **Finish**. ![SAML advanced settings configuration page in Okta showing dropdown menus for security parameters like signature algorithms, encryption settings, and certificate upload options.](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/certs/okta-assertion-options.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=d9616a82b6098a31b5310eb2522d93c9) ### Other SAML providers If you use a different SAML Identity Provider, locate the equivalent certificate or encryption certificate settings in your provider's administration interface. Upload or paste the new Service Provider Certificate that you copied from Honeycomb. ## Complete the certificate update After updating your Identity Provider with the new certificate, complete the update process in Honeycomb: 1. Return to the browser tab with your Honeycomb SAML configuration form. 2. Select **Update SAML Configuration**. 3. Complete the authentication flow with your Identity Provider. If successful, you return to your team's Home page in Honeycomb. The warning notification in your team's SAML settings should no longer appear. For more information about SAML configuration, see: * [Configure Access with Okta/SAML SSO](/configure/teams/configure-access/sso-okta-saml/) * [Configure Access with Microsoft Entra ID/SAML SSO](/configure/teams/configure-access/sso-microsoft-entra-id-saml/) * [Log in with SAML SSO]("/get-started/honeycomb/log-in-with-saml-sso") # Configure Access with Google SSO Source: https://docs.honeycomb.io/configure/teams/configure-access/sso-google Require your Honeycomb Team to authenticate with Google SSO, or allow individual members to opt in to Google login without a team-wide requirement. In Honeycomb, Team Owners can [require that team members authenticate using Google Single Sign-On (SSO)](#requiring-a-team-to-use-google-sso) if the team has a Google Workspace hosted domain. Even when Google SSO is not required, individual users can choose to use their Google accounts to log in to Honeycomb: * New users can [sign up for Honeycomb](#signing-up-for-honeycomb-using-your-google-account) using their Google account * Existing users can enable Google SSO for their individual Honeycomb accounts by [linking an individual Google account](#enabling-google-sso-for-an-existing-honeycomb-account) > [!WARNING] > > Honeycomb only supports a single Google SSO hosted domain for a Honeycomb Team. > If your Google Workspace has multiple hosted domains, only one can be used for Google SSO with Honeycomb. ## Requiring a team to use Google SSO If you're a Team Owner, you can require that your Team's members authenticate using Google SSO. ### Before you begin To successfully require Google SSO for your Team, you should have a Google Workspace hosted domain. Each Google Workspace hosted domain corresponds to only one Honeycomb Team, and new accounts are automatically added to this Team. For example, all users signing in from `myexample.com` will be added to the Team that corresponds to `myexample.com`. > [!WARNING] > > Once SSO is enabled for your Honeycomb Team, all users on your team will need to authenticate through that SSO provider to access the team. > Any users that do not exist within your team's chosen SSO provider will not be able to log in. > [!NOTE] > > A Honeycomb account can be linked to more than one SAML IdP, so linking this account won't affect any existing IdP connections. ### Enable Google SSO for an existing Honeycomb Team owner account Before you can require that your Honeycomb Team authenticate using Google SSO, you should enable Google SSO for your Team Owner account: 1. Log in to Honeycomb using your Team Owner account. 2. Navigate to [**Account** > **My account**](https://ui.honeycomb.io/account). 3. Locate your name and email address, and select **Google SSO Link Account**. 4. When prompted, complete the additional steps to authenticate with Google. > [!TIP] > > To ensure better security, enable two-factor authentication, if possible. Notice that your account page now shows **(Google SSO)** next to your email address. The next time you access the Honeycomb UI, you can [log in using your Google account](#logging-in-to-honeycomb-using-your-google-account). ### Convert your Honeycomb Team to Google SSO Next, require Google SSO for your Honeycomb Team: 1. In Honeycomb, navigate to **Account** > **Team Settings**, and select the **Team Details** view. 2. Locate the **Single Sign-On** section, which displays any previous SSO configuration. 3. Select **Enable SSO**. ![Enable SSO](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/okta/hny-team-settings-sso-enable.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=7e91d3bc23f5053305bb078eaa5cca7f) 4. In the SSO provider configuration modal, select **Google**, then select **Next**. 5. You can also choose a **Default Role** to assign to new users joining your team through SSO. If you don't choose a default role, **Read-Only** will be the default role. 6. When prompted, complete the additional steps to authenticate with Google. Notice that your Team Settings page now shows **Single Sign-On: Enabled**. Your team members will now need to use Google SSO to log in to Honeycomb. ## Signing up for Honeycomb using your Google account If you are a new user and you want to sign up for Honeycomb using your Google account: 1. Navigate to the [Honeycomb sign-up page](https://ui.honeycomb.io/signup), and select **Sign up with Google**. ![Sign up with Google](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/google/signup-with-google.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=d871177c86e8f4207ff456e904ad5ffc) 2. When prompted, choose your Google account, then complete the additional sign-up steps. ## Enabling Google SSO for an existing Honeycomb account If you created your Honeycomb account with email address/password as credentials, you can link your Google account to your Honeycomb account and use Google to log in to Honeycomb thereafter: 1. Navigate to [**Account** > **My account**](https://ui.honeycomb.io/account). 2. Locate your name and email address, and select **Google SSO Link Account**. 3. When prompted, complete the additional steps to authenticate with Google. > [!TIP] > > To ensure better security, enable two-factor authentication, if possible. Notice that your account page now shows **(Google SSO)** next to your email address. The next time you access the Honeycomb UI, you can [log in using your Google account](#logging-in-to-honeycomb-using-your-google-account). ## Logging in to Honeycomb using your Google account If you originally [signed up for Honeycomb using your Google account](#signing-up-for-honeycomb-using-your-google-account) or have [enabled Google SSO for an Existing Honeycomb account](#enabling-google-sso-for-an-existing-honeycomb-account), you can log in to Honeycomb using your Google account: 1. Navigate to the [Honeycomb UI](https://ui.honeycomb.io), and select **Login with Google**. ![Log in with Google](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/google/login-with-google.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=905f8384b0e92d2363fcf73c03d42810) 2. When prompted, choose your Google account. > [!TIP] > > If you encounter an error while signing in, [check out our troubleshooting section](#troubleshooting). ## Troubleshooting To explore common issues when configuring access, visit [Common Issues with Configuring Honeycomb: Google SSO](/troubleshoot/common-issues/configuring-honeycomb/#google-sso). ### Honeycomb does not support multiple hosted domains Honeycomb currently only supports a single Google SSO hosted domain for a Honeycomb Team. Although your Google Workspace may have multiple hosted domains attached to it, only one can be used for Google SSO with Honeycomb. # Configure Access with Microsoft Entra ID/SAML SSO Source: https://docs.honeycomb.io/configure/teams/configure-access/sso-microsoft-entra-id-saml Require your Honeycomb Team to authenticate via Microsoft Entra ID, formerly Azure Active Directory. EntPro > [!NOTE] > > This feature is available as part of the [Honeycomb Pro and Enterprise plans](https://www.honeycomb.io/pricing/). Enable single sign-on (SSO) to authenticate to Honeycomb with your Microsoft Entra account. Microsoft Entra ID is formerly known as Microsoft Azure Active Directory (Azure AD). In Honeycomb, Team Owners can require that their team members authenticate using Single Sign-On (SSO) via an external SAML 2.0 Identity Provider, such as Okta or Microsoft Entra ID. When you configure SSO via an external SAML Identity Provider, you must get information generated during the configuration process from both Honeycomb and your Identity Provider. Because you will also need to enter information into both Honeycomb and your Identity Provider's user interface, you will need to use more than one browser tab. > [!NOTE] > > In this guide, we demonstrate a SAML Identity Provider configuration using Microsoft Entra ID. > If you are using a different SAML Identity Provider, field names and locations may vary, so you will need to locate the corresponding fields in your Identity Provider's user interface. ## Before You Begin To successfully complete this guide, you should have an active [Microsoft Entra](https://entra.microsoft.com/) account. > [!WARNING] > > Once SSO is enabled for your Honeycomb Team, all users on your team will need to authenticate through that SSO provider to access the team. > Any users that do not exist within your team's chosen SSO provider will not be able to log in. > [!NOTE] > > A Honeycomb account can be linked to more than one SAML IdP, so linking this account won't affect any existing IdP connections. ## Enable SSO in Honeycomb To begin, enable SSO in Honeycomb, which will allow you to get Honeycomb's Service Provider settings: 1. In Honeycomb, navigate to **Account** > **Team Settings**, and select the **Team Details** view. 2. Locate the **Single Sign-On** section, which displays any previous SSO configuration. 3. If your team is already configured to use Google SSO, turn off Google SSO. ![Turn off SSO](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/okta/hny-team-settings-sso-turn-off-google.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=0378c2c5fe2171f8fb58b4c76e896ab9) 4. Select **Enable SSO**. ![Enable SSO](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/okta/hny-team-settings-sso-enable.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=7e91d3bc23f5053305bb078eaa5cca7f) 5. In the SSO provider configuration modal, select **SAML/Okta**, then select **Next**. 6. Locate the settings required by your Identity Provider. Information you will need includes: * Service Provider Issuer * Service Provider ACS URL * Service Provider Certificate (optional, used when your Identity Provider requires encrypted SAML assertions or signed authentication requests) Leave this browser tab open, so you will have the information you need to configure your Identity Provider. ![SAML Honeycomb settings screen](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/okta/hny-team-settings-sso-saml-settings-empty.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=3177f2ff5e3d0089c29a2fb52478f9a1) > [!NOTE] > > Honeycomb generates a unique identifier based on your team name. You will see the identifier appended to the values in the **Service Provider Issuer** and **Service Provider ACS URL** fields. For this example, the team name is `Crewbacca`, so the team's generated identifier is `crewbacca`. ## Configure Your Identity Provider Next, configure your Identity Provider to work with Honeycomb. To do this, you must set up SSO for an application integration in your Identity Provider, and then specify which users should be able to use SSO to log in to your team in Honeycomb. When you configure your Identity Provider, you must [provide exact configuration values for your SAML attributes](#exact-configuration-values). > [!NOTE] > > In this section, we demonstrate a typical SAML Identity Provider configuration using Microsoft Entra ID. > If you are using a different SAML Identity Provider, field names and locations may vary, so you will need to locate the corresponding fields in your Identity Provider's user interface. ### Set Up SSO Set up SSO in your Identity Provider using the Service Provider settings you retrieved from Honeycomb: 1. Open a new browser tab, and go to your Microsoft Entra admin center. 2. In Microsoft Entra, go to **Dashboard** > **Enterprise Applications** > **Overview**. 3. Select **+ New application** and a Browse Microsoft Entra Gallery display appears. 4. Select **Create your own application**. 5. When prompted, name your app in the format "Honeycomb \[Your Team Name]" and select the **Integrate any other applications you don't find in the gallery (Non-gallery)** radio option. ![Microsoft Entra Create your own application modal](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/microsoft-entra-id/ms-entra-app.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=aeded1d41bc665868d37e03e9d2b1cce) > [!TIP] > > Because you can have multiple Honeycomb teams connected to SSO and separate SSO configurations for each Honeycomb team, ensure your chosen application name clearly defines which team uses this SSO integration. > The application name will appear in your application directory after installation. > For this example, our team name is `Crewbacca`, so we name our application `Honeycomb [Crewbacca]`. 6. Assign yourself access to the new Honeycomb enterprise application. Your user account must be assigned to the Honeycomb application in order to finish configuration. You may assign other users to the application now, or you can wait and add more users later. 7. Select **SAML** as the single sign-on method. 8. For **Set up Single Sign-On with SAML**, locate the **Basic SAML Configuration** section, and enter your retrieved Honeycomb setting values according to the following mapping: | Microsoft Entra ID Field | Honeycomb Setting Name | | - | - | | **Identifier (Entity ID)** | **Service Provider Issuer/Entity ID** | | **Reply URL (Assertion Consumer Service URL)** | **Service Provider ACS URL** | | **Sign on URL** | The `honeycomb.io` base domain from the URLs above plus the path `/login/sso/{team_slug}`. See tip below. | > [!TIP] > > To find the **Sign on URL** value for Microsoft Entra ID, navigate in Honeycomb to **Account** > **Team Settings** > **Team Details**, scroll to the **Single Sign-On** section, and copy the URL that appears in the paragraph for "manually visit `https://ui.honeycomb.io/login/sso/`. 9. Locate the **Attribute & Claims** section, and add the following values: > [!NOTE] > > Honeycomb reads the claim names (`Email`, `FirstName`, `LastName`) from your SAML assertion, so they must match exactly with any Identity Provider. > `Unique User Identifier` becomes the assertion's NameID, which Honeycomb also requires. > The **Value** column is Entra specific: it tells Microsoft Entra ID which user profile field to send. > For example, enter `user.mail`, not the user's actual email address. | Attribute Name | Value | | - | - | | `Email` | `user.mail` | | `FirstName` | `user.givenname` | | `LastName` | `user.surname` | | `Unique User Identifier` | `user.userprincipalname` | All attributes should have no namespace. Leave advanced SAML claims options as their defaults: | Advanced SAML Claims Option | Value | | - | - | | `Include attribute name format` | `Disabled` | | `Issuer with application ID` | `Disabled` | | `Audience override` | `none` | When you have finished, your complete Microsoft Entra SAML configuration for Honeycomb should look similar to our example: ![Complete Microsoft Entra SAML configuration for Honeycomb](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/microsoft-entra-id/ms-entra-complete.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=6031582247e0e9200aa1f34f655b3bc8) ## Configure Honeycomb Finally, configure SSO in Honeycomb using the Identity Provider settings you retrieved from your Identity Provider. Microsoft Entra provides a metadata URL, which allows Honeycomb to fetch the settings it needs and update them automatically. To automatically configure SSO in Honeycomb: 1. Switch to the browser tab that contains your Honeycomb Service Provider settings. 2. In Microsoft Entra, locate **App Federation Metadata Url** under the **SAML Certificates** section and copy it. 3. In Honeycomb, paste the **App Federation Metadata Url** you copied from your Identity Provider into **Identity Provider Metadata URL**. 4. You can also choose a **Default Role** to assign to new users joining your team through SSO. If you don't choose a default role, **Read-Only** will be the default role. 5. Select **Convert to SAML SSO Team**. You should see the SAML authentication flow begin. If successful, your team should now be able to use SAML SSO to authenticate. ## Log in to Honeycomb using your Microsoft Entra ID/ SAML SSO account To learn how to log in when Microsoft Entra ID / SAML SSO is configured for your Team, visit [Log in with SAML SSO](/get-started/honeycomb/log-in-with-saml-sso/). ## Certificate rotation When Honeycomb releases updated Service Provider certificates, you will see a warning notification in your team's SAML settings. To update to the new certificate, see [SAML Certificate Rotation](/configure/teams/configure-access/saml-certificate-rotation/). ## Troubleshooting To explore common issues when configuring access, visit [Common Issues with Configuring Honeycomb: Microsoft Entra ID SSO](/troubleshoot/common-issues/configuring-honeycomb/#microsoft-entra-id-sso). # Configure Access with Okta/SAML SSO Source: https://docs.honeycomb.io/configure/teams/configure-access/sso-okta-saml Require your Honeycomb Team to authenticate via Okta or another SAML 2.0 identity provider. EntPro > [!NOTE] > > This feature is available as part of the [Honeycomb Pro and Enterprise plans](https://www.honeycomb.io/pricing/). In Honeycomb, Team Owners can require that their team members authenticate using Single Sign-On (SSO) via an external SAML 2.0 Identity Provider, such as Okta. When you configure SSO via an external SAML Identity Provider, you must get information generated during the configuration process from both Honeycomb and your Identity Provider. Because you will also need to enter information into both Honeycomb and your Identity Provider's user interface, you will need to use more than one browser tab. > [!NOTE] > > In this guide, we demonstrate a typical SAML Identity Provider configuration using Okta. > If you are using a different SAML Identity Provider, field names and locations may vary, so you will need to locate the corresponding fields in your Identity Provider's user interface. ## Before You Begin To successfully complete this guide, you should have an active [Okta](https://www.okta.com/) account. > [!WARNING] > > Once SSO is enabled for your Honeycomb Team, all users on your team will need to authenticate through that SSO provider to access the team. > Any users that do not exist within your team's chosen SSO provider will not be able to log in. > [!NOTE] > > A Honeycomb account can be linked to more than one SAML IdP, so linking this account won't affect any existing IdP connections. ## Enable SSO in Honeycomb To begin, enable SSO in Honeycomb, which will allow you to get Honeycomb's Service Provider settings: 1. In Honeycomb, navigate to **Account** > **Team Settings**, and select the **Team Details** view. 2. Locate the **Single Sign-On** section, which displays any previous SSO configuration. 3. If your team is already configured to use Google SSO, turn off Google SSO. ![Turn off SSO](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/okta/hny-team-settings-sso-turn-off-google.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=0378c2c5fe2171f8fb58b4c76e896ab9) 4. Select **Enable SSO**. ![Enable SSO](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/okta/hny-team-settings-sso-enable.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=7e91d3bc23f5053305bb078eaa5cca7f) 5. In the SSO provider configuration modal, select **SAML/Okta**, then select **Next**. 6. Locate the settings required by your Identity Provider. You will need: * Service Provider Issuer * Service Provider ACS URL * Service Provider Certificate (optional, used when your Identity Provider requires encrypted SAML assertions or signed authentication requests) Leave this browser tab open, so you will have the information you need to configure your Identity Provider later. ![SAML Honeycomb settings screen](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/okta/hny-team-settings-sso-saml-settings-empty.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=3177f2ff5e3d0089c29a2fb52478f9a1) > [!NOTE] > > Honeycomb generates a unique identifier based on your team name. You will see the identifier appended to the values in the **Service Provider Issuer** and **Service Provider ACS URL** fields. > > For this example, the team name is "Crewbacca", so the team's generated identifier is `crewbacca`. ## Configure Your Identity Provider Next, configure your Identity Provider to work with Honeycomb. To do this, you must set up SSO for an application integration in your Identity Provider, and then specify which users should be able to use SSO to log in to your team in Honeycomb. > [!NOTE] > > In this section, we demonstrate a typical SAML Identity Provider configuration using Okta. > If you are using a different SAML Identity Provider, field names and locations may vary, so you will need to locate the corresponding fields in your Identity Provider's user interface. ### Set Up SSO Set up SSO in your Identity Provider using the Service Provider settings you retrieved from Honeycomb: 1. Open a new browser tab, and go to your Okta admin console. 2. In Okta, go to **Applications** > **Applications**, and select **Create App Integration**. ![Create an application](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/okta/okta-applications.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=64f6569758773a048263604f207f73c4) 3. In the sign-in method modal, select **SAML 2.0**, then select **Next**. 4. For **General Settings**, locate **App Name** and enter a name for your application, such as in the format `Honeycomb [Your Team Name]`, then select **Next**. > [!TIP] > > Because you can have multiple Honeycomb teams connected to SSO and separate SSO configurations for each Honeycomb team, be sure the application name you choose clearly defines which team uses this SSO integration. The application name will appear in your application directory after installation. > For this example, our team name is "Crewbacca", so we name our application `Honeycomb Crewbacca`. 5. For **Configure SAML**, locate the **SAML Settings** section, and enter your retrieved Honeycomb setting values according to the following mapping: | Okta Field | Honeycomb Setting Name | | - | - | | **Single sign-on URL** | **Service Provider ACS URL** | | **Audience URI (SP Entity ID)** | **Service Provider Issuer/Entity ID** | ![Fill in SAML settings](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/okta/okta-applications-create-app-integration-configure-saml-saml-settings.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=f47f856d2be9de67f42b06410e3b22d8) 6. Locate the **Attribute Statements** section, and add the following exact values, then select **Next**: > [!NOTE] > > Honeycomb reads the attribute names (`FirstName`, `LastName`, `Email`) from your SAML assertion, so they must match exactly with any Identity Provider. > The **Value** column is Okta specific: it tells Okta which user profile field to send. > For example, enter `user.email`, not the user's actual email address. | Name | Name format | Value | | - | - | - | | `FirstName` | `Unspecified` | `user.firstName` | | `LastName` | `Unspecified` | `user.lastName` | | `Email` | `Unspecified` | `user.email` | ![Fill in attribute statements](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/okta/okta-applications-create-app-integration-configure-saml-saml-settings-attributes.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=12b5b5db3974c959369b87c58198a644) 7. For **Feedback**, select the following values, then select **Finish**: | Field | Value | | - | - | | **Are you a customer or a partner?** | `I'm an Okta customer adding an internal app` | | **Contact app vendor** | `It's required to contact the vendor to enable SAML` | 8. From the application's SSO settings, locate and copy the **Metadata URL**. You will need this information to configure Honeycomb. ![Sign on tab](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/okta/okta-applications-sign-on-settings.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=a90aeb1b72a2389389349a69797a9d2f) > [!NOTE] > > Although most modern SAML Identity Providers, like Okta, provide a Metadata URL, not all do. If your Identity Provider does not provide a Metadata URL, you must locate the required information to configure Honeycomb. Information you need includes: > > * Identity Provider Issuer > * Identity Provider SSO URL > * Identity Provider Certificate (optional, used when your Identity Provider requires signed authentication requests) ### Assign Users Assign users to the Honeycomb application in your Identity Provider: > [!NOTE] > > To finish your Honeycomb configuration, you must assign your own user account to the Honeycomb application in your Identity Provider. If you want, you can wait and add more users later. 1. Go to your new application, and select the **Assignments** view. 2. Select **Assign** > **Assign to People** or **Assign to Groups**, depending on whether you want to allow individual users or specific groups to log in to your team in Honeycomb. ![Select Assignments tab in your Honeycomb Application settings](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/sso/okta/okta-applications-assignments-assign.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=78a5f3c0a09c047264ab483b5d352902) 3. In the group assignment modal, search for and select **Assign** next to the individual users or specific groups you want to allow to log in to your team in Honeycomb using SSO, then select **Done**. Remember to assign your own account to the application. 4. Confirm that the **Assignments** view reflects your selections. ## Configure Honeycomb Finally, configure SSO in Honeycomb using the Identity Provider settings you retrieved from your Identity Provider. Some Identity Providers, like Okta, provide a metadata URL, which allows Honeycomb to fetch the settings it needs and update them automatically. Other SAML Identity Providers may not provide metadata URLs. If your Identity Provider does not provide a metadata URL, you must configure Honeycomb manually and maintain its configuration settings. > [tab] Configure Honeycomb Automatically > > If your Identity Provider provided a metadata URL, like Okta does, automatically configure SSO in Honeycomb: > > 1. Switch to the browser tab that contains your Honeycomb Service Provider settings, locate the **Identity Provider Metadata URL**, and paste the metadata URL you copied from your Identity Provider. > 2. You can also choose a **Default Role** to assign to new users joining your team through SSO. If you don't choose a default role, **Read-Only** will be the default role. > 3. Select **Convert to SAML SSO Team**. > > ![SAML Honeycomb settings screen](https://mintcdn.com/honeycomb/UWmPs2Buxrkyo4VN/_assets/images/sso/okta/hny-team-settings-sso-saml-settings.png?fit=max\&auto=format\&n=UWmPs2Buxrkyo4VN\&q=85\&s=f8de336d482fc6cc4772af146e6a141a) > [tab] Configure Honeycomb Manually > > If your Identity Provider does not provide a metadata URL, you must configure Honeycomb manually with the information that you located from your Identity Provider: > > 1. Switch to the browser tab that contains your Honeycomb Service Provider settings, and select **Enter settings manually**. Notice that the **Identity Provider Metadata URL** field has been replaced by separate fields corresponding to the settings that Honeycomb requires. > > 2. (Optional) Choose a **Default Role** to assign to new users joining your team through SSO. If you don't choose a default role, **Read-Only** will be the default role. > > 3. Enter the retrieved Identity Provider setting values: > > * Identity Provider Issuer > * Identity Provider SSO URL > * Identity Provider Certificate (optional, used when your Identity Provider requires signed authentication requests) > > 4. Select **Convert to SAML SSO Team**. > > > [!NOTE] > > > > If a "SAML Assertion" error appears, verify that your SSO Identity Provider **Audience** and **Recipient** fields match your Honeycomb team settings SSO **Service Provider Issuer/Entity ID** and **Service Provider ACS URL** fields. > > The **Audience** field should contain: `https://ui.honeycomb.io/saml/`, while the **Recipient** field should contain: `https://ui.honeycomb.io/auth/callback/saml/`. > > ![SAML Honeycomb settings screen](https://mintcdn.com/honeycomb/UWmPs2Buxrkyo4VN/_assets/images/sso/okta/hny-team-settings-sso-saml-settings.png?fit=max\&auto=format\&n=UWmPs2Buxrkyo4VN\&q=85\&s=f8de336d482fc6cc4772af146e6a141a) You should see the SAML authentication flow begin. If you configured Okta as your Identity Provider, you see an Okta animation. If successful, your team should now be able to use SAML SSO to authenticate. ## Log in to Honeycomb using your Okta / SAML SSO account To learn how to log in when Okta / SAML SSO is configured for your Team, visit [Log in with SAML SSO](/get-started/honeycomb/log-in-with-saml-sso/). ## Certificate rotation When Honeycomb releases updated Service Provider certificates, you will see a warning notification in your team's SAML settings. To update to the new certificate, see [SAML Certificate Rotation](/configure/teams/configure-access/saml-certificate-rotation/). ## Troubleshooting To explore common issues when configuring access, visit [Common Issues with Configuring Honeycomb: SAML SSO](/troubleshoot/common-issues/configuring-honeycomb/#saml-sso). # Customize Telemetry Schema Source: https://docs.honeycomb.io/configure/teams/customize-telemetry-schema Define a custom telemetry schema so that MCP tools understand your team's telemetry data and give AI agents accurate, team-specific context. [Honeycomb MCP tools](/integrations/mcp/concepts/) use attribute descriptions to understand your telemetry data. By default, these descriptions come from standard [OpenTelemetry semantic conventions](https://opentelemetry.io/docs/specs/semconv/) and Honeycomb's built-in attribute registry. If your team uses custom attributes, you can define descriptions for them so that AI agents understand what those attributes mean in the context of your system, giving them team-specific context when they search attributes, explore fields, or describe your data. ## How it works Honeycomb's attribute registry is a merged stack of three layers. Your team can customize the top layer to teach AI agents about your team's specific attributes. ### Custom attribute descriptions You define custom attribute descriptions for your team using a custom telemetry schema, a YAML-based configuration that overlays the standard OpenTelemetry and Honeycomb attribute definitions with your own. For a full list of supported fields, refer to the [Supported Fields](#supported-fields) section. ### Attribute resolution Honeycomb resolves attribute descriptions by merging three layers in order: 1. **OpenTelemetry base**: Standard [OpenTelemetry semantic conventions](https://opentelemetry.io/docs/specs/semconv/) (for example, `http.request.method`, `service.name`). 2. **Honeycomb overlay**: Honeycomb-specific field names produced during OTLP translation (for example, `duration_ms`, `samplerate`). 3. **Team overlay**: Your custom attribute descriptions, defined as a custom telemetry schema. When the same attribute appears in more than one layer, the later layer takes precedence. Your team overlay replaces any default description for attributes you define in it; all other attributes continue to use their standard definitions. ### Tools that use the registry The following MCP tools use the merged registry when they reason about your data: * `search_semconv` * `get_semconv_attribute` * `list_semconv_namespaces` * `get_dataset_columns` * `find_columns` * `get_workspace_context` ## Managing your registry Use the **Telemetry Schema** page in **Team Settings** to define, update, or remove your team's custom attribute descriptions. ### Viewing your registry > [!NOTE] > > To complete this task, you must be a [Team Owner](/configure/teams/manage-permissions/). Check your current registry to confirm what descriptions are active for your team before making changes. 1. Select **Account** from the navigation menu, then **Team Settings**. 2. Select the **Telemetry Schema** tab. If your team has already defined a registry, it appears in the editor. If not, the editor is empty and ready for input. ### Creating or updating your registry > [!NOTE] > > To complete this task, you must be a [Team Owner](/configure/teams/manage-permissions/). Add or update your registry to give AI agents richer context about your team's custom attributes the next time they explore your telemetry data. 1. Select **Account** from the navigation menu, then **Team Settings**. 2. Select the **Telemetry Schema** tab. 3. Enter or paste your registry YAML into the editor. The YAML must follow the [OpenTelemetry Weaver format](https://github.com/open-telemetry/weaver). For a full list of supported fields, refer to the [Supported Fields](#supported-fields) section. 4. Select **Save Schema** to save a new registry, or **Update Schema** to replace an existing one. Honeycomb validates the YAML against the OpenTelemetry Weaver schema before saving. If the YAML is invalid, an error message describes what went wrong. ### Deleting your registry > [!NOTE] > > To complete this task, you must be a [Team Owner](/configure/teams/manage-permissions/). Delete your registry to remove all custom attribute descriptions for your team. 1. Select **Account** from the navigation menu, then **Team Settings**. 2. Select the **Telemetry Schema** tab. 3. Select **Delete Schema**. 4. Confirm the deletion in the dialog. MCP tools fall back to the standard OpenTelemetry and Honeycomb attribute descriptions. ## Registry format The custom telemetry schema uses the [OpenTelemetry Weaver YAML format](https://github.com/open-telemetry/weaver), the same format used by the OpenTelemetry project to define semantic conventions. Each registry file contains one or more attribute groups. Each group has a unique ID, a type, a brief description, and a list of attributes. ### Example The following example defines three custom attributes for a commerce platform: ```yaml theme={} groups: - id: acme.commerce type: attribute_group brief: ACME commerce platform attributes attributes: - id: acme.order.priority type: string brief: Order fulfillment priority tier (standard, express, overnight) - id: acme.warehouse.region type: string brief: Regional warehouse code that processed the order - id: acme.cart.item_count type: int brief: Number of distinct items in the shopping cart at checkout ``` This example uses `id` to identify each attribute, which matches the Weaver-native registry format. You can paste a registry generated by the [Weaver CLI](https://github.com/open-telemetry/weaver) as-is, without renaming fields. For a full list of supported fields, refer to the [Supported Fields](#supported-fields) section. ### Supported fields The registry YAML supports the following fields for attributes and groups. #### Attribute fields Each attribute supports: | Field | Required | Description | | - | - | - | | `id` | Yes | The attribute identifier, which must exactly match the field name in your Honeycomb telemetry data. This is the Weaver-native field. Honeycomb also accepts `name` as an alias, which matches the field used in a resolved Weaver schema. | | `type` | Yes | The attribute type: `string`, `int`, `double`, `boolean`, `string[]`, `int[]`, `double[]`, or `boolean[]`. | | `brief` | Yes | A short description of the attribute. This is what MCP tools surface to AI agents. | #### Group fields Each group supports: | Field | Required | Description | | - | - | - | | `id` | Yes | A unique identifier for the group, typically using dot-separated namespacing. | | `type` | Yes | Must be `attribute_group`. | | `brief` | Yes | A short description of the group. | | `note` | No | Additional context or usage notes for the group. | | `attributes` | Yes | The list of attributes in the group. | ## Best practices Follow these guidelines to get the most out of your custom telemetry schema. * **Name attributes to exactly match your field names**: The `id` value must match the field name in your Honeycomb telemetry data exactly for MCP tools to apply the description. * **Write briefs for someone unfamiliar with your system**: The `brief` field is what AI agents see. Describe what the attribute represents and what its values mean, not just what the name suggests. * **Group related attributes**: Use attribute groups to organize attributes by service, domain, or team. The group `brief` gives AI agents additional context about how those attributes relate to each other. * **Define only what you need to customize**: You only need to define attributes where you want to override or supplement the standard OpenTelemetry or Honeycomb attributes. # Investigate Team Activity Source: https://docs.honeycomb.io/configure/teams/investigate-activity Monitor how your team uses Honeycomb. Track team activity such as configuration changes, user logins & sessions, and statistics about the telemetry you send. Ent > [!NOTE] > > This feature is available as part of the [Honeycomb Enterprise plan](https://www.honeycomb.io/pricing/). The Activity Log is an environment for telemetry generated from your team's Honeycomb usage. In this environment, you can observe and investigate your team's activity using all of Honeycomb's features. The Activity Log Environment contains a dataset for the following resources: * [Anomaly Detection Signals](#anomaly-detection-signals): signal setting changes, and the notification recipients assigned to a signal * [API Keys](#api-keys): create, update, delete, enable, and disable * [Boards](#boards): create, update, and delete * [Burn Alerts](#burn-alerts): create, update, delete, and state changes to/from `Triggered` * [Calculated Fields](#calculated-fields), otherwise known as Derived Columns: create, update, and delete * [OAuth Sessions](#oauth-sessions): create, update, and revoke * [Query Results](#query-results): completed query runs * [SLOs](#slos): create, update, delete, budget resets, and Service Level Indicator (SLI) expression updates * [Telemetry Stats](#telemetry-stats): aggregated statistics about the telemetry you send to Honeycomb, including rejections * [Triggers](#triggers): create, update, delete, and state changes to/from `Triggered` * [Users](#users): logins ## Report on All Team Activity You can interact with activity logs through reports. ### Access Activity Log Reports > [!NOTE] > > To access Activity Log reports, you must be a [Team Owner](/configure/teams/manage-permissions/). To access Activity Log reports: 1. Log in to the Honeycomb UI. 2. From the navigation bar, select **Account**, then select **Team settings**. 3. Select the **Activity Log** view. ### Export Activity Log Reports You can download all available team activity as a CSV file with a standard retention window of the last 60 days. Each entry in the CSV file includes: * Who performed the action * What time the action was performed * What kind of action was performed * Whether or not the action succeeded or failed To download your Activity Log reports: 1. Log in to the Honeycomb UI. 2. From the navigation bar, select **Account**, then select **Team settings**. 3. Select the **Activity Log** view. 4. Select **Download CSV**. #### File Schema The downloaded Activity Log CSV file uses the following schema and definitions. Not all attributes are relevant; only some may apply to each entry. * **timestamp**: Timestamp when the action was recorded by the system. * **resource.type**: Type of resource the log relates to. * **resource.action**: Create, Update, or Delete. In the case of certain resources, can be a system event. * **resource.id**: Unique identifier associated with the resource being modified, if applicable. * **environment.slug**: Slug (unique name) of the specific Honeycomb Environment associated with the entry, if applicable. * **dataset.slug**: Slug (unique name) of the specific Honeycomb Dataset associated with the entry, if applicable. * **changed_fields**: For Create, Update, or Delete logs, attributes of the resource that changed. * **user.id**: User's ID if the log is the result of a user action. `System` if the log is the result of an automated action. * **user.email**: User's email address if a log is the result of a user action. * **user.ip_address**: IP address that generated the log (only available on User Login entries). * **metadata**: Other information about the event or change, if available. ### Export Activity Log Data for a Specific Resource Each Dataset within your Activity Log Environment contains a stream of activity related to one resource. To investigate activity for a specific resource, you can export Activity Log data for the dataset that corresponds to the target resource. To download your Activity Logs for a particular dataset: 1. Log in to the Honeycomb UI. 2. In the left navigation menu, select **Manage Data**. 3. In the list, locate and select **Datasets**. 4. Select the **Activity Log** view. 5. Select **Download CSV**. To learn more about the information you can report on and the file schema, visit [File Schema](#file-schema). ## Investigate Team Activity Using Activity Log Datasets The Activity Log Environment contains various datasets housing streams of activity related to each supported resource. Within this Environment, team members can observe and investigate team activity with all of Honeycomb's features, including querying, visualizations, Boards, Triggers, and more. The standard retention period for this Environment is one year. ### Explore your Activity Log Environment Using Honeycomb to monitor your team activity opens up a wide range of possibilities to explore. > [!NOTE] > > All users on your team can access the Activity Log Environment and query its datasets in the Honeycomb UI, regardless of role. > Only the downloadable reports in **Team settings** (described above) are limited to [Team Owners](/configure/teams/manage-permissions/). > Through the [Honeycomb MCP server](/integrations/mcp/), the Activity Log Environment is available only to Team Owners. To access your Activity Log Environment: 1. Log in to the Honeycomb UI. 2. Select the **Environments** label on the top-left, then select **Activity Log**. 3. Begin querying the environment and its datasets. Available datasets include **api_keys**, **boards**, **burn_alerts**, **derived_columns**, **oauth_sessions**, **query_results**, **signals**, **slos**, **telemetry_stats**, **triggers**, and **users**. ![List of datasets for the Activity Log environment shown through the Dataset scope dropdown window in Query Builder.](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/team-activity/datasets.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=dc328a1d6a9c20d124079e7ccd34bac4) We want to know the ways in which your team discovers and uses Activity Log data, but to help you get started exploring, check out the following ideas. #### Find Environment-wide Data To find the types of data available in your Activity Log Environment, run a query for **All datasets in activity log** with: | VISUALIZE | GROUP BY | | - | - | | COUNT | `resource.type` | ![Display of described query in Query Builder.](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/team-activity/query-builder.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=71c9c73c1e4834f17f0a70fed28aaf70) > [!TIP] > > When querying, try using a `24 hour` (or `Last 1 day`) time range. > Use the time picker to modify your time range. #### Explore Available Fields on Specific Datasets To learn about the fields available within a dataset: 1. Run an empty query on the target Dataset. 2. In Query Builder, use the **Events** view to view the contents of each event. In this display, each event is a row and each field is a column. 3. Use this information to construct and try different queries. ## Activity Log Datasets Each dataset in the Activity Log Environment contains a stream of activity for one resource type. Except for `telemetry_stats`, all datasets share a set of common fields: * `resource.type`, `resource.action`, and `resource.id`: the affected resource and what happened to it * `user.id` and `user.email`: who performed the action. `user.id` is `system` if the event is the result of an automated action, such as a Trigger firing. * `environment.slug` and `dataset.slug`: the Environment and Dataset the resource belongs to, if applicable * `resource.changed_fields` and `before.`: on updates, which fields changed and each field's prior value The following sections describe each dataset, along with example queries. ### Anomaly Detection Signals The `signals` dataset records configuration changes to [Anomaly Detection](/notify/anomaly-detection/) signals. Honeycomb enrolls eligible services automatically, so users do not create or delete signals. This dataset records changes to an existing signal's settings and to the recipients it notifies. Every event describes a signal, `resource.action` is always `updated`, and `resource.id` is the signal's ID. `service.name` and `kind` identify which signal, where `kind` is `error_rate` or `presence`. `resource.changed_fields` names what changed: * `enabled`: the signal was turned on or off. * `sensitivity`: the signal moved to a different sensitivity, such as from `medium` to `high`. * `auto_investigate.enabled`: auto-investigate was turned on or off for the signal. * `recipient.assigned`: a recipient was added to, or removed from, the signal. * `recipient.muted`: notifications to one recipient were silenced or restored. * `recipient.pagerduty_severity`: the severity a PagerDuty recipient reports changed. An event about a recipient also names which one: `recipient.provider` is the recipient type, such as `email`, `slack`, or `pagerduty`, and `recipient.destination` is where it delivers, such as an email address, a Slack channel, or a PagerDuty integration name. #### Example: Find Who Disabled a Signal To see which signals were turned off and who turned them off, run a query in the `signals` dataset with: | VISUALIZE | WHERE | GROUP BY | | - | - | - | | COUNT | `enabled` = false | `service.name` `user.email` | ### API Keys The `api_keys` dataset records API key lifecycle events: `created`, `updated`, `deleted`, `enabled`, and `disabled`. Every event includes the key's `name` and `description`, its `key_type` (`legacy`, `ingest`, or `management`), and whether the key is currently `enabled`. Additional fields depend on the key type: * Ingest keys include `access.events` and `access.create_datasets`. * Management keys include their API `scopes`. * Legacy keys include the full set of `access.*` permission fields, and `visible_to_members`, which indicates whether non-admin team members can see the key. ### Boards The `boards` dataset records Board creation, updates, and deletion. Events include the Board's `name`, `description`, and `style`, its default filters and time range (`default.filters_json`, `default.start_time`, `default.end_time`, `default.granularity`), and `source`: the surface that created the Board, such as the UI, the API, or Slack. For private Boards, the name and description are redacted as `[private board]`, and default filters are omitted. ### Burn Alerts The `burn_alerts` dataset records Burn Alert configuration changes (`created`, `updated`, `deleted`) and state changes (`triggered`, `resolved`), which are attributed to `system`. Events include: * `alert_type`: `exhaustion_time` or `budget_rate` * `exhaustion_minutes`: the minutes-to-exhaustion threshold, on exhaustion-time alerts * `budget_rate_window_minutes` and `budget_rate_decrease_threshold_per_million`: the sliding window and threshold, on budget-rate alerts * `slo.id`, `slo.name`, and `sli.alias`: the parent SLO and its SLI ### Calculated Fields The `derived_columns` dataset records Calculated Field (Derived Column) creation, updates, and deletion. Events include the field's `alias`, `description`, and `expression`. When a changed expression belongs to a Calculated Field used as an SLI, a corresponding update event also appears in the [slos](#slos) dataset. #### Example: Find Calculated Field Experts Using Calculated Fields indicates advanced Honeycomb knowledge. Find your advanced Honeycomb users. Query the `derived_columns` dataset for `created` and `updated` actions to find out who develops Calculated Fields and uses them to explore data. To see who creates and updates Calculated Fields, run a query with: | VISUALIZE | WHERE | GROUP BY | | - | - | - | | COUNT | `resource.action` in created, updated | `user.email` | ### OAuth Sessions The `oauth_sessions` dataset records sessions for integrations that authenticate with Honeycomb through OAuth: session creation, updates, and revocation. Events include the `client_id` of the OAuth client, the requested and granted scopes (`scopes` and `oauth_session.granted_scopes`), and session timing fields such as `expires_at` and `invalidated_at`. Unlike most Activity Log datasets, OAuth session events are not scoped to an Environment or Dataset. ### Query Results The `query_results` dataset records one event for each completed query run from a user-facing surface, such as the UI, the public API, MCP, Slack, or a template link. Internal system queries are not recorded. The `resource.action` is always `created`. Each event describes the query itself, including `query.visualize`, `query.where`, `query.group_by`, `query.order_by`, `query.having`, `query.limit`, and `query.time_range.sec`, along with the `source` surface and the `user.email` of the person who ran it. #### Example: Find All Queries Run During Incidents The `query_results` dataset shows how many queries users run and their query patterns. To learn which datasets users interact with most, run a query with: | VISUALIZE | GROUP BY | | - | - | | COUNT | `environment.slug` `dataset.slug` | To see what types of queries, or questions, that users ask during an incident, use the above query and select the time duration that maps to an incident window. #### Example: Find All Queries Run Using Specific Fields Ready to retire some data? Or are you curious about which parts of the datasets are used most? Query the `query_results` dataset to see which fields are most queried or if specific fields are queried. To see patterns of fields being used in queries, run a query with: | VISUALIZE | GROUP BY | | - | - | | COUNT | `query.where` | Alternatively, use a different field for **GROUP BY** with this query, such as **GROUP BY** `query.group_by` or **GROUP BY** `query.havings`. ### SLOs The `slos` dataset records SLO creation, updates, and deletion, plus error budget resets (`resource.action` of `budget_reset`) and changes to the SLI expression. Events include the SLO's `name` and `description`, `sli.alias` (the Calculated Field that defines the SLI), `time_period_days`, and `target_per_million`. SLI expression changes include the new expression as `sli.expression` and the prior expression as `before.sli.expression`. ### Telemetry Stats The `telemetry_stats` dataset contains aggregated statistics about the events your team sends to Honeycomb, including rejections. Unlike the other Activity Log datasets, it records ingest telemetry rather than resource changes, so it does not include the common `resource.*` and `user.*` fields. Each record aggregates up to 10 minutes of ingest activity for one combination of destination dataset, outcome, API key, and event type. A record's sample rate is set to the number of events it represents, so a sample-rate-weighted COUNT reflects your true event volume. Interesting fields include: * `outcome`: `accepted`, `rejected`, or `error` * `event.type`: the kind of telemetry, such as `traces`, `logs`, or `metrics` * `error`: a normalized rejection or error message; when present on accepted events, indicates a data quality problem. Note the special `overflow` error indicates too many distinct field combinations to record, so only per-`outcome` totals are preserved. * `http.status`: the HTTP status Honeycomb returned * `api_key.name`: the name of the ingest key used * `dataset.slug` and `environment.slug`: where the events were sent * `event.field_count.avg`: the mean number of fields per event * `event.latency_seconds.avg` and `event.latency_seconds.max`: difference between the event's timestamp and time of receipt by Honeycomb; negative values indicate future-dated events * `dataset.field_count`: the number of columns in the destination dataset, a signal of schema size #### Example: Find Out Why Events Are Rejected To find out why events are being rejected, run a query with: | VISUALIZE | WHERE | GROUP BY | | - | - | - | | COUNT | `outcome` = rejected | `error` | ### Triggers The `triggers` dataset records Trigger creation, updates, and deletion, as well as `triggered` and `resolved` state changes, which are attributed to `system`. ![Display of resource.action attributes in results chart, which include triggered, resolved, updated, and created](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/team-activity/triggers.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=f89c0f842a4475d2f25a0a4862c18bec) Every Trigger event includes: * `name` and `description` * `query.id`: the query the Trigger evaluates * `frequency`: how often the Trigger runs, in seconds * `threshold.value` and `threshold.operator`: the alert condition * `disabled` and `triggered`: the Trigger's current state #### Example: Find Sensitive Triggers Find sensitive triggers, or triggers that seem to fire more than expected or tend to auto-resolve. Once you find these triggers, consider improving their configuration to give more actionable alerts. Use the `triggers` dataset to identify how many times a trigger has fired in a given time period. To see which triggers fire often, run a query with: | VISUALIZE | WHERE | GROUP BY | | - | - | - | | COUNT | `resource.action` = triggered | `name` | ### Users The `users` dataset records user logins. Each successful authentication generates one event in the Activity Log of every team the user belongs to. The `resource.action` is always `authenticated`. Events include the `user.email` and `user.ip_address` of the person logging in, and the `authentication_method` used, such as password, SSO, or Google. # Manage Teams Source: https://docs.honeycomb.io/configure/teams/manage Create and manage Honeycomb Teams, which represent your organization, group users, grant data access, and build a shared query history. When you first join Honeycomb, you will be asked to create a Team, which will represent your organization in Honeycomb. Honeycomb uses Teams to organize groups of users, grant them access to data, and create a shared work history. You can manage your Honeycomb Teams using the Honeycomb UI. ## Create Team > [!TIP] > > When you join Honeycomb, we help you create your first team during the signup process. > > To sign up, decide whether you would like Honeycomb to store your data in a US-based or EU-based location, then [create a Honeycomb account in the US](https://ui.honeycomb.io/signup) or [create a Honeycomb account in the EU](https://ui.eu1.honeycomb.io/signup). > Signup is free! To create another Team: 1. Log in to the Honeycomb UI. 2. From the main navigation menu, select **Account** > **Switch Teams** > **Your teams**. 3. Locate the **Create Team** section. 4. Enter a name for your team. > [!TIP] > > We recommend using your company or organization name as your Honeycomb team name. 5. Select **Create**. 6. When prompted, enter a name for the first Environment in your team. You should now be in your new Team. You are the first Team Owner, which gives you special permissions for your Team. To learn more about Team Owner permissions, visit [Manage Permissions](/configure/teams/manage-permissions/). # Manage Team API Keys Source: https://docs.honeycomb.io/configure/teams/manage-api-keys Create and manage Team-level Management API keys to control API keys across all Environments in your Team and set the scopes each key can access. Management API Keys allow you to manage API Keys at the Team level, which includes all API Keys for the Environments associated with your team. Create and manage these team-scoped Management API Keys through the Honeycomb UI. We require you to manually create a Management API Key. When you create a Management API Key, you assign it a set of scopes, which determine what actions the API Key can perform in the associated Team. Use Management API Keys to authorize the Key Management API. Refer to the [Key Management API documentation](/api/key-management/) for details. Any programmatic request sent to Honeycomb must use an API Key, but most Honeycomb APIs operate at the Environment level and require a [Configuration Key](/configure/environments/manage-api-keys/#find-api-keys) for resource management. To learn more about using API Keys, visit [Best Practices for API Keys](/get-started/best-practices/api-keys/). ## Find Management API Keys To find your existing Management API Keys: 1. Log in to the Honeycomb UI. 2. From the navigation bar, select **Account**, and then **Team Settings**. 3. Select the **API Keys** view. Each key's [description](#describe-management-keys), if it has one, appears below the key's name in smaller text. The list shows up to two lines of the description; open the key to read all of it. To find a key, enter part of its name, description, or Key ID in the search box. ## Create Management API Key > [!NOTE] > > To create a Management API Key, you must be a [Team Owner](/configure/teams/manage-permissions/). > [!WARNING] > > For security reasons, you can access the secret portion of your Management API Key only while creating it. > You may be able to use the information you retrieve in this section to identify a key or its settings, so you can retrieve it from the safe location in which you previously stored it. To create your API Key: 1. Log in to the Honeycomb UI. 2. From the navigation bar, select **Account**, and then **Team Settings**. 3. Select the **API Keys** view. 4. Select **Create Management API Key**. 5. In the **Create management API key** dialog, enter the details for your API Key: | Field | Description | | - | - | | API key name | Label for the API Key. Used to identify this key in the Honeycomb UI. | | Description (optional) | Notes on where this key is used or how to rotate it. Do not include secrets. See [Describe Management Keys](#describe-management-keys). | | Permissions | Actions this key is allowed to perform on Honeycomb resources. For each resource, select **No access**, **Read-only**, or **Read and write**. For a full list of available scopes, visit [Management Key Scopes](#management-key-scopes). | ![Screenshot of the Create management API key dialog. The optional Description field shows the placeholder text: e.g. Used by the checkout service in prod. Rotate in AWS Secrets Manager.](https://mintcdn.com/honeycomb/jS7qhanqnh6ZmEgc/_assets/images/api-keys/management-key-create-description.png?fit=max\&auto=format\&n=jS7qhanqnh6ZmEgc\&q=85\&s=03005c7a9b084cdfd5cf69eb81278461) > [!WARNING] > > Choose permissions carefully; they are permanent. To change them, you must delete the API Key and create a new one. 6. Select **Create**. 7. Copy your **Key Secret** and save it to a secure location. Honeycomb returns it only upon creation. > [!WARNING] > > Store your API keys securely and never check them into version control systems, such as Git. 8. Select **Done**. 9. Optionally, copy your **Key ID**. You will need both your **Key ID** and **Key Secret** to authenticate requests to the API. Your **Key ID** is always available after creation, but your **Key Secret** is not. Your new API Key appears in the list of keys. To learn how to use your new key, visit [API Documentation: Authentication](/api/authentication). ## Describe Management Keys A description is an optional note about a key, such as where it is used or how to rotate it. For example: `Used by the checkout service in prod. Rotate in AWS Secrets Manager.` Descriptions help your team identify a key without searching code to find where it is used. To learn how descriptions fit into key management, visit [Best Practices for API Keys](/get-started/best-practices/api-keys/#describe-each-api-key). > [!WARNING] > > A description is not secret. > Honeycomb shows it wherever it shows the key's name, to anyone who can see the key. > Do not put API keys, tokens, passwords, or other secrets in a description. A description can contain up to 2,000 characters. The **Description (optional)** field stops accepting input at that limit. > [!NOTE] > > To add, edit, or clear a description, you must be a [Team Owner](/configure/teams/manage-permissions/). > Team members who are not Team Owners can read a key's description in the list and when they open the key. To add, edit, or clear the description of a Management Key: 1. Log in to the Honeycomb UI. 2. From the navigation bar, select **Account**, and then **Team Settings**. 3. Select the **API Keys** view. 4. In the list, locate the Management Key that you want to change, and select its **Edit** (pencil) icon. 5. In the **Description (optional)** field, enter the new description. To clear the description, delete all of its text. 6. Select **Save**. Changing a key's name or whether it is enabled does not change its description. The Key Management API does not manage Management Keys, so you can set their descriptions only in the Honeycomb UI. ## Disable Management Keys > [!NOTE] > > To disable a Management Key, you must be a [Team Owner](/configure/teams/manage-permissions/). To disable your Management Key: 1. Log in to the Honeycomb UI. 2. From the navigation bar, select **Account**, and then **Team Settings**. 3. Select the **API Keys** view. 4. In the list, locate the Management Key that you want to disable, and select its **Edit** (pencil) icon. 5. Turn off the **Enabled** toggle. 6. Select **Save**. Your Management Key remains in the list, and its **Status** changes to **Disabled**. It may take several minutes for the change to go into effect. ## Delete Management Keys > [!WARNING] > > Management Key deletion is permanent, so make sure you really want to delete your Management Key before doing so. > > To delete a Management Key, you must be a [Team Owner](/configure/teams/manage-permissions/). To delete your Management Key: 1. Log in to the Honeycomb UI. 2. From the navigation bar, select **Account**, and then **Team Settings**. 3. Select the **API Keys** view. 4. In the list, locate the Management Key that you want to delete, and select its **Delete** (trash) icon. 5. In the **Delete management API key?** dialog, type the name of the Management Key, which appears above the field. 6. Select **Delete**. Your Management Key will no longer appear in the list, but it may take several minutes for the process to complete. ## Management Key Scopes You can control the actions that a Management API Key may perform in your Team at a more granular level. > [!NOTE] > > You cannot change scopes assigned to a Management Key after the key has been created. > Management Keys can be deleted. ### API Keys | Scope | Description | | - | - | | `api-keys:read` | Grants `list` and `view details` to the team's API Keys. | | `api-keys:write` | Grants `create`, `list`, `update`, `delete` and `view details` for the team's API Keys. | | `environments:read` | Grants `list` and `view details` to the team's Environments. | | `environments:write` | Grants `create`, `list`, `update`, and `view details` for the team's Environments. | # Manage Team Behavior Source: https://docs.honeycomb.io/configure/teams/manage-behavior Set your Team's default environment, enable or disable Honeycomb Intelligence, and manage which external URLs appear as links across your Honeycomb Team. Each Honeycomb Team, which represents your organization in Honeycomb, allows its Team Owners to manage its behavior. Team Owners can set their Team's default environment, enable or disable Honeycomb Intelligence, and manage which URLs are displayed as external links for your team. ## Set default environment Set the default environment that Team members should land in when they are new to the Team or when Honeycomb can't identify their last environment. > [!NOTE] > > Only Team Owners can set a default environment. To set your team's default environment: 1. Select **Account** from the main navigation menu, then select **Team settings**. 2. On the **Team Details** view, locate the **Environments and API Keys** section. 3. Select the default environment from the dropdown. Honeycomb saves your changes automatically. ## Manage Honeycomb Intelligence [Honeycomb Intelligence](/get-started/honeycomb/honeycomb-intelligence) is a suite of AI-powered features built into Honeycomb. Team Owners can enable or disable Honeycomb Intelligence at any time. When disabled, no Honeycomb Intelligence features are active, including features that surface insights passively. > [!NOTE] > > Only Team Owners can enable or disable Honeycomb Intelligence. ### Enable Honeycomb Intelligence Turn on Honeycomb Intelligence to make all Honeycomb Intelligence features available to your Team. 1. Select **Account** from the navigation menu, then **Team settings**. 2. On the **Team Details** view, locate the **Honeycomb Intelligence** section. 3. Select ** Turn on**. The button updates to ** Turn off**, confirming that Honeycomb Intelligence is now enabled for your Team. ### Disable Honeycomb Intelligence Turn off Honeycomb Intelligence to deactivate all Honeycomb Intelligence features for your Team, including features that surface insights passively. 1. Select **Account** from the navigation menu, then **Team settings**. 2. On the **Team Details** view, locate the **Honeycomb Intelligence** section. 3. Select ** Turn off**. The button updates to ** Turn on**, confirming that Honeycomb Intelligence is now disabled for your Team. ## Manage Allowed Web Domains Team Owners can control which URLs they want Honeycomb to display as external links by adding domains to the web domain allowlist. Honeycomb compares the web domain allowlist against URLs in your Honeycomb instance to determine whether we should display a URL as an external link rather than as static text in the Query Builder, the Explore Data tab, and the Trace View. Honeycomb notifies all Team Owners any time a change is made to the web domain allowlist. **Scenario:** You add `honeycomb.io` to your Team's web domain allowlist. **Outcome:** Honeycomb will display the following URLs as external links in the UI: * `https://ui.honeycomb.io` * `https://www.honeycomb.io` * `https://honeycomb.io` * `https://honeycomb.io/about` Honeycomb will display the following URLs as static text in the UI: * `https://malicioushoneycomb.io` (allowed domain is `honeycomb.io`, not `malicioushoneycomb.io`) * `https://ui.malicioushoneycomb.io` (allowed domain is `honeycomb.io`, not `malicioushoneycomb.io`) * `clickherehttps://honeycomb.io` (valid protocol is `https`, not `clickherehttps`) * `honeycomb.io` (no protocol provided) * `https://honeycomb.io clickhere` (string contains a valid URL but is not a valid URL itself) To learn about criteria for valid domains and URLs, visit [Team Settings: Valid Domains and URLs](/reference/honeycomb-ui/account/team-settings/#valid-domains-and-urls). > [!NOTE] > > Only Team Owners can manage allowed web domains. ### Add allowed web domains Add a domain to the allowlist to let Honeycomb display URLs from that domain as external links across your Team. 1. Select **Account** from the navigation menu, then **Team settings**. 2. On the **Team Details** view, locate the **Manage allowed domains** section. 3. Select the **Web domains** view. 4. Enter a domain, then select **Add domain**, and confirm that the web domain allowlist now contains your entry. > [!NOTE] > > To learn more about domain validation rules, visit [Team Settings: Valid Domains and URLs](/reference/honeycomb-ui/account/team-settings/#valid-domains-and-urls). The domain appears in the allowlist. ### Remove allowed web domains Remove a domain from the allowlist to stop Honeycomb from displaying URLs from that domain as external links across your Team. 1. Select **Account** from the main navigation menu, then select **Team settings**. 2. On the **Team Details** view, locate the **Manage allowed domains** section. 3. Select the **Web domains** view. 4. Locate the web domain you want to remove in the allowlist, and select **Remove**. The domain no longer appears in the allowlist. # Manage Team Members Source: https://docs.honeycomb.io/configure/teams/manage-members Invite, remove, and update roles for members of your Honeycomb Team, and restrict who can join. The Team Owners for a Honeycomb Team can manage their Team's members. Team Owners can invite users, remove users, change users' roles, copy invitation URLs, and restrict who can join their Team by email address. ## Invite Team Members If you are a Team Owner, you can invite users to your Team directly, or you can share an invitation URL to allow new Honeycomb users to request access to your Team. > [!NOTE] > > If you have configured allowed email domains for your Team, then only users with email addresses that match allowed domains can join your team. > To learn how to configure allowed email domains, visit [Manage Allowed Email Domains](#manage-allowed-email-domains). ### Invite Team Members Directly #### Non-Enterprise Plans To invite a Team Member directly: 1. Log in to the Honeycomb UI. 2. From the main navigation menu, select **Account** > **Team settings**. 3. Select the **Users** tab 4. Select **Invite user**. 5. In the dialog, enter the email address of the user you want to invite to your Team, then select **Invite**. You can invite multiple users at once by entering multiple email addresses separated by commas (for example, `email1@example.com,email2@example.com`). New members will receive Member permissions when they accept the invite #### Enterprise Plans To invite a Team Member directly: 1. Log in to the Honeycomb UI. 2. From the main navigation menu, select **Account** > **Team settings**. 3. Select the **Users** tab. 4. Select **Invite user**. You'll be taken to a dedicated invite page. 5. Enter the user's email address. 6. Configure their access: * Check **"Grant Owner team-level access"** to invite them as an Owner, OR * Leave unchecked and configure: * **Team-Level Access:** Select Member or Read-Only for team-level resources (Settings, Usage, Pipelines, Canvas) 7. Select **Invite user** to send the invitation. ### Copy Invitation URL To copy the Team Invitation URL: 1. Log in to the Honeycomb UI. 2. From the main navigation menu, select **Account** > **Team settings**. 3. Select the **Users** tab. 4. Select **Team URL** button. 5. Select the Copy icon () to copy the Team Join URL. > [!NOTE] > > If a user requests access through an invitation URL, a Team Owner must approve the user's request before Honeycomb will add the user to the Team. ## Manage Pending Invitations The **Pending invitations** section displays invites that have been sent but not yet accepted. For each pending invitation, Team Owners can: * **Resend** - Send another invitation email (useful if the invite expired or wasn't received) * **Delete** - Cancel the invitation The status column shows when the invite was sent or if it has expired. ## Approve Join Requests The **Join team requests** section displays users who have requested to join your team via the Team Join URL. ### Non-Enterprise Plans For each join request, Team Owners can: * **Accept** - Immediately adds the user to your team with Member permissions * **Decline** - Rejects the join request ### Enterprise Plans For each join request, Team Owners can: * **Approve** - Opens a dedicated approval page where you configure the user's permissions before adding them * **Decline** - Rejects the join request **To approve a join request:** 1. From the **Join team requests** section, select **Approve** next to the join request. 2. On the approval page, configure the user's access: * Check **"Grant Owner team-level access"** to add them as an Owner, OR * Leave unchecked and configure: * **Team-Level Access:** Select Member or Read-Only 3. Select **Approve user** to complete the approval. ## Manage Allowed Email Domains If you are a Team Owner, you can control the domains from which Honeycomb will allow users to join your Team by adding domains to the email domain allowlist. Honeycomb compares the email domain allowlist against user email addresses to determine whether a user may join your team. Honeycomb notifies all Team Owners any time a change is made to the email domain allowlist. **Scenario:** You add `example.com` to your Team's email domain allowlist. **Outcome:** Honeycomb will allow anyone with an email address that ends in `example.com` to join your team. For example, a user with email address `user@example.com` can join. > [!WARNING] > > If no allowed email domains have been configured, users with any email address may join your Team. ### Add Allowed Email Domains To add an allowed email domain: 1. Log in to the Honeycomb UI. 2. From the main navigation menu, select **Account** > **Team settings**. 3. Locate the **Manage allowed domains** section. 4. Select the **Email domains** view. 5. Enter a domain, then select **Add domain**, and confirm that the email domain allowlist now contains your entry. > [!NOTE] > > To learn more about domain validation rules, visit [Team Settings: Valid Domains and URLs](/reference/honeycomb-ui/account/team-settings/#valid-domains-and-urls). ### Remove Allowed Email Domains To remove an allowed email domain: 1. Log in to the Honeycomb UI. 2. From the main navigation menu, select **Account** > **Team settings**. 3. Locate the **Manage allowed domains** section. 4. Select the **Email domains** view. 5. Locate the email domain you want to remove in the allowlist, and select **Remove**. ## Manage Team Member Roles If you are a Team Owner, you can assign roles to other users in your Team. Roles include Owner and Member (Enterprise plans also include Read-Only). To learn more about the permissions granted to each role, visit [Team Permissions](/configure/teams/manage-permissions/). To assign a role to a Team Member: 1. Log in to the Honeycomb UI. 2. From the main navigation menu, select **Account** > **Team settings**. 3. Select the **Users** tab. 4. In the users table, locate the user for whom you want to change the role, and select the desired role from the **Role** column. 5. If prompted, confirm changes. ## Remove Team Members If you are a Team Owner, you can remove Team Members from your Team. To remove a Team Member: 1. Log in to the Honeycomb UI. 2. From the main navigation menu, select **Account** > **Team settings**. 3. Select the **Users** tab. 4. In the users table, locate the user that you want to remove, and select the trash icon in the **Actions** column at the end of the row 5. Confirm by selecting **Yes, remove**. # Manage Team Notifications Source: https://docs.honeycomb.io/configure/teams/manage-notifications Control which Team Owners receive usage notifications and configure integrations and webhooks to route Honeycomb alerts to your preferred channels. ## Email Notifications **Email notifications** control which Team Owners will receive usage notifications. Owners can select **Change** to modify the list of notification recipients. Honeycomb sends usage notifications for the following events: * billing enforcement, such as burst protection, event count overages and throttling events * event ingest rate limiting * dataset created or deleted * datasets exceeding the maximum number of fields limit * environments exceeding the maximum number of datasets limit ## Integrations Within **Integrations**, view and configure third-party integrations and webhooks for notification purposes. The **Honeycomb + Slack** and **Honeycomb + GitHub** sections indicate their respective integration's implementation status. Use the Slack integration to share [Trigger](/notify/triggers/) and [SLO](/notify/slos/) notifications in your Slack workspace. Use the GitHub integration with [GitHub Deployment Protection Rules](/integrations/github-deployment-protection-rules/). In **Trigger Notifications**, add, remove, or edit team-level integration settings for [Triggers](/notify/triggers/). Use the search box to search for specific trigger recipients. Read the detailed instructions to set up your team-level [trigger recipients](/notify/), such as Slack, PagerDuty, Microsoft Teams, and Webhooks. # Manage Team Permissions Source: https://docs.honeycomb.io/configure/teams/manage-permissions Apply roles and permissions to Honeycomb Team members to control access to datasets, environments, and administrative functions across your organization. Honeycomb uses a tiered system of access control to provide granular access to its endpoints. Honeycomb's mission is to empower engineering **teams** to debug production systems. Many defaults are chosen to enable and support the ambient broadcasting and sharing of knowledge. Our permissions philosophy centers around minimizing behaviors that may be destructive or disruptive to fellow team members' query activity. ## Types of Roles in Honeycomb * **Team Owners** control billing and destructive actions for the team. Owners are also able to override member privacy settings. * **Team Members** are able to view all public resources, add metadata, and make non-destructive configuration changes at the dataset level. * **Read-Only** (the default role for everyone) can view all public resources and interactively query data in Honeycomb but cannot perform create, update, or delete actions anywhere in the team. ## Team Membership and Billing | | Owner | Member | Read-Only | | - | - | - | - | | Promote other team owners | ✔ | | | | Make team SSO-only | ✔ | | | | Upgrade and adjust pricing | ✔ | | | | Invite new users / accept join requests | ✔ | | | | Create new teams | ✔ | ✔ | ✔ | | Create, edit, and disable API keys | ✔ | | | | Delete ingest API keys | ✔ | | | | Redact API keys | ✔ | ✔ | | | View redacted API keys | ✔ | | | | View non-redacted API keys | ✔ | ✔ | | ## Environments Environments can only be created by a team owner. | | Owner | Member | Read-Only | | - | - | - | - | | Create environment | ✔ | | | | Edit environment display *For example, environment descriptions.* | ✔ | ✔ | | | View and query the [Activity Log](/configure/teams/investigate-activity/) Environment *Available as part of the [Honeycomb Enterprise plan](https://www.honeycomb.io/pricing/).* | ✔ | ✔ | ✔ | | Download Activity Log reports from Team settings *Available as part of the [Honeycomb Enterprise plan](https://www.honeycomb.io/pricing/).* | ✔ | | | > [!NOTE] > > Honeycomb Classic uses a dataset-only data model and does not include Environments. > Learn more about [Honeycomb versus Honeycomb Classic](/troubleshoot/product-lifecycle/recommended-migrations/#migrate-from-honeycomb-classic-to-honeycomb-environments). ## Datasets Datasets may be queried on by any member of the team and query history is visible to all members of the team. | | Owner | Member | Read-Only | | - | - | - | - | | Run queries | ✔ | ✔ | ✔ | | Annotate queries | ✔ | ✔ | | | Delete a dataset | ✔ | | | | Toggle deletion protection | ✔ | | | | Edit dataset ingest settings *For example, nested JSON.* | ✔ | | | | Edit dataset schema settings *For example, field types, field max lengths.* | ✔ | ✔ | | | Edit dataset display *For example, field descriptions, dataset descriptions, aliases.* | ✔ | ✔ | | ## Boards Boards can be created by team members and team owners and default to being public. Any public boards will be viewable to everyone in your team and will be modifiable by team members and team owners. Boards marked as \***Restricted (Collaborators and owners only)** are visible only by the creator and any team owners. The board owner may take the board public at any time. Other members will not be able to add or edit queries to a limited access board unless explicitly added as a collaborator by the owner. | | Owner | Member | Read-Only | | - | - | - | - | | Create public boards | ✔ | ✔ | | | View public boards | ✔ | ✔ | ✔ | | Create limited access boards | ✔ | ✔ | | | Make limited access boards public | ✔ | ✔ | | | Add collaborators to a limited access board | ✔ | ✔ | | | Add queries and metadata to boards | ✔ | ✔ | | | Edit queries and metadata on boards | ✔ | ✔ | | | View anybody's limited access board | ✔ | | | | Delete public boards | ✔ | ✔ | | | Delete anybody's limited access board | ✔ | | | ## Triggers Triggers are viewable by all members in a team. Triggers are creatable and editable for team members but not for read-ony users. Clear attribution on triggers communicate which user created or last edited a particular trigger. [Read more about Triggers](/notify/triggers/) | | Owner | Member | Read-Only | | - | - | - | - | | Create triggers | ✔ | ✔ | | | View triggers | ✔ | ✔ | ✔ | | Edit/delete triggers | ✔ | ✔ | | ## Calculated Fields Calculated fields, otherwise known as Derived Columns, may be created on a Dataset or an Environment by team members and team owners. As with boards, calculated fields may only be deleted by the creator or a team owner. Everyone in the team can view calculated fields. [Read more about Calculated Fields](/configure/environments/calculated-fields/). | | Owner | Member | Read-Only | | - | - | - | - | | Create calculated fields | ✔ | ✔ | | | Edit calculated fields | ✔ | ✔ | | | Delete own calculated field | ✔ | ✔ | | | Delete any calculated field | ✔ | | | | View calculated fields in schema | ✔ | ✔ | ✔ | ## Canvas Canvas allows team members to create collaborative workspaces for investigations and analysis. All users can create and view private Canvases, while team members and owners can also create public Canvases and collaborate on shared work. | | Owner | Member | Read-Only | | - | - | - | - | | Create private Canvases | ✔ | ✔ | ✔ | | View private Canvases (own) | ✔ | ✔ | ✔ | | Create public Canvases | ✔ | ✔ | | | View public Canvases | ✔ | ✔ | | | Edit own Canvases | ✔ | ✔ | ✔ | # Monitor Team Use Source: https://docs.honeycomb.io/configure/teams/monitor-use Track your Team's event volume and throughput trends, and access enhanced usage reporting to monitor costs and plan capacity. **[Usage](/reference/honeycomb-ui/account/team-settings/#usage)** shows details and trends about your team's event volume and throughput. Usage can also be accessed directly via the [Usage icon () in the left navigation](/reference/honeycomb-ui/usage/). ## Enhanced Reporting **Enhanced Reporting** is visible if you are a [Honeycomb Enterprise customer](https://www.honeycomb.io/pricing/). Enhanced Reporting shows a variety of information through graphs, charts, and statistics on your Honeycomb Events Ingest, Queries, and more. # Change Pricing Plan Source: https://docs.honeycomb.io/configure/teams/pricing-plan Upgrade, downgrade, or switch your Honeycomb pricing plan at any time to match your team's event volume and feature requirements. Choose the plan that fits your team's needs. Update your Honeycomb pricing plan at any time. Upgrade to access higher event volume and advanced features, switch between paid plans, or downgrade to a different plan level as your requirements change. ## Before you Begin Before you change your pricing plan, make sure you have: * **A Honeycomb account.** If you don't have an account yet, sign up for a Free plan: * [Create a US account](https://ui.honeycomb.io/signup) * [Create an EU account](https://ui.eu1.honeycomb.io/signup) > [!TIP] > > Your account region determines where Honeycomb stores your data. Choose US-based or EU-based storage based on your data residency requirements. * **Team Owner role.** Only Team Owners can change billing settings and update plans. ## Compare Available Plans Honeycomb offers multiple plan levels to fit different team sizes and needs: * **Free:** Get started with core observability features at no cost. * **Pro:** Access flexible event volume tiers and advanced features. * **Enterprise:** Customize a solution for large-scale deployments. For detailed feature comparisons and pricing information, visit [Honeycomb Pricing Plans](https://www.honeycomb.io/pricing). ## Change Your Plan > [!NOTE] > > To complete this task, you must be a [Team Owner](/configure/teams/manage-permissions/). To change your Team's pricing plan: 1. Select **Account** (your avatar) from the navigation menu, then choose **Team Settings**. 2. On the **Team Settings** page, select the **Billing** view. The **Billing** view shows your current plan and billing information. ![Screenshot showing the Billing tab with current plan information and Update Plan button](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/teams/billing-view-update-plan.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=1caf5e846caa4a6c5b087cf68385f3f2) 3. Select **Update Plan**. 4. On the **Select Your Plan** page, review the available plans and select **Select Plan** next to your preferred option. ![Screenshot showing available plan tiers with Select Plan buttons](https://mintcdn.com/honeycomb/BCOE2C2QqTVUD6bt/_assets/images/teams/select-your-plan.png?fit=max\&auto=format\&n=BCOE2C2QqTVUD6bt\&q=85\&s=0fb6d33687cba7e69080838335e34e4e) > [!TIP] > > Enterprise plans offer custom configurations and pricing. > To explore Enterprise options, select **Contact Sales**. 5. Select **Add Payment** to continue to the payment details page. 6. Enter your payment information: * Credit card number, expiration date, and security code * Billing address associated with your credit card * Promo code (if you have one) ![Screenshot showing the Add Payment Method page with credit card and billing address fields](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/teams/add-payment-method.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=b8a14e568edc6a00a22e534b5b59209b) 7. Choose your billing cycle: * **Monthly:** Pay each month. * **Yearly:** Pay annually (typically includes a discount). 8. Review the Terms of Service, then select **Add Payment**. 9. In the confirmation modal, review both your current plan and selected plan details, then select **Confirm**. ![Screenshot showing the confirmation modal with current and selected plan comparison](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/teams/plan-confirmation-modal.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=1848d72be71c28e97a2ba37b675fd35c) After you confirm, Honeycomb returns you to the **Billing** view. Your new plan appears immediately, and your billing history updates with the purchase date and status. # Get Started: Overview Source: https://docs.honeycomb.io/get-started Instrument your app, send telemetry to Honeycomb, and start debugging with high-cardinality observability. Choose your path and get up and running fast. Welcome to Honeycomb! We're happy to see you. ## Start Building > [card] [Honeycomb for Applications](/get-started/start-building/application/) > > Get up and running with Honeycomb for your application. Learn how to easily add instrumentation and use Honeycomb to observe and understand your application. > [card] [Honeycomb for Kubernetes](/send-data/kubernetes/) > > Learn how to easily add Honeycomb to your Kubernetes cluster. > [card] [Explore Our Sandbox](https://play.honeycomb.io/sandbox/tours) > > Explore our free, interactive demo. Choose your own path: analyze and debug an issue, explore a service map, or correlate app and Kubernetes errors. > [card] [Use an Example App](/get-started/start-building/example-applications/) > > Use example applications to quickly learn about Honeycomb. ## Observability Fundamentals > [card] [Introduction to Observability](/get-started/observability/introduction) > > Find out what observability is and why it changes how you debug production software. > [card] [Observability Concepts](/get-started/observability/concepts) > > Build a foundation in the concepts of modern observability. ## Honeycomb Basics > [card] [Introduction to Honeycomb](/get-started/honeycomb/introduction) > > Learn what Honeycomb is, what problem it solves, and how its core concepts fit together. > [card] [Traces, Metrics, Logs](/get-started/honeycomb/traces-metrics-logs/) > > Understand the telemetry signals Honeycomb supports, how each one works, and how they fit together. > [card] [Logs in Honeycomb](/get-started/honeycomb/logs-in-honeycomb) > > Learn how Honeycomb handles log data, how logs relate to traces and metrics, and how to get the most out of your log data. > [card] [Metrics in Honeycomb](/get-started/honeycomb/metrics-in-honeycomb) > > Learn how Honeycomb handles metrics data, how metrics relate to traces and logs, and when to use metrics in your observability practice. > [card] [Honeycomb Intelligence](/get-started/honeycomb/honeycomb-intelligence) > > Learn about our AI-powered suite of features that surface insights from your telemetry so you can investigate faster and resolve incidents with confidence. > [card] [Core Analysis Loop](/get-started/honeycomb/core-analysis-loop) > > Cycle through your telemetry dimensions, form hypotheses, and validate them with data. Learn how to debug any system from first principles. > [card] [Honeycomb Resource Structure](/get-started/honeycomb/resource-structure) > > Understand the organizational structure of Honeycomb: teams, environments, datasets, and events. > [card] [Getting Around Honeycomb](/get-started/honeycomb/log-in-with-saml-sso) > > Get familiar with the Honeycomb interface. Learn how to log in, navigate the UI, and find your way around your team's environments, datasets, and query history. > [card] [Honeycomb Private Cloud](/get-started/honeycomb/private-cloud) > > Run the full Honeycomb observability platform in your own infrastructure for enhanced data governance, regulatory compliance, and infrastructure control. > [card] [Security & Compliance](/security-compliance) > > Find out how Honeycomb secures its infrastructure, protects your data, maintains compliance certifications, and approaches AI features responsibly. ## Plan & Design > [card] [Best Practices](/get-started/best-practices/) > > Explore Honeycomb's recommendations for working with our product. > [card] [Manage Costs](/get-started/manage-costs/) > > Understand how Honeycomb measures usage, predicts and handles overage, and retains data. # Best Practices Source: https://docs.honeycomb.io/get-started/best-practices Get Honeycomb's recommendations for organizing data, managing API keys, writing effective alerts, working with SLOs, and getting the most out of your implementation We recommend that you follow certain best practices when using Honeycomb. > [card] [Best Practices for Organizing Data](/get-started/best-practices/organizing-data/) > > Explore Honeycomb's recommendations for organizing your data into datasets and environments. > [card] [Best Practices for API Keys](/get-started/best-practices/api-keys/) > > Explore Honeycomb's recommendations for working with API keys. > [card] [Best Practices for Working with MicroFrontends](/get-started/best-practices/micro-frontends/) > > Explore Honeycomb's recommendations for using the Honeycomb OpenTelemetry Web SDK in applications with a Micro Frontend architecture. > [card] [Best Practices for Querying using Relational Fields](/get-started/best-practices/relational-fields/) > > Explore Honeycomb's recommendations for querying using relational fields. > [card] [Best Practices for Alerts](/get-started/best-practices/alerts/) > > Explore Honeycomb's recommendations for alerting on triggers and Service Level Objectives (SLOs). > [card] [Best Practices for Service Level Objectives (SLOs)](/get-started/best-practices/slos/) > > Explore Honeycomb's recommendations for using Service Level Objectives (SLOs). # Best Practices for Alerts Source: https://docs.honeycomb.io/get-started/best-practices/alerts Get Honeycomb's recommendations for writing effective alerts: how to name and describe triggers, set thresholds, and reduce alert fatigue with SLO-based alerting. We recommend that you follow certain best practices when creating alerts. ## Triggers * Use the Name and Description fields effectively. The Name field should tell you **what** the alert is; the Description field should tell you what to **do** about the alert. Links to internal wikis or runbooks are best. * Use filters to improve the quality of your signal. If you are interested in latency, but have a long poll endpoint, use a filter to remove that endpoint from the calculation rather than adjusting the values of the threshold. * To detect spikes in latency metrics, combine a filter with your cutoff (for example, `>100ms`) with a `COUNT`. Your result will be the number of events that exceed your threshold. * To ignore spikes in latency and trigger on overall performance, use the `P95` or `P99` calculations. These will be more representative of the majority of traffic than `AVG`, which can be polluted by large outliers. * When detecting errors, allow good values instead of looking for bad values. For example, instead of building a filter of HTTP status codes `== 500`, use several filters to look for events that do not have status codes `200`, `301`, `302`, or `404`. ## SLOs Some of these are general guidelines, and some are specific to alert type. ### General Guidelines Regardless of the alert type: * Iterate when creating [Burn Alerts](/notify/slos/monitor/#burn-alert-types). Start by sending alerts to an internal recipient (either a team member's email address or a private Slack channel) to monitor the frequency of alerts in your system. Use these Burn Alerts as a first step toward understanding how your service performs and what kinds of alerts are actionable and important to your team, and then iterate. * Start with the shape of the signal that you care about: * For slow SLO burn, you care about issues that occur over a prolonged time period. * For fast SLO burn, you care about significant spikes over a shorter time period. * Use alerts to refine any new SLOs that you create. For new SLOs, start with a Budget Rate alert, which will notify you when system conditions impact your budget, to learn: * If you are missing any criteria in your SLI. * If you can historically sustain your SLO. ### Exhaustion Time Burn Alerts When choosing the length of time for a given Budget Exhaustion burn alert, consider the context and goals of your organization. Ask questions to help frame the definition of some initial Exhaustion Time burn alerts. If you are X hours away from running out of budget: * Who would need to know * Via what method * What would they need to do For example, a 24-hour exhaustion time alert can be useful if service quality is slowly degrading and a Slack-based notification allows the team to remediate the issue before the budget reaches zero (`0`). Alternatively, a 4-hour exhaustion time alert may be more urgent and require a pager notification, such as from PagerDuty. > [!TIP] > > We recommend creating at least one Exhaustion Time burn alert where the Exhaustion Time is `0`. > This will notify you when your SLO budget is completely exhausted. ### Budget Rate Burn Alerts When starting with a Budget Rate burn alert, consider whether you seek an alert for a smooth, slow burn or a fast, abrupt drop. Start with a less-sensitive alert and adjust as needed. Depending on the length of your SLO's time period, try these values when creating Budget Rate burn alerts. #### 30 Day SLO Example Use the following example to create a series of Budget Rate burn alerts for your SLO. Each row represents an alert and its values. | Budget Decrease (%) | Time Window | Notification Type | | - | - | - | | 2% | 1 hour | PagerDuty | | 5% | 6 hour | PagerDuty | | 10% | 3 days | Slack | #### 7 Day SLO Example Use the following example to create a series of Budget Rate burn alerts for your SLO. Each row represents an alert and its values. | Budget Decrease (%) | Time Window | Notification Type | | - | - | - | | 8.5% | 1h | PagerDuty | | 21.5% | 6h | PagerDuty | | 43.20% | 3 days | Slack | | 50% | 3.5 days | Slack | #### Use the Time Window to Determine the Notification Method A long Time Window, such as 24 hours, is useful in detecting long, slow burns that use up your SLO budget faster than expected, but not fast enough to wake someone out of bed. A short Time Window, such as one hour, is useful in detecting very fast SLO budget burns that need to be addressed quickly. Use the time window to determine the alert method. For example: * For a long, slow SLO budget decrease, send a Slack message, so the issue can be addressed during business hours. * For a short, fast SLO budget decrease, send a critical PagerDuty notification, so it can be acted on immediately. > [!NOTE] > > Although it may be counterintuitive, a Budget Rate alert with a long time window will also activate on a short, fast burn. > > For example, if you have two Budget Rate burn alerts with the parameters: > > * Notify when the Budget Decrease exceeds 25% over a **24** hour period > * Notify when the Budget Decrease exceeds 25% over a **1** hour period > > If your environment encountered a large spike of errors and burned 25% of your SLO budget in the last hour, both the 24-hour Budget Rate burn alert and the 1-hour Budget Rate burn alert will fire, because both include the last hour in their calculation. > > You might ask, since both Burn Alerts activated, why do you need both? > You need both if you want to control where the Burn Alert notifies. #### Use Budget Decrease to Control Alert Frequency To control the frequency of your Burn Alert and calibrate its sensitivity: * Increase the Budget Decrease value if the alert is too noisy. * Decrease the Budget Decrease value if the alert is too quiet. ## Guidelines for when to use SLOs and Trigger Alerts In highly dynamic systems, attention is a scarce resource. There are more signals than you can process, and large systems often have ongoing issues. Even with a team, it is impossible to handle everything. You cannot grasp the entire system, and you should not be expected to. SLOs and trigger alerts can help, but to make them most efficient, you should implement them with some general rules in mind. ## General Guidelines To manage your scarce attention effectively: * **Design thoughtful alerts**: Create alerts that do not compete aggressively for your attention. They should only interrupt you for genuinely important matters, similar to how you would respond to a busy colleague. * **Prioritize interrupts**: Use monitoring and alerting systems to direct your attention when needed but avoid distracting you unnecessarily. Remember the principle: "Treat the patient, not the alarm." ### Prioritize users who will be directly impacted Prioritize anyone who has a vested interest and who will be directly impacted. This almost always includes customers, and for development and deployment flows, this also includes other engineers. Your on-call structure means that one or two people already respond for many services. Setting an SLO for a specific microservice will not prevent someone else from being paged--only the same people on the same rotation. ### Prioritize issues that may surface bigger conversations The second-order goal of an SLO is to serve as a guide when discussing how to allocate engineering effort. If you are starting to slip on your ability to properly serve your users, you need to discuss what type of work you prioritize. The best SLO candidates are issues that, if unresolved, may surface bigger conversations throughout your organization. ### Limit pager notifications Rather than notifying via pager for all alerts, consider perceived urgency and time of day. For a discussion of pager notification for specific alert types, see the [Pager Notifications](#pager-notifications) section. ## Example Errors and Alert Types Because SLOs and Triggers work similarly (repetitively check for a bad value threshold to be crossed, then warn), choosing when to use each can be difficult. The choice becomes more difficult because SLOs can encompass a wide range of "users", including customers, coworkers, and other services. In the following table, we discuss the most common types of errors and our recommendations. | Type | Description | Example | What should be used | Comment | | - | - | - | - | - | | Error Rates | Identify whether customer-visible interactions succeed. | Could the user access their data? | SLOs | Ignore failures outside of your control since you cannot fix them. Often combined with performance indicators. | | Performance | Identify whether customer-visible interactions happen within a delay you judge to be acceptable. | Did you retrieve account history within 10 seconds? Are you processing incoming transactions within N milliseconds? | SLOs | Try to find measures that adjust to expected cost (for example, "we expect some complex queries to take longer"). Often combined with error rates. | | Assertions and pre/post conditions | Identify whether some internal operations are taking place correctly based on checks you put in place. | Are dangling lockfiles present? Has the CronJob run? | Triggers | More checks make sense when shipping something new; they act like a production test. Over time, you may want to remove some and keep only checks that indicate "things are messed up if this no longer happens". | | Normalcy | Define some order of magnitude where you consider things to be "normal" and want to know when you stray. | Cost of lambda queries? High login activity? Too little inbound traffic? | Triggers | These are limited because they come from a pre-determined normative idea of what a customer should do, or from trying to figure out what that should be. As such, they tend to be brittle. If you can find a good weighing mechanism (for example, "customers in category X should never break spend Y"), then you can turn these into SLOs. | | Saturation Thresholds | Identify issues that require significant ramp-up time to address to keep things safe before getting back to a stable level and issues that have fixes that are difficult to automate. In these cases, if you wait for end-user failures to show up, it's usually too late to address the issue properly. | Data retention duration and recovery procedures? Connection limits to a database? Expired certificates? | Triggers | Turning these into SLOs requires significant effort and tends to be closely associated with automation of contracts. For example, you could decide, "we guarantee 30% headroom on connection counts to all database users" and turn it into an SLO, but it's much more straightforward to run a trigger that checks connection counts at regular intervals. | ## Pager Notifications When setting up SLOs and triggers, you will want to consider whether to notify your team via pager. Your decision should vary based on perceived urgency and the time of the day. ### Error Rates From time to time, an error rate on a successful action may fail. If fixing the issue requires an hour of investigation, three to four hours of fixing, plus some time to deploy the fix, then you may want to be interrupted multiple hours ahead of time. Otherwise, there is no need to cancel a meeting or be awakened for something that can wait and be reasonably fixed the next day. ### Pre/Post Conditions Pre/post conditions should identify issues that you would arguably want to investigate during gaps in your schedule or tasks that you could manually re-run the next day. For example, a pre/post condition could monitor connection limits to a database, which can point to sudden cascading failures. In such cases, these should warn you early enough to not require immediate attention. You should need to address them only when they start feeling significantly broken. Additionally, if you avoid addressing these issues immediately, you can track the rate of breakage. Though this not a critical metric, tracking it can be valuable to assess whether things are becoming more brittle over time. ### Saturation Thresholds A saturation threshold represents a signal of future potential issues (for example, "in three months, an issue could arise"). The goal of a saturation threshold is to be visible enough, especially during slow times, for you to schedule corrective work. As such, a saturation threshold may not need to ever page you. ### Normalcy When normalcy alerts involve small deviations from expectations (for example, "maybe we have a user going beyond normal limits to try something out right now"), they may resemble saturation thresholds. However, when there are huge deviations from expectations (for example, "that's more than 10 times the very generous spend we expect; is someone actively abusing the platform?"), normalcy alerts may become full-blown incidents. For both cases, consider creating staggered alerts--one alert that warns you via email or instant messaging, and one that pages you. If you plan to page for suspected abuse, you should also plan appropriate actions. For example, you may want to suspend the user or escalate to a team or department responsible for this type of issue. ### Burn rate For SLOs, your main tool to mediate and escalate alerting is the burn rate. If the budget is about to be empty in 24 hours, you should notify via email or instant messaging. If the budget is about to be empty in approximately 4 hours (a safe default), then you should page. # Best Practices for API Keys Source: https://docs.honeycomb.io/get-started/best-practices/api-keys Get Honeycomb's recommendations for API key management: when to use Ingest, Management, and Configuration keys, and how to keep them secure across your organization. We recommend that you follow certain best practices when using API Keys. ## Use API Key types appropriately We recommend using Ingest Keys to send data to Honeycomb, and Management and Configuration keys to manage your Honeycomb resources. ### Ingest Keys We recommend using Ingest API Keys to send data to Honeycomb. They are specialized, environment-scoped keys, which are designed to securely transmit telemetry data, including the optional creation of new datasets. Ingest Keys have the following properties: * Limited permissions: Can only be used to write telemetry data, and optionally create new datasets. * Immutable: Once created, their permissions cannot be altered, which makes them the safest option for client-side instrumentation. * Can be deleted: These keys can be temporarily disabled or permanently deleted, which help users manage clutter and adhere to certain compliance standards. Check out: * our guides on [sending data to Honeycomb](/send-data/) * our API Documentation on [creating events](/api/events/createevents/) to learn more * our documentation on finding your [Ingest Key](/configure/environments/manage-api-keys/#find-api-keys) ### Management Keys Management API Keys allow you to manage API Keys and Environments at the Team level. Each key has a set of scopes, which can not be altered once the key has been created. Check out: * our [API Documentation](/api/) to learn more about what you can do with a Management Key * our documentation on finding your [Management Key](/configure/teams/manage-api-keys/#find-management-api-keys) ### Configuration Keys Configuration API Keys allow you to manage resources in your Environment, such as Boards, Columns, Markers, Triggers, and SLOs. Their permissions can be modified after their creation, and while they can be granted the permission to send events it is recommended that Ingest API Keys be used for that purpose. Check out: * our [API Documentation](/api/) to learn more about what you can do with a Configuration Key * our documentation on finding your [Configuration Key](/configure/environments/manage-api-keys/#find-api-keys) ## Use different API keys for different purposes For example, the API key used to send data in from your production cluster should be different from the API key used for testing; the key used by your build process to create markers should be different from either of those. Separating these purposes among different API keys allows you to revoke permissions on one key without affecting the abilities of others. It also minimizes the negative effects if a key leaks or is lost. ## Describe each API key Add a description to each API key that says where the key is used and how to rotate it. When a key must be rotated or revoked, your team can find the right service and the right steps without searching code or asking around. Good descriptions answer these questions: * Which service, pipeline, or person uses the key? * Where is the key stored? * How do you rotate it, and who owns it? For example: * `Used by the checkout service in prod. Rotate in AWS Secrets Manager.` * `Used by the deploy pipeline to create markers. Rotate in the CI secrets store. Owned by the Platform team.` > [!WARNING] > > A description is not secret. > Honeycomb shows it wherever it shows the key's name, to anyone who can see the key. > Do not put API keys, tokens, passwords, or other secrets in a description. > Record where the key is stored instead. To add or change a description, visit [Manage Environment API Keys](/configure/environments/manage-api-keys/#describe-api-keys) for Ingest and Configuration Keys, or [Manage Team API Keys](/configure/teams/manage-api-keys/#describe-management-keys) for Management Keys. # Observability and Working with Micro Frontends Source: https://docs.honeycomb.io/get-started/best-practices/micro-frontends Get Honeycomb's recommendations for adding observability to micro frontend applications with Honeycomb. Find out the tradeoffs and how to get OpenTelemetry or the Honeycomb Web SDK working in your setup. Micro frontend applications present a challenge for frontend observability libraries. No single solution exists to make OpenTelemetry or the Honeycomb Web SDK work easily with micro frontend. You will need to consider tradeoffs and limitations, so you'll need a clear understanding of your micro frontend architecture and your observability needs. To start, ask yourself: * What does my micro frontend architecture look like? * How is it unique? * How is it similar to other micro frontend systems? (For example, it uses module federation.) * What sort of information am I observing? * At what granularity am I observing this information? Read on for some ideas about how to manage the challenges of adding observability to your micro frontend. ## Initializing Libraries To initialize libraries, micro frontend systems usually use either module federation or a central bootstrap. Some systems even use both approaches. Systems using module federation are much more likely to encounter issues while initializing observability libraries, whereas issues are less of a problem with micro frontends that use a central bootstrap approach. Most micro frontends will encounter problems related to the observability SDK being a singleton. OpenTelemetry libraries and the Honeycomb Web SDK must be initialized only once per page load, which can be a problem in micro frontend architectures where every module is attempting to initialize its own OpenTelemetry library or Honeycomb Web SDK. If your system allows, initialize the library in a central bootstrap or shared module, and expose it to the other modules. Some module federation systems allow you to specify "singleton dependencies" for libraries like OpenTelemetry or React.js, which require that they be singletons on the page. This example shows [webpack](https://webpack.js.org/) with the [ModuleFederation plugin](https://webpack.js.org/plugins/module-federation-plugin/): ```javascript theme={} module.exports = { plugins: [ new ModuleFederationPlugin({ shared: { // Adds HoneycombWebSDK and OpenTelemetry as shared modules "@honeycombio/opentelemetry-web": { singleton: true, }, "@opentelemetry/api": { singleton: true, } }, }), ], }; // Initializes HoneycombWebSDK (only do this in one module) const sdk = new HoneycombWebSDK({ apiKey: "your-honeycomb-api-key", serviceName: "hfo-microfrontends", instrumentations: [getWebAutoInstrumentations()], localVisualizations: true, }); ``` The Honeycomb Web SDK will be initialized in the main module, and you can use the OpenTelemetry API for custom instrumentation. In other modules, you can create traces and spans as you normally would. ## Understanding Your Observability Needs The sort of challenges you face will depend on what information you need visibility into and how granular you want to be with attributing things to modules: * What metrics are done on a per-page basis? * Which metrics should be granular enough to go down to the module, or even the component, level? Some metrics might be fine at a per-page level. But for many metrics, such as error reporting, you'll likely want to identify the modules from which the errors came. ## Custom Instrumentation One way to avoid issues is to write your own code to handle instrumentation instead of using automatic instrumentation. If most of your telemetry uses custom instrumentation, you may be able to more easily add attributes for identifying specific modules. ## Auto-instrumentation When it comes to automatic instrumentation, most observability libraries will treat the entire application as a monolith. If you are only concerned with page-level granularity--for example, when tracking Web Core Vitals per page--this might be fine. Getting more granular data, especially at the module level, can be more challenging. You could use events like user clicks to identify the module the event came from. Check out the section on [custom span processing](/send-data/javascript-browser/#adding-custom-span-processing) with the Honeycomb Web SDK for more custom span processor examples. ```javascript theme={} class MFOSpanProcessor implements SpanProcessor { constructor(){ super(); } onStart(span: Span) { let moduleName = 'unknown-module'; if(isModuleA()) { moduleName = 'module-a'; } else if(isModuleB()) { moduleName = 'module-b'; } else if(isMainModule()) { moduleName = 'module-main'; } span.setAttributes({'module': moduleName}); } } //... const sdk = new HoneycombWebSDK({ apiKey: "your-honeycomb-api-key", serviceName: "hfo-micorfrontends", instrumentations: [getWebAutoInstrumentations()], spanProcessors: [new MFOSpanProcessor()] localVisualizations: true, }); ``` The method by which you figure out which module the span comes from will depend on your implementation. Sometimes you can use pre-existing attributes, such as the target element to determine origin. # Best Practices for Organizing Data Source: https://docs.honeycomb.io/get-started/best-practices/organizing-data Get Honeycomb's recommendations for organizing your data into datasets and environments, including naming conventions and structural patterns for the current data model. We recommend that you follow certain best practices when organizing data. Honeycomb divides your data into Environments and, within them, Datasets. An **Environment** represents the context for your events. A **Dataset** represents a collection of related events that come from the same source, or are related to the same source. ## Use Environments to group Datasets based on a theme Group events in the same Environment when you expect to analyze them as part of the same query or see them in the same trace. For example, if you create a separate Environment for each of your staging environments ("Production", "Development", and "Testing"), you can maintain focused datasets accompanied by relevant fields and values for each staging scenario. Separate events into different Environments when you cannot establish a relationship between them and want to reinforce that the data is differentiated. For example, you likely would not want to issue a single query against both "Production" and "Development". We do not recommend mixing data in the same Environment. Events from different Environments appear similar to one another and can be easily confused. Relying on the consistent application of a filter is tedious, error-prone, and likely to create misleading query results when forgotten. ### Consolidate Traces in an Environment For tracing, all the events in a trace must be within the same environment in order to render correctly in the UI. To ensure distributed tracing works across a number of services, send events from all of these services to a single environment. ### Examples of Environments The general guideline when creating environments is to what degree you will need to query data in the same place. There ara a few common patterns for choosing when to create distinct environments. #### Environments for Release Workflow You can use an Environment to represent different instances of an application as it moves through the release workflow, separating events that will be used in `production` from those in `staging`. You might also use a separate Environment for CI concerns, such as tracking [build events](/get-started/basics/observability/concepts/instrumentation/#batch-jobs-and-serverless) or test suite automation. #### Individual Development Environments Many Honeycomb users find it helpful send data from their local development environment. In this case, it can make sense for each team member to have an environment with their name, for example: `dev-alice`. A development environment can help both check that instrumentation is working correctly, and can also help understand how a new service is working. In some cases, you might prefer to have all developers use one shared `dev` environment. In those situations, every developer would send their events to the same dataset. Consider tagging each event with a field that specifies the developer whose local environment sent that event. That would allow a developer to query only their events by adding the filter `developer.name = name` to their queries. #### Environments for Regulatory Purposes Some Honeycomb users are subject to regulatory regimes, such as GDPR, and choose to create different environments to represent data that is affected by different regulations. Even though the events represent similar underlying activity, they may choose to send less-identifiable data to one environment than another. #### Data That Does Not Seem to Fit an Environment You might have general data that does not specifically fit into one environment. For example, you might keep infrastructure metrics that support both test and production data. We suggest you choose one well-known environment to put these into. One way to do this is create a separate `infra` environment. Alternately, you can put those events into `production`. ## Datasets Group Data Together Each Environment consists of a number of different Datasets. You can query within a single dataset, or across the entire Environment. Datasets are separated into two types: Service Datasets and General Datasets. ### Service Datasets The events in a Service Dataset represent distributed tracing spans. Each service is distinguished by its `service.name` field or `serviceName` configuration. A single trace can cross a number of different Service Datasets. When you look at a Trace, the query engine will find all spans — across all the Services in the Environment — that share the same trace id field. This will allow you to see the entire trace from any entry point. ### General Datasets General datasets consist of any data that does not participate in traces. They may include data from deployments, data from log sources, or metrics. We recommend that you send events into the Environment that best corresponds to those events. For example, a load balancer dataset might go into the `prod` Environment. While you can query across multiple datasets in Honeycomb, you may benefit from partitioning portions of your non-trace data into multiple general datasets. We recommend this approach to setting up your non-trace data: * Think of some of the **questions** that you want to ask of your data * Think about **what data** you need to collect in order to answer that question * Think about the **query** that you need to run across your data in order to answer the question - and in particular, how to make sure that you can **filter** it to only contain the data that you want. ### Manage the Number of Services Honeycomb sees Service Datasets as a way to group data: any data that is closely related to each other should go in the same Dataset. Information about a particular **instance** of a service should be sent as fields on the event, rather than the name of the service itself. For example, rather than sending data to two separate services, `authservice-host-01` and `authservice-host-02`, consider instead sending the data to one service, named `authservice`; use an additional field, `host`, to contain `01` and `02`. If you are able to combine this data into a single service, you will be able to more easily query across them. This will also let you use tools like [BubbleUp](/investigate/analyze/identify-outliers/) to compare and contrast fields on those events. ### Querying Across Trace and Non-trace data In order to easily query across trace and non-trace data - for example, correlating load metrics with trace information on API calls - it is important that you maintain consistency between your trace data and non-trace data. For example, if you are using OpenTelemetry to ingest your data, use the suggested OpenTelemetry schema for your service name, hostname, and other fields that you may decide to use. ## Managing your Data There are some general best-practices not linked to Environments and Datasets in particular. ### Namespace Custom Fields To help keep fields in order, it can be helpful to organize fields in the incoming events. We recommend using namespaces with dots to help bring them together. The automatic instrumentation in OpenTelemetry and Beelines follow this convention. For example: * tracing data is identified with `trace.trace_id`, `trace.parent_id`, and so on. * HTTP requests use fields like `request.url` and `request.user-agent` * database spans include fields such as `db.query`, `db.query_args`, and `db.rows_affected` Refer to the [OpenTelemetry Semantic Conventions](https://github.com/open-telemetry/semantic-conventions/) to learn more about conventional names for fields. Consider putting manual instrumentation under `app.`. Use as many layers of hierarchy as makes sense: `app.shopping_cart.subtotal` and `app.shopping_cart.items`; `app.user.email` and `app.user.id`. > [!TIP] > > In general, it is a best practice not to dynamically set a field's name from your instrumentation code, or to generate field names on the fly. > This can lead to runaway schemas, which can make the dataset difficult to navigate, and to Honeycomb throttling the creation of new columns. > > It is a common error to accidentally send a timestamp as a key, rather than as a value. > It is particularly dangerous to send unsanitized user input as a field name. ### Ensure Schema Consistency In a dataset that encompasses multiple services, it can be distressingly easy to create inconsistent field names. ```json theme={} { "service.name": "web", "app.customer_login": "tallen", "http.url": "/home", ... } ``` ```json theme={} { "service.name": "s3", "app.user_id": "tallen", "s3.bucket": 5484, "s3.size": 518324, ... } ``` When you look at a full trace that contains both columns, the inconsistent user name fields might be annoying. Even though this will not be a significant problem when querying within one dataset, the inconsistency can lead to potential problems. One way to help ensure consistency is to use a shared library of constants, or shared functions that add instrumentation. ### Ensure Appropriate Field Data Types Check that your data is a good match for the type Honeycomb thinks it is. For example, a field that looks like an integer might actually be a user ID. It would not make sense to round a user ID, which could happen with a large integer value. You should explicitly send these as string data. Alternately, you can set the field type in from the Dataset Settings Schema page. ## Limits ### Limits for Environments Team owners can create any number of Environments in Honeycomb. You can send up to 100 datasets to a single Environment. If you are on a [Honeycomb Enterprise plan](https://www.honeycomb.io/pricing/), you can send up to 300 datasets to a single Environment. When you are approaching 90% of your limit, Honeycomb will warn the team via email. When you have hit your limit, Honeycomb will stop accepting new datasets for the environment but will continue to accept events for existing datasets. View the current number of datasets for your Environment from the Manage Environments page. If your team needs more datasets, please contact our Support team via [support.honeycomb.io](https://support.honeycomb.io/), or email at [support@honeycomb.io](mailto:support@honeycomb.io) to raise these limits. ### Limits for Events Each event allows a maximum of 2,000 distinct fields. Each entire event must contain less than 1 MB of uncompressed JSON data. For string fields, each string field has a maximum length of 64KB. For number fields, integers and floats are both 64-bit. If you exceed the maximum limit for any of these values, then the event is rejected and and an error is returned. > [!TIP] > > Javascript's Number type can only represent up to 53 bit integers, so large 64-bit integer values may be rounded when displayed in the Honeycomb UI. # Best Practices for Querying using Relational Fields Source: https://docs.honeycomb.io/get-started/best-practices/relational-fields Get Honeycomb's recommendations for querying with relational fields, including how to handle warnings and get accurate results from trace-based queries. ## Query Warnings ### Understanding the "Ignoring long traces" warning When you run a query with relational fields, Honeycomb uses a finite join buffer to bring together each trace's relevant spans. If a trace's spans are too far apart in your data stream (meaning, they were ingested by honeycomb at very different times), we may retire that trace before reading all of its constituent spans, resulting in this warning. There are three common reasons you might see this: * For high-volume environments, the buffer is typically around 3-10 minutes, so traces longer than this are at risk. You may be able to mitigate this by including more filters (especially on service name) in the query. * Problems with your ingestion pipeline which delay sending parts of a trace can cause this problem. You can identify this issue by looking for divergence between the timestamps of your spans and their recorded ingestion time. See the [Calculated Field Expression Reference](/reference/calculated-field-expression/time/#ingest_timestamp) for how to access this field. * Some customers use a single trace id for a very long-running or background operation, resulting in a very large "giga-trace". (We have observed single traces hundreds of millions of spans across multiple days). These are impossible to join successfully, but may not be relevant to your query. You can identify this issue by looking for traces with extremely large numbers of spans (COUNT GROUP BY trace.trace_id), although in high-volume environments you'll want to scope that to as narrow a time range as possible. ## Query Performance To make your queries run faster, we recommend that you follow certain best practices when querying using relational fields. ### Use more filters > [!TIP] > > Using more filters will give the greatest performance increase. > Wherever possible, use filters! To get the greatest performance increase: * add filters that use field names both with and without relational field prefixes, even if some of those filters are duplicated. * if you add a filter with a relational field prefix to the **GROUP BY** clause, add a filter that uses the same relational field prefix to the **WHERE** clause. For example, if you are grouping by `parent.name`, also add a filter with a `parent.` relational field prefix into the **WHERE** clause. * make sure any of the additional filters you use exclude a meaningful number of events. If all else fails, identify a field that applies to all spans (for example, `service.name`) and include it in the **WHERE** clause. Following these recommendations will be particularly helpful for more expensive prefixes like `anyX.` (`any.`, `any2.`, `any3.`) and `parent.`. ### Root > anyX > parent Queries involving the `root.` prefix generally run faster than queries involving the `anyX.` (`any.`, `any2.`, `any3.`) prefix, which generally run faster than queries involving the `parent.` prefix. When you use the `root.` prefix, you get a free, implied `is_root` filter in the **WHERE** clause, which will usually filter out a substantial number of spans. When you use `anyX.` (`any.`, `any2.`, `any3.`), Honeycomb chooses the first span that matches your criteria, which also filters out a substantial number of spans. When you use `parent.`, Honeycomb must find the parent span for every event that matches the criteria defined by your non-prefixed fields, which can take some time. To improve performance, you could add a `parent.name` to the **WHERE** clause. ### Use shorter time ranges Use shorter time ranges for queries, including queries using relational fields. While Honeycomb can do an impressive amount of parallel processing of infrequently accessed data, we can do only so much within a given time frame. Be prepared for queries with long time ranges to take a while. ### Use traces with fewer spans Smaller traces means fewer events to hold in memory at once and less work for Honeycomb. ### Use similar services in a single trace Honeycomb uses the ingest time to determine what fits into a “window” of events that we keep in memory at a time. If you have a significant ingest delay for a specific service, relational fields queries that rely on joining that service's data with other services might suffer. For example, if you use a mix of AWS Lambda and non-Lambda services in a single trace, your ingest delay will likely vary significantly. AWS freezes the execution environment before spans can be flushed, which increases the ingest delay from AWS as opposed to other services. > [!NOTE] > > This only matters if the amount of ingest delay varies by service/span. > If all of your services have roughly the same amount of ingest delay (for example, all consistently two to three minutes late), then your queries should not be affected. # Best Practices for Service Level Objectives (SLOs) Source: https://docs.honeycomb.io/get-started/best-practices/slos Get Honeycomb's recommendations for SLOs: when to use them across datasets, how to set meaningful targets, and how to avoid common pitfalls. EntPro > [!NOTE] > > This feature is available as part of the [Honeycomb Enterprise and Pro plans](https://www.honeycomb.io/pricing/). We recommend that you follow certain best practices when using [Service Level Objectives (SLOs)](/notify/slos/). ## Use SLOs across multiple datasets only when necessary Even though Honeycomb allows you to create an SLO that shares a budget across multiple datasets/services, most SLOs can be made with one service/dataset. In most cases, you can define the correct SLO for an experience by putting the SLO on the service that is closest to your end users, which is also known as the edge service. Define an SLO across multiple services only when multiple edge services exist. ## Attach only one SLO to any SLI Honeycomb limits you to attaching only one SLO to any SLI Calculated Field. For example, you may not have both a 30-day and a 60-day SLO attached to the same SLI calculated field, although you may have as many Burn Alerts attached to an SLO as you wish. > [!TIP] > > If you find yourself needing more than one SLO attached to any SLI Calculated Field, please [contact Honeycomb for support](/troubleshoot/customer-support/); we would like to understand that scenario better! ## Use SLOs with a reasonably high volume of data SLOs are most effective when you have a reasonably high volume of data: a small number of failures in an hour should not make a major dent in your reliability. ## Apply fairly few SLOs to any dataset SLOs should describe interfaces to a system rather than, for example, customers. In this example, generally, customers should behave roughly similar to one another; if groups of customers have properties that set them apart from others, try to write SLOs against those properties instead. ## Keep your retention period in mind Honeycomb will track SLO values past your retention period, but will display these for only the Budget Burndown and Historical Compliance graphs. You cannot use BubbleUp or the heatmap to look at times beyond your retention period. # Sign Up for Honeycomb Source: https://docs.honeycomb.io/get-started/create-account Learn how to create a new Honeycomb account, create a new team, and invite your teammates to Honeycomb. ## Create your Honeycomb account 1. Go to [https://ui.honeycomb.io/signup](https://ui.honeycomb.io/signup). 2. Select **Switch to European Union** or **Switch to North America** to choose your account's region. 3. Sign up with your email or Google account. 4. Activate your account using the activation link sent to your email. > [!NOTE] > > Honeycomb stores your data in either a US-based or EU-based location depending on your account region. ![Sign up form for creating a Honeycomb account.](https://mintcdn.com/honeycomb/hiH_5poycWeHbgBa/_assets/images/honeycomb-ui/create-account-form.png?fit=max\&auto=format\&n=hiH_5poycWeHbgBa\&q=85\&s=e881fd5ccde1e31434c2dcb0ba11dcc8) ## Create your team When you log in to your new Honeycomb account, you'll be taken to the **Create new team** page. Give your team a name, choose your occupation/role, and let us know how you heard about Honeycomb. When you are ready, select **Create Team**. ![Example form for creating a new team in Honeycomb.](https://mintcdn.com/honeycomb/hiH_5poycWeHbgBa/_assets/images/honeycomb-ui/create-team.png?fit=max\&auto=format\&n=hiH_5poycWeHbgBa\&q=85\&s=162d26a9db426a3d7f8ac00d0e90b541) ## Invite people to your team 1. Navigate to **Account** > **Team Settings** > **Users** 2. Select **Team URL** and **copy** your team's URL. 3. Share this URL with your teammates. If available, you can also select **Invite Users** and add members to your team by providing a list of comma-separated emails. # 2026 Pro Plan Changes Source: https://docs.honeycomb.io/get-started/honeycomb/2026-pro-plan-changes Learn what is changing in Honeycomb's 2026 Pro plan pricing, including new tiers, a grace period, and what it means for your current plan. Honeycomb is introducing a new generation of self-serve Pro pricing. This page answers common questions about what is changing and what it means for your existing plan. ## What is changing? As of July 1, 2026, Pro plan pricing includes access to [Time Series Metrics](/get-started/honeycomb/metrics-in-honeycomb) and AI-powered features from [Honeycomb Intelligence](/get-started/honeycomb/honeycomb-intelligence), like [Canvas](/investigate/canvas) and the [Honeycomb MCP](/integrations/mcp). The new per-event rate is \$3.00 per million events, compared to \$1.30 per million events on legacy plans. The tier structure is also changing, from three tiers to four, topping out at 750M events per month. To explore the new tiers, visit [Honeycomb Pricing](https://honeycomb.io/pricing). Other entitlements, like [Triggers](/notify/triggers), [Service Level Objectives (SLOs)](/notify/slos), and support tier, stay the same regardless of which plan you are on. Similarly, usage is still [measured in events per month and data points per month](/get-started/manage-costs/how-honeycomb-calculates-usage) and data retention periods remain the same. ## Why is pricing changing on Pro plans? In the last year, Honeycomb has introduced several powerful features, such as [Time Series Metrics](/get-started/honeycomb/metrics-in-honeycomb), [Canvas](/investigate/canvas), and the [Honeycomb MCP](/integrations/mcp). Our Enterprise customers are already leveraging these tools to achieve greater value through accelerated onboarding, improved incident response times, and enhanced visibility into production AI agents. To ensure even more users can take advantage of these capabilities, we are extending them to our Pro customers. You can learn more about the new features we have released on the [Honeycomb Blog](https://www.honeycomb.io/blog?page=1\&topic=Product+Updates). Pricing now reflects the inclusion of these features and new tiers designed to better align with customer events and usage requirements. ## What about Honeycomb for Builders? How will this change the Pro1500 discounts and usage? The [Honeycomb for Builders](https://www.honeycomb.io/honeycomb-for-builders) program discounts will not change for those already enrolled. For new members of the program, the Pro discount plans will include Pro750 to align to the new pricing tiers. ## Do I need to do anything right now? Not right away. You can stay on your current Pro plan during the grace period, which ends on December 31, 2026, and nothing changes until then. Your billing page shows a `(Legacy)` label, so you know which generation of plan you are on. If you want to lock in savings now, though, you can commit to an annual term on your current legacy tier during the grace period and you will get a full year at your legacy rate plus a 20% increase, which costs less than switching to a new tier outright. To learn more, refer to [Can I keep legacy pricing for longer?](#can-i-keep-legacy-pricing-for-longer). > [!TIP] > > The grace period is a good opportunity to re-evaluate your telemetry needs. > If you currently send metrics as events, moving that telemetry to time series metrics frees up meaningful event headroom, since metrics data points bill separately from events. > This shift can affect which 2026 tier actually fits your usage. ## What happens if I don't take any action? If you haven't chosen a new plan by the time the grace period ends, Honeycomb moves your team to the 2026 Pro tier that most closely matches your current legacy tier. This happens automatically at your next billing boundary. > [!TIP] > > Honeycomb chooses your 2026 Pro tier based on your current plan, not your actual consumption. > If you have seen overage notices or throttling, we recommend choosing your tier proactively rather than waiting for the automatic move. If your usage runs higher than the top 2026 Pro tier, Honeycomb will reach out to you before the grace period ends to help you find the right plan. ## Can I keep legacy pricing for longer? Yes, but only on an annual term. If you commit to an annual term on your current legacy tier during the grace period, you can keep legacy pricing for that full annual term at a 20% increase over your legacy rate. Once that legacy term ends, you move to 2026 pricing and tiers, and you can choose monthly or annual billing. There is no monthly option at legacy pricing. If you want to keep paying monthly, you move to 2026 monthly pricing. Before you commit to a plan, use the grace period to re-evaluate your telemetry needs. If you currently send metrics as events, moving that telemetry to time series metrics frees up meaningful event headroom, since metrics data points bill separately from events. That shift can change which 2026 tier fits your usage, so we recommend choosing your plan rather than relying on automatic migration. To learn how to update your plan, visit [Change Pricing Plan](/configure/teams/pricing-plan). ## What if my team is on an annual plan with time left on it? You keep your current plan until your plan renews, at which point Honeycomb automatically moves your team to the 2026 Pro tier that most closely matches your current legacy tier. ## Where can I get help? If you have questions about your Pro plan and these changes, reach out to [Honeycomb Support](/troubleshoot/customer-support). # 2026 UI Refresh Source: https://docs.honeycomb.io/get-started/honeycomb/2026-ui-refresh Find Canvas faster, spot low-count heatmap buckets, and read a clearly separated Query Builder in dark mode As of September 24, 2026, Honeycomb has a fresh new look, designed to keep your focus on the investigation instead of the interface. Screens are easier to scan, charts surface the rare events that matter, and the tools you reach for most sit right where you need them. Here's a tour of what looks different and where to find the controls that moved. ## A crisper, easier-to-scan interface Every screen now does more of the work of guiding your eye, so you spend less time searching and more time investigating. Inputs, buttons, cards, menus, and modals have softer, rounder corners and stand out clearly from the page and from each other. Scan any screen, and the control you need is easy to spot without hunting for it. ![Screenshot of part of Query screen before UI refresh](https://mintcdn.com/honeycomb/Kov3ZUuYQT-LFDGG/_assets/images/2026-ui-refresh/ui-refresh-before.png?fit=max\&auto=format\&n=Kov3ZUuYQT-LFDGG\&q=85\&s=b9e14973b75bfc11f818cd982ec67a67) Before ![Screenshot of part of Query screen after UI refresh](https://mintcdn.com/honeycomb/Kov3ZUuYQT-LFDGG/_assets/images/2026-ui-refresh/ui-refresh-after.png?fit=max\&auto=format\&n=Kov3ZUuYQT-LFDGG\&q=85\&s=94b85a1639ef068968f1ddf755395a06) After ## Canvas in the navigation menu [Canvas](/investigate/canvas) is grouped with the other investigative tools, so your next investigation is always one glance away. Select **Canvas** () from the navigation menu, where it now appears between **Query** and **Boards**. ![Screenshot of Canvas in main navigation menu](https://mintcdn.com/honeycomb/Kov3ZUuYQT-LFDGG/_assets/images/2026-ui-refresh/ui-refresh-menu.png?fit=max\&auto=format\&n=Kov3ZUuYQT-LFDGG\&q=85\&s=1288244a7ad020f26c08f3a08e67fffd) ## Heatmaps that highlight rare events The events that happen least often are frequently the ones worth investigating, and [heatmaps](/investigate/analyze/visualize-events) put them front and center. An updated color scale keeps low-count buckets and outliers visible instead of letting them fade into the background. Use the chart's legend to match each color to its event count. ![Screenshot of heatmap in Query Results](https://mintcdn.com/honeycomb/Kov3ZUuYQT-LFDGG/_assets/images/2026-ui-refresh/ui-refresh-heatmap.png?fit=max\&auto=format\&n=Kov3ZUuYQT-LFDGG\&q=85\&s=ab5b8e23cb3558f06986e6620c81be23) ## Query Builder in dark mode Dark mode fans, this one is for you. In dark mode, the Query Builder appears as a distinct panel against the page background, so you can see exactly what you are building without straining. ![Screenshot of Query Builder in dark mode](https://mintcdn.com/honeycomb/Kov3ZUuYQT-LFDGG/_assets/images/2026-ui-refresh/ui-refresh-query-builder-dark-mode.png?fit=max\&auto=format\&n=Kov3ZUuYQT-LFDGG\&q=85\&s=3bb09992681e1c8c5b2f5cd0ed2d8722) # Core Analysis Loop Source: https://docs.honeycomb.io/get-started/honeycomb/core-analysis-loop Cycle through your telemetry dimensions, form hypotheses, and validate them with data. Learn how to debug any system from first principles. The core analysis loop is the basis of debugging from first principles. No matter how little you know about a system, you can use this loop as a brute-force method to cycle through all available dimensions in your telemetry data and identify which ones explain or correlate with outlier graphs. For more structured learning, check out the [The Core Analysis Loop](https://academy.honeycomb.io/app/courses/879919e3-5eb8-4d78-b0b6-f15863127c9d) course from Honeycomb Academy. ## Debugging From First Principles Once you have gathered telemetry data as events, achieving observability requires that you are capable of analyzing that data in powerful and objective ways. You should have to know very little before debugging an issue. You should be able to systematically and scientifically take one step after another, and methodically follow clues to find an answer, even when you are unfamiliar with the system. In short, you should be able to debug your applications from first principles. A first principle is a basic assumption about a system that was not deduced from another assumption. While intuitively jumping straight to the answer is wonderful, it becomes increasingly impractical as complexity rises and the number of possible answers skyrockets. Proper science requires you to avoid assuming anything. You must start by questioning what has been proven and what you are absolutely sure is true. Then, you must form a hypothesis and validate or invalidate it based on observations about the system. Debugging from first principles is a methodology you can follow to understand a system scientifically and is a core capability of observability. ## Using the Core Analysis Loop The core analysis loop is the process of using your telemetry to form hypotheses and to validate or invalidate them with data, thereby systematically arriving at the answer to a complex problem. It puts debugging from first principles into practice through the use of a methodical, repeatable, verifiable process. Debugging from first principles begins when you are made aware that something is wrong. You could have received an alert or a customer complaint: you know that something is slow, but you do not know what is wrong. At this point, you can begin the stages of the core analysis loop: ![Diagram of Core Analysis Loop](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/core-analysis-loop/core-analysis-loop.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=dafd42d2bfc301277b5e6774aeefac73) 1. **Define: What are you trying to understand?** Start with what prompted your investigation: what did the customer or alert tell you? 2. **Visualize: Visualize telemetry data to find relevant performance anomalies.** Verify that what you know so far is true: do you see a notable change in performance happening somewhere in the system? Data visualizations can help you identify changes of behavior--you'll see a change in a curve somewhere on the graph. 3. **Investigate: Search for common dimensions within the anomalous area by grouping or filtering for different attributes in your wide events.** Search for dimensions that might drive the change in performance. To do this, you might: 1. Examine sample rows from the area that shows the change: are there any outliers in the columns that might give you a clue? 2. Slice those rows across various dimensions looking for patterns: do any of those views highlight distinct behavior across one or more dimensions? Try an experimental **GROUP BY** on commonly useful fields, like `status_code`. 3. Filter for particular dimensions or values within those rows to better expose potential outliers. > [!TIP] > > You can use Honeycomb's BubbleUp feature to simplify this step. > To see an example, read ["Example: Investigate an Outlier Using BubbleUp"](#example-investigate-an-outlier-using-bubbleup). 4. **Evaluate: Have you isolated likely dimensions that identify potential sources of the anomaly?** Do you now know enough about what might be occurring? If so, you're done! If not, filter your view to isolate this area of performance as your next starting point, then return to step 3. The core analysis loop works best with rich, high-cardinality structured events: the more context each event carries, the more dimensions you have to investigate. Logs and metrics can participate in the loop too, especially when logs are sent as structured events via OpenTelemetry and correlated with traces. The more structure your telemetry has, the more effectively you can apply this methodology. ## Automating the Core Analysis Loop When uncovering interesting dimensions, you can perform the core analysis loop manually, but a good observability tool should automate as much of the investigation for you as possible. Rather than manually searching across rows and columns to coax out patterns, an automated approach would be to retrieve the values of all dimensions, both inside the isolated area (the anomaly) and outside the area (the system baseline), diff them, and then sort by the difference. Very quickly, this lets you see a list of things that are different in your investigation's areas of concern as compared to everything else. For example, you might isolate a spike in request latency and, when automating the core analysis loop, get back a sorted list of dimensions and how often they appear within this area. You might see the following: * `request.endpoint` with value `batch` is in 100% of requests in the isolated area, but in only 20% of the baseline area. * `handler_route` with value `/1/markers/` is in 100% of requests in the isolated area, but only 10% of the baseline area. * `request.header.user_agent` is populated in 97% of requests in the isolated area, but 100% of the baseline area. At a glance, this tells you that the events in this specific area of performance you care about are different from the rest of the system in all of these ways, whether that be one deviation or dozens. ### Example: Investigate an Outlier Using BubbleUp Honeycomb automates the core analysis loop with the [BubbleUp](/investigate/analyze/identify-outliers/) feature. With Honeycomb, you start by visualizing a heatmap to isolate a particular area of performance you care about. Select a spike in a line chart or drag to select an unusual area on your heatmap, and choose **BubbleUp Outliers**. BubbleUp computes the values of all dimensions both inside the box (the anomaly you care about and want to explain) and outside the box (the baseline), and then compares the two and sorts the resulting view by percent of differences. Let's take a look at a heatmap that shows an anomaly and use BubbleUp to investigate it. In this real-world example, we're looking at an application with high-dimensionality instrumentation that BubbleUp can compute and compare. We have already visualized a heatmap of event performance, seen an anomalous shape on our heatmap, and dragged to draw a box around the anomalous shape and open up BubbleUp. ![Screenshot of a Honeycomb heatmap of event performance during a real incident](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/core-analysis-loop/heatmap-with-bubbleup.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=58c800c01c2ab8f873b752689a7ab43d) In this example, BubbleUp surfaces results for 63 interesting dimensions and ranks the results by the largest percentage difference. The results of the computation are shown in histograms using two primary colors: blue for baseline dimensions and orange for dimensions in the selected anomaly area. In the top results, we see two histograms showing notable differences between baseline dimensions and anomalous dimensions: a field named `global.availability_zone` with a value of `us-east-1a` and a field named `global.instance` with a value of `m6g.4xlarge`. Other surfaced dimensions have differences that tend to be less stark, indicating that they are likely not as relevant to this investigation. When we hover over the histograms, we get further details. For example, we can see that `global.availability_zone` appears as `us-east-1a` in 98% of anomalous events in the selected area and only in 17% of baseline events. ![Screenshot of BubbleUp histograms of most interesting dimensions](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/core-analysis-loop/bubbleup-interesting-dimensions.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=a85b5adbad4ae8b0a5e4f8ce650f9a1b) Overall, the noteworthy histograms show that: * slow-performing events are mostly originating from one particular availability zone (AZ) from our cloud infrastructure provider * one particular virtual machine instance type appears to be more affected than others We now know the conditions that appear to be triggering slow performance--a particular type of instance in one particular AZ is much more prone to very slow performance than other infrastructure we care about. In this situation, the glaring difference pointed to what turned out to be an underlying network issue with our cloud provider's entire AZ. We contacted our cloud provider and were also able to independently verify the unreported availability issue when our customers also reported similar issues in the same zone. > [!NOTE] > > Not all issues are as immediately obvious as this underlying infrastructure issue. > Often you may need to look at other surfaced clues to triage code-related issues. > The core analysis loop remains the same, and you may need to slice and dice across dimensions until one clear signal emerges, similar to the preceding example. > If this example had instead been a code-related issue, we might have decided to reach out to the users who reported issues or figured out the path they followed through the UI to see those errors, and then fixed the interface or the underlying system. # Honeycomb Intelligence Source: https://docs.honeycomb.io/get-started/honeycomb/honeycomb-intelligence AI-powered features that surface insights from your telemetry so you can investigate faster and resolve incidents with confidence. Honeycomb Intelligence is a suite of AI-powered features built into Honeycomb that surfaces insights from your telemetry data so you can investigate faster, understand your systems more deeply, and resolve incidents with confidence. ## What is Honeycomb Intelligence? Honeycomb Intelligence is not a single feature—it is a set of capabilities that meet you where you are in your workflow. Some features are interactive, responding to your questions and guiding investigations in real time. Others work in the background, learning what normal looks like for your systems and alerting you when something meaningful changes. Use Honeycomb Intelligence to: * **Investigate an incident interactively**: [Canvas](/investigate/canvas) is an AI-guided workspace inside Honeycomb that pairs natural language interaction with rich, interactive visualizations. Ask Canvas a question, explore query results, and share snapshots with teammates, all without leaving Honeycomb. * **Understand what you are looking at**: [Chat about a page](/investigate/canvas/chat-about-a-page) gives you contextual AI help on the Honeycomb page you are viewing, without opening a full investigation. * **Troubleshoot production issues from your IDE**: The [Honeycomb MCP Server](/integrations/mcp) lets AI-powered IDEs and agents query your observability data directly using natural language. Run BubbleUp, detect outliers, and visualize traces without switching tools. * **Get early warning of performance problems**: [Anomaly Detection](/troubleshoot/product-lifecycle/experimental-features#anomaly-detection) (Early Access) learns what normal looks like for your services and automatically surfaces meaningful deviations before they affect your users. It reduces false positives and alert fatigue so your team focuses on real problems. * **Create calculated fields faster**: [AI Assisted Calculated Fields](/send-data/standardize/transform-data) helps you write valid calculated field expressions using natural language, drawing on your dataset schema to produce accurate results. ## How Honeycomb Intelligence works Honeycomb Intelligence is designed to fit into your existing workflow with minimal friction and full transparency into how it works. ### AI models Honeycomb Intelligence uses a combination of large language models (LLMs) and statistical machine learning models, depending on the task. Interactive features like Canvas and AI Assisted Calculated Fields use LLMs to interpret your input and generate responses grounded in your dataset schema and telemetry. Anomaly Detection uses statistical machine learning models rather than LLMs. It continuously builds a per-service baseline from your existing telemetry and surfaces deviations that are likely to indicate a real problem. ### Data and model training Honeycomb does not use your telemetry data to train foundation models. For details about model providers and data handling, visit [Honeycomb AI Policies](/security-compliance/ai-policies). ### Data pipeline Honeycomb Intelligence works with your existing telemetry data. You don't need to reconfigure your instrumentation, set up a separate AI pipeline, or move data anywhere new to use them. ### Team control Honeycomb Intelligence is optional. Team Owners can enable or disable it at any time. When disabled, no Honeycomb Intelligence features are active, including features that surface insights passively. To learn how to enable or disable Honeycomb Intelligence for yout Team, visit [Manage Team Behavior](/configure/teams/manage-behavior). # Introduction to Honeycomb Source: https://docs.honeycomb.io/get-started/honeycomb/introduction Learn what Honeycomb is, what problem it solves, and how its core concepts fit together. Honeycomb is an observability platform built for understanding complex software systems in production. When something goes wrong, or behaves unexpectedly, Honeycomb gives you the tools to find out why, without knowing in advance what question you need to ask. Many observability tools are built around known failure modes: metrics you decided to track, thresholds you set in advance, dashboards you built before the incident. That works when your systems fail in ways you have already seen. But these tools fall short when your system surprises you, which happens more often as systems grow more distributed and complex. ## Why Honeycomb? The core difference is in how Honeycomb stores and queries data. Many observability tools store raw telemetry but limit what you can query: a fixed set of indexed tags, pre-defined dashboards, or aggregations computed at ingest. Honeycomb runs arbitrary queries across all fields at interactive speed, so the question you ask at 2am during an incident doesn't have to be one you anticipated when you set up your dashboards. A few specific things follow from that design: * **You can instrument richly without penalty:** Add as many fields as you want with many unique values per field, such as user IDs, request IDs, or feature flags. Honeycomb is built to handle high-cardinality data efficiently, with [pricing](https://www.honeycomb.io/pricing) based on event volume rather than field cardinality or dimension count. * **You can ask questions you haven't thought of yet:** Every field in every event is automatically indexed when it arrives. There's no schema to define in advance, no index to build, no field to "activate." If you sent the data, you can query it. * **Queries run in seconds, not minutes:** Honeycomb's purpose-built columnar store returns results on terabytes of raw event data at sub-second to low-second query times. The difference between a two-second query and a two-minute query isn't just convenience; it makes iterative investigation practical. * **The whole team can use it:** All Honeycomb plans include unlimited seats, so you don't have to ration or rotate access. An on-call engineer, a product manager, and a senior engineer debugging together can all query, annotate, and share findings in real time without worrying about per-seat charges. * **AI fits naturally into this model:** Honeycomb's data is high-cardinality, fast to query, and accessible via API and MCP. That makes it a strong foundation for AI-assisted investigation: the data AI needs to reason about your system is already there, already indexed, and already queryable at the speed investigation requires. ## How Honeycomb works Honeycomb is built around a single foundational concept: the *event*. An event is a structured record of a single unit of work. It captures what happened, when it happened, how long it took, and any context your instrumentation includes: user IDs, feature flags, service names, error messages, build IDs. Honeycomb supports three telemetry signals, each of which answers different questions about your system: * **Traces**: Collections of spans that share a trace ID. Each span represents one unit of work in your distributed system. Honeycomb uses the parent-child relationships between spans to render a waterfall view of execution flow across your services. * **Logs**: Records of discrete events: errors, state changes, and application output. Structured logs map directly to Honeycomb events and are immediately queryable. When sent via OpenTelemetry, logs are automatically correlated with the traces they belong to. To learn more about Honeycomb's approach to Logs, visit [Logs in Honeycomb](/get-started/honeycomb/logs-in-honeycomb). * **Metrics**: Numeric measurements of your system captured over time, such as CPU utilization, request rates, and error counts. Honeycomb stores metrics in dedicated metrics datasets built on the OpenTelemetry Metrics Data Model, separate from your trace and log data. You can query metrics alongside your traces and logs, and Honeycomb can surface relevant metrics automatically when you investigate a latency spike or error pattern. To learn more about Honeycomb's approach to Metrics, visit [Metrics in Honeycomb](/get-started/honeycomb/metrics-in-honeycomb). To learn how Honeycomb organizes this data into datasets, environments, and teams, visit [Honeycomb's Data Model](/get-started/honeycomb/data-model). ## What you can do with your data Once your data is in Honeycomb, you can: * **Query across any dimension:** The Query Builder lets you filter, group, and aggregate on any field in your data, including fields you didn't know you'd need when you started instrumenting. * **Explain unusual behavior:** Select any region of your data and BubbleUp highlights which dimensions differ most from the baseline, so you can narrow down what changed without manually checking each field. * **Get proactive alerts on anomalies:** [Anomaly Detection](/troubleshoot/product-lifecycle/experimental-features#anomaly-detection) (Early Access) learns normal patterns per service from your trace and event data, such as error rate and data presence, and notifies you when behavior deviates, without requiring you to define a Trigger for every failure mode. * **Investigate traces:** The trace waterfall shows execution flow across services, with span-level detail and direct links to correlated logs and metrics. * **Explore logs:** The Logs view surfaces log volume, severity breakdowns, and top messages at a glance, so you can scan and filter log data without building queries from scratch. * **Monitor metrics:** The Metrics view surfaces time series data alongside your traces and logs, so you can correlate a latency spike with a CPU saturation event without switching tools. * **Alert and notify:** Set up Triggers to notify your team when your data crosses defined thresholds. SLOs track error budget burn over time and alert when burn rate accelerates. * **Share findings:** Boards collect queries and visualizations into a reusable view. Query links and trace links preserve full context for teammates. * **Investigate with AI:** With [Honeycomb Intelligence](/get-started/honeycomb/honeycomb-intelligence) enabled, [Canvas](/investigate/canvas) can auto-investigate alerts and anomalies you configure, so findings can already be waiting when you open the incident. The [Honeycomb MCP server](/integrations/mcp) lets supported AI tools query your production data directly. These features build on the same event data and fast query model as the rest of the product. ## Where to start Your first step is getting data in. Honeycomb recommends OpenTelemetry as the standard for instrumentation and ingestion. > [card] [Instrument your application](/get-started/start-building/application) > > Send traces, logs, and metrics from your application using OpenTelemetry SDKs. > [card] [Instrument your infrastructure](/send-data/kubernetes) > > Collect logs and metrics from Kubernetes, AWS, and other infrastructure using the OpenTelemetry Collector. > [card] [Explore the sandbox](https://play.honeycomb.io/sandbox/tours) > > Try Honeycomb with sample data before connecting your own systems. > [card] [Understand the core analysis loop](/get-started/honeycomb/core-analysis-loop) > > Learn the methodology behind debugging from first principles with Honeycomb. # Keyboard Shortcuts Source: https://docs.honeycomb.io/get-started/honeycomb/keyboard-shortcuts Keyboard shortcuts available in the Honeycomb UI, organized by context. Shortcut availability changes based on where you are in the interface. When you're working, your tools should feel effortless, letting you focus on solving problems, not navigating menus. To help you move smoothly, we've made essential keyboard shortcuts easy to access. > [!TIP] > > Keyboard shortcut availability changes based on where you are in the UI. ## Query Keyboard shortcuts available from the **Query** () section of the Honeycomb UI include: | Shortcut | Description | | - | - | | Open keyboard shortcuts panel | ? | | Toggle right sidebar | h | | Toggle left sidebar | n | | Open query builder | q | | Run query | Shift + Enter Cmd + Enter | | Undo query change | Cmd + z | | Redo query change | Cmd + Shift + z | | Open dataset selector | d | | Open time range selector | t | | Toggle UTC time | u | | Toggle chart hovers | o | | Toggle markers | m | | Filter markers | l | | Wrap log lines | w | ## Service Map Keyboard shortcuts available from the **Service Map** () section of the Honeycomb UI include: | Shortcut | Description | | - | - | | Open keyboard shortcuts panel | ? | | Toggle right sidebar | h | | Toggle left sidebar | n | | Open time range selector | t | # Log in with SAML SSO Source: https://docs.honeycomb.io/get-started/honeycomb/log-in-with-saml-sso Log in to a Honeycomb Team configured for SAML SSO, whether you are a new user or an existing user switching login methods. EntPro > [!NOTE] > > This feature is available as part of the [Honeycomb Pro and Enterprise plans](https://www.honeycomb.io/pricing/). Honeycomb Teams can require authentication through a SAML Identity Provider (IdP). This guide walks you through logging in to a SAML-configured Honeycomb Team. ## Before you begin Before you log in, make sure you have the following: * An account in your team's SAML IdP, such as Okta or Microsoft Entra ID. If you need help determining which IdP your team uses, contact your Team Owner. * Access to the email address associated with your IdP account. > [!NOTE] > > You don't need an existing Honeycomb account. > If you don't have one, Honeycomb creates one for you during the login process. ## Logging in ### 1. Log in to your IdP To reach your Honeycomb team's login page, you must first log in to your IdP. Choose the option that works best for you. > [tab] Direct login URL > > If you know your team's slug, go directly to your team's SAML login page: > > * **US:** `https://ui.honeycomb.io/login/sso/{team_slug}` > * **EU:** `https://ui.eu1.honeycomb.io/login/sso/{team_slug}` > > For example, to log in to a US team with the slug `hny`, go to `https://ui.honeycomb.io/login/sso/hny`. > > If the team is configured for SAML, the page redirects to the team's SAML IdP. > [tab] Company IdP dashboard > > Log in to your company's IdP directly (for example, `yourcompany.okta.com`) and select the `Honeycomb` tile for your team. If you need help choosing an option or locating Honeycomb in your IdP dashboard, contact your Team Owner. ### 2. Log in to Honeycomb Once you have logged in to your IdP, your login flow depends on whether you are a new Honeycomb user or an existing one. > [tab] New user > > If you are new to Honeycomb, Honeycomb asks you to verify your email address before creating your account. > To verify: > > 1. Check your email for an account activation code. > > [!TIP] > > > > The verification email may take a few minutes to arrive. > > Check your spam folder if you don't see it. > 2. Copy the verification code from the email. > 3. Enter the code on the Honeycomb landing page. > 4. Select **Submit**. > > Honeycomb redirects you to your team's home page. > [tab] Existing user - account already linked > > If you have logged in with this SAML IdP before and already linked your Honeycomb account, Honeycomb redirects you directly to your team's home page. > [tab] Existing user - account not yet linked > > If you have a Honeycomb account not yet linked to this SAML IdP, the flow depends on whether you are currently logged in to Honeycomb. > > **If you are currently logged in to Honeycomb:** > > Honeycomb displays a confirmation page asking you to link your account to this SAML IdP. > > > [!NOTE] > > > > A Honeycomb account can be linked to more than one SAML IdP, so linking this account won't affect any existing IdP connections. > > 1. Review the information on the page before proceeding: > > | Field | Description | > | - | - | > | `SAML Identity` | Identifier your SAML provider uses to identify your account. Often your email address, but may be another form of identifier. Useful for troubleshooting. | > | `Issuer (SAML Provider)` | Identifier for the SAML provider you logged in with. | > | `Honeycomb Account` | Email address associated with your currently logged-in Honeycomb account. | > | `Team` | Team for which the IdP is configured. Honeycomb adds you to this team after you link your account. | > 2. Choose your path: > * If everything looks correct, select **Link account** to complete the process. > * If something doesn't look right or you don't want to link this account, select **Cancel**. > > **If you are logged out of Honeycomb:** > > Honeycomb recognizes your email address and asks you to verify ownership before linking your account. > To verify: > > 1. Check your email for an account activation code. > > [!TIP] > > > > The verification email may take a few minutes to arrive. > > Check your spam folder if you don't see it. > 2. Copy the verification code from the email. > 3. Enter the code on the Honeycomb landing page. > 4. Select **Submit**. > > Honeycomb redirects you to the home page for your team. # Logs in Honeycomb Source: https://docs.honeycomb.io/get-started/honeycomb/logs-in-honeycomb Learn how Honeycomb handles log data, how to get the most out of structured and unstructured logs, and how logs fit alongside your traces and metrics. Honeycomb supports all three OpenTelemetry (OTel) signals: traces, logs, and metrics. Whether you are starting with raw, unstructured logs or fully structured OTel output, Honeycomb can work with what you have, and your data becomes more powerful as you add structure over time. > [!TIP] > > If you are new to logs or want to understand how Honeycomb thinks about structured versus unstructured data, visit [Traces, Metrics, and Logs](/get-started/honeycomb/traces-metrics-logs/). ## How logs work in Honeycomb Honeycomb stores and queries logs alongside traces and metrics, using the same event-based data model. ### Logs as events Honeycomb stores logs as events, the same foundational unit as trace spans. A structured log maps naturally to a Honeycomb event: its fields become event fields, automatically indexed and immediately available in the Query Builder. ### Starting with unstructured logs Honeycomb works with unstructured logs, and you can add structure incrementally. * **For application logs:** [Configure an OTel SDK](/send-data/logs/opentelemetry/sdk) to wrap your existing log output and send it to Honeycomb as structured events. * **For infrastructure or file-based logs:** [Configure the OpenTelemetry Collector to parse fields before ingestion](/send-data/logs/unstructured/collector). * **After the fact:** [Use calculated fields to extract structure](/send-data/standardize/transform-data#parsing-unstructured-logs). The more fields you add to your logs over time, the more of Honeycomb's query capabilities become available to you. ### Log dataset identification Honeycomb treats a dataset as a log dataset when it includes a log message field: typically the OpenTelemetry `body` field, or a field you map to `Logs: Message` in your [dataset definitions](/configure/datasets/definitions). That enables the Logs view on Honeycomb Home, which surfaces log volume, error and warning counts, severity breakdowns, and top messages without requiring you to build those queries manually. To populate severity charts and color-coded log lines, also send a `severity` field or map a field to `Logs: Severity`. If your severity values are non-standard, use [calculated fields](/send-data/standardize/transform-data) to normalize them to Honeycomb's expected levels. > [!NOTE] > > Log datasets are typically kept separate from trace datasets, both for organizational clarity and so that Honeycomb can apply the appropriate Home visualizations for each signal type. ## Log-trace correlation One of the strongest reasons to send application logs via OTel is automatic correlation with traces (infrastructure and file-based logs can be sent to Honeycomb and queried, but don't automatically carry trace context). When your application is configured with both an OTel log exporter and OTel tracing, logs emitted within the context of a request are automatically tagged with the trace ID and span ID for that request. This makes OTel logs a useful starting point for teams who aren't yet on traces. You can send your existing structured application logs to Honeycomb via OpenTelemetry and get queryable, high-cardinality log data immediately. When you add tracing later, those logs become linked to the traces they belong to. You usually don't need to change how you emit log lines; adding tracing attaches trace context to logs you are already sending. You can build toward fuller observability incrementally, at whatever pace works for your team. > [!NOTE] > > OTel log support varies by language; check [Send Logs from OpenTelemetry SDKs](/send-data/logs/opentelemetry/sdk) for current availability before getting started. ## How to query logs Querying logs in Honeycomb works the same way as querying any other data. Use the Query Builder to filter by severity, group by message, aggregate counts over time, or identify outliers with BubbleUp. A few patterns are particularly useful for log data: * **Filter by severity** to focus on errors or warnings: `WHERE severity = error` * **Group by your log message field** (typically `body`) to find which log messages occur most frequently * **Use HEATMAP on a parsed numeric field**, such as a response time extracted from a log line, to visualize distribution over time * **Use BubbleUp** on a spike in log volume to surface which field values are most common in that window compared to the baseline The **Explore Events** view presents log data in a format optimized for scanning, with color-coding by severity level. > [!TIP] > > Color-coding requires a field mapped to `Logs: Severity` in your dataset definitions. > To learn more, visit [Map Your Data](/send-data/standardize/map-data). ## How logs work with traces and metrics Logs, traces, and metrics are complementary signals. In practice, you will often use all three together: * A **metrics alert** surfaces a problem: error rate is elevated. * A **log query** narrows the scope: these specific error messages are occurring most frequently. * A **trace investigation** explains the cause: this is where in the request execution the error originates. When logs carry trace context, you can navigate from a log event to its corresponding trace; logs and traces typically live in separate datasets, connected by their shared trace ID. ## Logs and your plan Log data is measured in events per month (EPM) and counts against your event allotment alongside trace data. To learn how Honeycomb measures usage, visit [How Honeycomb Calculates Usage](/get-started/manage-costs/how-honeycomb-calculates-usage). ## Next steps * [Send Logs from OpenTelemetry SDKs](/send-data/logs/opentelemetry/sdk): Send structured application logs from your code, correlated with your traces. * [Send Logs with the OTel Collector](/send-data/logs/unstructured/collector): Parse and forward infrastructure and file-based logs to Honeycomb. * [Investigate Log Data in Honeycomb](/investigate/debug/log-data-in-honeycomb): Query, visualize, and debug your log data once it is in Honeycomb. * [Map Your Data](/send-data/standardize/map-data): Map your field names to Honeycomb standard fields to enable log severity color-coding and Home visualizations. # Metrics in Honeycomb Source: https://docs.honeycomb.io/get-started/honeycomb/metrics-in-honeycomb Learn how Honeycomb handles metrics data, how metrics relate to traces and logs, and when to use metrics in your observability practice. Honeycomb supports three telemetry signals: traces, logs, and metrics. Metrics are the right tool for continuous monitoring of known quantities: infrastructure health, request rates, error counts, and other numeric signals you always care about, regardless of what any individual request is doing. > [!TIP] > > If you are new to metrics or want to understand how Honeycomb thinks about metrics versus events, visit [Traces, Metrics, and Logs](/get-started/honeycomb/traces-metrics-logs/). ## How metrics work in Honeycomb Metrics in Honeycomb are built around two core concepts: data points and time series. Each individual measurement is called a *data point*. A *time series* is the sequence of data points for a single metric with a consistent set of attributes (for example, CPU utilization for a specific host over the past 24 hours). Changing any metric attribute value creates a different time series for that metric. For example, CPU utilization grouped by `host.name` produces one time series per host. ### Supported metric types Honeycomb supports the following [OpenTelemetry metric types](https://opentelemetry.io/docs/concepts/signals/metrics/): * **Gauges**: A snapshot of a value at a point in time, such as current memory usage * **Counters and sums**: Cumulative or delta counts of something over time, such as total requests served * **Histograms**: A distribution of values, such as request latency bucketed by duration ### Connecting your metrics pipeline Honeycomb is built on the [OpenTelemetry Metrics Data Model](https://opentelemetry.io/docs/concepts/signals/metrics/), which means your existing OpenTelemetry metrics pipeline works without modification. If you are already sending OTLP metrics, you can point them at Honeycomb and start exploring your data immediately. No instrumentation changes are required. Honeycomb stores metrics in a dedicated *metrics dataset*, separate from your traces and logs, to keep your data organized and make querying more predictable. ### Automatic handling Honeycomb handles a few things automatically: * **Automatic aggregation defaults:** Honeycomb selects the appropriate temporal aggregation for each metric based on its type, monotonicity, and temporality. You can override these defaults in your queries. For the full list of defaults, visit [Apply temporal aggregation](/investigate/query/apply-temporal-aggregation). * **Native histogram support:** Honeycomb stores histograms as distributed data structures rather than pre-bucketed values. This enables accurate percentile calculations (p95, p99) and flexible merging across time windows and grouped dimensions. * **Calculated fields:** Apply temporal logic and derived calculations directly in your queries without modifying your dataset schema, so you can compute ratios or rates on the fly. ## How to query metrics Querying metrics works the same way as querying any other data in Honeycomb. You use the Query Builder, filter and group by resource attributes, and visualize results as time series charts. Metrics queries support *temporal aggregation functions*, which account for the time-based nature of metric data: * `RATE(metric)`: Calculates the per-second rate of change of a counter or cumulative sum * `INCREASE(metric)`: Calculates the difference between the first and last values within each time step, accounting for counter resets * `LAST(metric)`: Returns the most recent value for each time step * `SUMMARIZE(metric)`: Sums all data points in a step, interpolating at step boundaries to avoid double-counting and gaps To learn more about how temporal aggregation works and when to use each function, visit [Temporal Aggregation](/investigate/query/temporal-aggregation) and [Applying Temporal Aggregation Functions](/investigate/query/apply-temporal-aggregation). Metrics queries also support *spatial aggregation* (comparing values across multiple time series at the same point in time) and [Query Math](/investigate/query/math), which lets you build multi-step queries with inline mathematical formulas to calculate ratios, percentages, and other derived values. ## How metrics work with traces and logs Metrics give you high-resolution continuous data over time. Events give you the rich context of what happened in a specific request. Having both in Honeycomb means you can move between signals without switching tools. ### Correlations When you run an events-based query, Honeycomb automatically surfaces relevant metrics in the **Correlations** view below your query results. For example, if you are investigating a latency spike, you can explore CPU utilization, memory usage, or network throughput for the relevant hosts alongside your query results. Correlations also appear at the span level in trace waterfalls, surfacing infrastructure metrics for the resource associated with a specific span. To learn more, visit [Correlations](/investigate/analyze/correlate). ### Metrics-based Triggers You can alert on metrics data using the same Trigger system you use for events, with the same notification destinations and reliability. Metrics-based Triggers support temporal aggregation functions, so you can alert on rates and trends rather than just raw values. To learn more, visit [Metrics-based Triggers](/notify/triggers/metrics). ### Boards Add metrics queries to Boards alongside event queries to build a unified view of system health. To learn more, visit [Boards](/investigate/observe/boards). ## When to use metrics Metrics and events serve different purposes and work best together. Use metrics when you want to: * Track the health and resource usage of infrastructure such as hosts, containers, and Kubernetes nodes * Monitor high-volume numeric signals at regular intervals, such as request rates or error counts * Alert on threshold conditions over time using rates and trends * Get a continuous picture of known quantities: things you always care about, regardless of what any individual request is doing Use events (traces and logs) when you want to: * Understand what happened during a specific request or transaction * Debug a problem by examining individual spans, errors, or log lines * Ask open-ended questions across high-cardinality dimensions you didn't anticipate in advance * Identify outliers and unusual patterns using BubbleUp In practice, you will often use both. A metrics alert surfaces a problem; a trace investigation tells you why it happened. ## Metrics and your plan Honeycomb measures metrics usage in *data points per month (DPPM)*. Each plan includes a data point allotment on top of your event allotment. To see the data point allotment for your plan, visit [Honeycomb Pricing Plans](https://www.honeycomb.io/pricing). Honeycomb counts the metric observations you send, not the number of unique time series those observations belong to. High-cardinality attributes, such as host IDs, pod IDs, or CI job IDs, can create many short-lived time series, but they do not add a separate per-series billing charge. To understand what counts as a data point, visit [How Honeycomb Calculates Usage](/get-started/manage-costs/how-honeycomb-calculates-usage#how-we-define-a-data-point). Data point usage is tracked and throttled independently from events, using the same overage model. To learn how Honeycomb measures usage, handles overages, and applies burst protection for both events and data points, visit [How Honeycomb Calculates Usage](/get-started/manage-costs/how-honeycomb-calculates-usage). ## Next steps * [Send application metrics to Honeycomb](/send-data/metrics/application) * [Send system metrics with the OTel Collector](/send-data/metrics/system) * [Set up a Metrics-based Trigger](/notify/triggers/metrics) * [Correlate metrics with your event queries](/investigate/analyze/correlate) # Pricing Plans Source: https://docs.honeycomb.io/get-started/honeycomb/pricing Compare Honeycomb's pricing plans and included features. # Honeycomb Private Cloud Source: https://docs.honeycomb.io/get-started/honeycomb/private-cloud Run the full Honeycomb observability platform in your own infrastructure for enhanced data governance, regulatory compliance, and infrastructure control. Honeycomb Private Cloud brings the observability platform you know into your own infrastructure. You get enhanced data governance, regulatory compliance, and complete infrastructure control, all while keeping the Honeycomb experience your teams rely on. ## What is Honeycomb Private Cloud? Honeycomb Private Cloud is a deployment option that runs Honeycomb in your cloud account instead of on Honeycomb's infrastructure. It uses the same architecture and codebase as Honeycomb SaaS, so the full Honeycomb feature set is available. The key difference is that you control where your data lives and how your infrastructure is configured. Honeycomb Private Cloud works well for organizations that need to: * **Control data governance:** Keep your telemetry data in your environment and maintain full control over data location and access. * **Meet regulatory requirements:** Comply with HIPAA, PCI DSS, FedRAMP, or industry-specific regulations that mandate data residency or isolation. * **Optimize cloud costs:** Apply your existing cloud discounts, Reserved Instances, or Savings Plans to your observability infrastructure. * **Maintain network isolation:** Operate in air-gapped or highly restricted network environments with strict egress controls. * **Customize resource allocation:** Configure infrastructure with adjustable rate limits and dedicated resources for your telemetry volume. > [!NOTE] > > Honeycomb Private Cloud runs on AWS, but support for additional cloud platforms is on our roadmap. > If you need support for other cloud platforms, let your Honeycomb account team know which platform matters most to you! > Your feedback helps us prioritize future development. ## Key Capabilities Honeycomb Private Cloud runs on the same codebase as Honeycomb SaaS, so you have complete feature parity: * **Query high-cardinality data in real-time:** Process millions of events per second with Honeycomb's custom column store. * **Explore telemetry with AI:** Use Canvas for natural language queries and MCP for automated anomaly detection. * **Trace distributed systems:** Understand complex service interactions and identify bottlenecks with Honeycomb's tracing model. * **Query any field:** Analyze data across unlimited custom dimensions without pre-aggregation or indexing delays. * **Resolve issues in real-time:** Identify and fix problems as they happen, not after the fact. You also get the same query performance, APIs, integrations, user interface, and workflows. Private Cloud deployments receive weekly updates with minimal lag behind the latest platform features. ## Deployment Flexibility Honeycomb Private Cloud offers these [deployment models](/private-cloud/deployment-models/): * **[Honeycomb-managed](/private-cloud/deployment-models/#honeycomb-managed):** Honeycomb handles deployment, operations, upgrades, and monitoring while your data stays in your environment. * **[Self-managed](/private-cloud/deployment-models/#self-managed):** Your team deploys and operates Honeycomb with support and upgrade guidance from Honeycomb. Both models support [single-tenant or multi-tenant configurations](/private-cloud/tenancy-options/), so you can balance isolation requirements with operational efficiency. ## Architecture Honeycomb Private Cloud uses multiple cloud services including compute, caching, databases, and object storage. The architecture distributes across multiple availability zones for high availability and scales horizontally to meet your throughput requirements. Your Honeycomb deployment integrates with: * Your authentication provider (Okta, SAML, or other identity providers) * Your email gateway for notifications * Your Slack workspace (via custom Slack app) * GitHub (via custom GitHub app for deployment gates) To learn more about the technical architecture, visit [Honeycomb Private Cloud Architecture](/private-cloud/architecture/) # Honeycomb Private Cloud Architecture Source: https://docs.honeycomb.io/get-started/honeycomb/private-cloud/architecture Find out how Honeycomb Private Cloud is architected, including AWS services used, infrastructure components, scaling, networking, and high availability. Honeycomb Private Cloud runs on the same architecture that powers Honeycomb's SaaS platform, delivering high-speed query performance, AI-native intelligence, and scalable telemetry processing within your AWS environment. ## Architecture Principles Honeycomb Private Cloud uses a distributed, service-oriented architecture designed for performance, scalability, and reliability: * **Horizontally scalable**: Components scale by adding instances rather than increasing individual resource size * **High availability**: Resources distributed across multiple AWS Availability Zones (AZs) for resilience * **Service separation**: Distinct components for ingestion, query processing, storage, and user interface * **Real-time processing**: Event data available for query immediately upon ingestion ## Core Components Your Private Cloud deployment includes: * **Ingestion pipeline**: Receives and processes telemetry data from your applications * **Query engine**: Honeycomb's custom column store for high-speed, high-cardinality queries * **Storage layer**: Durable persistence of telemetry events * **Web application**: Honeycomb UI for exploration, analysis, and visualization * **AI services**: Canvas and MCP for intelligent telemetry exploration * **API services**: Programmatic access for integrations and automation * **Metadata services**: User management, authentication, and configuration ## AWS Infrastructure Honeycomb Private Cloud leverages multiple AWS services: * **Compute**: EC2, EKS, ECS, Lambda * **Storage**: S3, RDS * **Caching**: ElastiCache (Redis, Memcached) * **Networking**: VPC, subnets, load balancers * **Configuration**: SSM Parameter Store * **High Availability**: Multi-AZ, automatic failover, redundant caching * **AI**: Bedrock > [!NOTE] > > This list is not exhaustive. ## Infrastructure Requirements To ensure Honeycomb Private Cloud runs smoothly, you need infrastructure that matches your telemetry volume, query patterns, and availability needs. ### Resource Sizing Sizing depends on your telemetry volume and query patterns. Honeycomb provides sizing recommendations based on: * **Expected events per second**: Peak and average telemetry ingestion rate * **Concurrent users**: Number of people actively using Honeycomb * **Query patterns**: Frequency and complexity of queries * **Data retention**: How long telemetry data is kept * **Growth projections**: Expected increase in telemetry volume Work with your Honeycomb account team during planning to determine appropriate infrastructure sizing for your deployment. ### Inbound Traffic Your Honeycomb deployment receives: * Telemetry data from your applications and services * User traffic to the Honeycomb UI (web browser access) * API requests from integrations and automation ### Outbound Traffic Your Honeycomb deployment connects to: * Your authentication provider (SAML/Okta IdP) * Your email gateway (for notifications) * Your Slack workspace (if using Slack integration) ## Integration Requirements Honeycomb Private Cloud connects with your existing systems for secure access, alerts, and team collaboration. Key integrations include: * **Authentication**: SAML 2.0, ADFS, other SAML 2.0-compliant IdPs * **Email notifications**: SMTP relay or email gateway * **Slack (optional)**: Custom app installation and OAuth token * **GitHub (optional)**: Custom GitHub app for deployment gates ## Deployment-Specific Requirements Detailed deployment and networking guidance will be provided closer to deployment. To learn more about operational responsibilities, visit [Deployment Models](/private-cloud/deployment-models/). ## Limitations To guide your deployment decisions, note these constraints: * **AWS GovCloud regions:** AI model access differs, which may affect how Canvas and MCP features work. # Honeycomb Private Cloud Deployment Models Source: https://docs.honeycomb.io/get-started/honeycomb/private-cloud/deployment-models Choose between Honeycomb-managed and self-managed Private Cloud deployments based on your team's operational capabilities and compliance requirements. Honeycomb Private Cloud offers two deployment models to match your operational capabilities and compliance requirements. The difference is who manages the infrastructure. ## Honeycomb-Managed Honeycomb handles all operational aspects of your Private Cloud instance, including installation, upgrades, monitoring, and scaling. You get Honeycomb's operational expertise while keeping the data governance and compliance controls your organization requires. Honeycomb-managed deployments offer two hosting options: ### Honeycomb-Hosted Honeycomb manages and operates your deployment within Honeycomb-controlled cloud infrastructure. You get: * **Hands-off infrastructure management**: Honeycomb handles everything. * **Optimized performance**: Benefit from infrastructure tuned by Honeycomb's platform team. * **Simplified billing**: No separate cloud infrastructure costs to track. * **Faster time to production**: Get up and running quickly with pre-configured environments. This works well for organizations that want dedicated infrastructure and data isolation without managing resources. ### Customer-Hosted Honeycomb manages and operates your deployment within your cloud account. You get: * **Complete data residency control**: Your telemetry data never leaves your cloud account. * **Full network control**: Keep your organization's network security boundaries intact. * **Regulatory compliance**: Meet requirements for data to stay within your governance structure. * **Cost flexibility**: Apply your existing cloud discounts, Reserved Instances, or Savings Plans. This works well for regulated industries that need data to stay fully under their governance. ### What Honeycomb Manages With both Honeycomb-managed options, Honeycomb handles: * **Installation and configuration**: Initial deployment and setup of all components. * **Upgrades and updates**: Weekly deployment of platform updates. * **Monitoring and operations**: 24/7 monitoring of platform health and performance. * **Scaling**: Infrastructure adjustments to meet changing telemetry volumes. * **Incident response**: Resolution of platform-level issues. * **Security patches**: Timely application of security updates. ### What You Manage Your team handles: * **Authentication**: Integration with your identity provider (for example, Okta or SAML). * **Email gateway**: Configuration for notification delivery. * **Slack integration**: Custom Slack app setup (if using Slack notifications). * **User management**: Honeycomb user provisioning and access control. * **Telemetry sources**: Instrumenting applications and sending data to Honeycomb. * **Cloud account management**: Cloud account administration (for customer-hosted deployments). ## Self-Managed Your team manages all infrastructure. Honeycomb provides the software, support, and upgrade guidance. This works well for organizations with highly secure, air-gapped, or tightly controlled environments that require complete infrastructure autonomy and have the operational maturity to manage complex distributed systems. ### What You Control Self-managed deployments give you: * **Complete infrastructure autonomy**: Manage all cloud resources and configurations however you want. * **Flexible update timing**: Apply updates according to your internal policies and change windows. * **Custom infrastructure**: Adjust resource allocation, networking, and scaling to your exact needs. * **Security control**: Implement your organization's security tools, monitoring, and compliance frameworks. * **Air-gapped capability**: Deploy in highly restricted or disconnected environments. ### What Honeycomb Provides Honeycomb supports your self-managed deployment with: * **Deployment guidance**: Get documentation and best practices for installation. * **Upgrade packages**: Receive weekly release packages with update instructions. * **Technical support**: Access Enterprise support channels for troubleshooting and guidance. * **Architecture advice**: Get recommendations for sizing, scaling, and optimization. * **Security advisories**: Receive timely notification of security issues and patches. ### What You Manage Your team handles: * **Infrastructure provisioning**: Set up all required cloud resources. * **Installation and configuration**: Deploy initial Honeycomb components. * **Upgrades and updates**: Apply updates according to your schedule. * **Monitoring and operations**: Watch platform health and respond to incidents. * **Scaling**: Adjust infrastructure to meet demand. * **Backup and disaster recovery**: Implement and test disaster recovery procedures. * **Security management**: Apply security patches and maintain compliance. * **Integration management**: Configure authentication, email gateway, and Slack integration. ## Choosing a Deployment Model We recommended choosing a Honeycomb-managed deployment model, unless you require self-managed deployments. When choosing between Honeycomb-managed and self-managed consider these factors: | Factor | Honeycomb-Managed | Self-Managed | | - | - | - | | **Operational overhead** | Low | Medium to high | | **Update deployment** | Weekly, managed | Weekly packages | | **Infrastructure control** | Shared (customer-hosted) or Honeycomb-controlled | Complete control | | **Best for** | Focus on observability | Complete autonomy or air-gapped environments | Both models include enterprise support and full Honeycomb capabilities and performance. # Honeycomb Private Cloud Tenancy Options Source: https://docs.honeycomb.io/get-started/honeycomb/private-cloud/tenancy-options Configure Honeycomb Private Cloud as single-tenant for maximum isolation or multi-tenant for organizational separation. Compare isolation levels and use cases. Honeycomb Private Cloud can be configured as single-tenant or multi-tenant to match your organizational structure and isolation requirements. Both [Honeycomb-managed](/private-cloud/deployment-models/#honeycomb-managed) and [self-managed](/private-cloud/deployment-models/#self-managed) deployment models support either tenancy option. ## Single-Tenant A single-tenant deployment gives you a dedicated Honeycomb environment with complete isolation from other tenants. Single-tenant deployments work well for organizations that need to: * **Maximize isolation**: Get complete separation at the infrastructure level with no shared resources. * **Meet strict compliance requirements**: Satisfy regulatory mandates that require dedicated infrastructure. * **Guarantee data privacy**: Ensure telemetry data has no possibility of cross-tenant exposure. * **Isolate performance**: Guarantee that your workload performance is unaffected by other tenants. * **Customize resource allocation**: Configure infrastructure specifically for your telemetry patterns and volume. Single-tenant configurations are common in financial services with strict regulatory requirements, healthcare organizations subject to HIPAA or other health data protection regulations, government agencies requiring FedRAMP or other government compliance certifications, and high-volume enterprises with massive telemetry volumes that require dedicated, optimized infrastructure. ### Architecture In a single-tenant deployment: * All infrastructure components serve only your organization * No resources are shared with other Honeycomb customers * Your data stays completely isolated from other tenants * Infrastructure can be sized and optimized specifically for your workload ## Multi-Tenant A multi-tenant deployment provides logical separation within shared infrastructure between teams or business units. Multiple groups maintain autonomy while benefiting from operational efficiency. Multi-tenant deployments work well for organizations that need to: * **Separate by organization**: Create distinct Honeycomb environments for different business units, regions, or teams. * **Improve operational efficiency**: Share infrastructure management across multiple groups. * **Optimize costs**: Distribute infrastructure costs across multiple teams or business units. * **Enable team autonomy**: Give each group their own Honeycomb environment with independent user management and configuration. Multi-tenant configurations are common in large enterprises with multiple business units that need separate observability environments. ### Architecture In a multi-tenant deployment: * Multiple Honeycomb environments run within shared infrastructure * Each tenant has logical isolation with independent: * User authentication and authorization * Data storage and access controls * Configuration and settings * API keys and integrations * Infrastructure resources are shared across tenants for efficiency * Each tenant maintains operational independence ## Comparing Tenancy Options | Aspect | Single-Tenant | Multi-Tenant | | - | - | - | | **Infrastructure isolation** | Complete | Logical | | **Data isolation** | Physical and logical | Logical only | | **Compliance suitability** | Highest | suitable for most enterprise needs | | **Performance isolation** | Guaranteed | Shared | | **Administrative overhead** | Single environment | Multiple environments | | **Cost efficiency** | Higher | Lower through sharing | | **Scalability** | Dedicated | Shared | | **Best for** | Maximum isolation and compliance | Organizational separation with operational efficiency | ## Combining Tenancy and Deployment Models You can combine tenancy options with deployment models to match your specific needs: * **Single-tenant, Honeycomb-managed**: Maximum isolation with minimal operational overhead * **Single-tenant, self-managed**: Complete control and isolation for highly regulated or air-gapped environments * **Multi-tenant, Honeycomb-managed**: Efficient support for multiple teams with Honeycomb handling operations * **Multi-tenant, self-managed**: Organizational flexibility with complete infrastructure control # Honeycomb Resource Structure Source: https://docs.honeycomb.io/get-started/honeycomb/resource-structure Understand the organizational structure of Honeycomb: teams, environments, datasets, and events. Honeycomb organizes your telemetry data into a hierarchy: teams contain environments, environments contain datasets, and datasets contain event or metrics data, depending on dataset type. Understanding this structure helps you instrument your systems effectively, manage access, and get the most out of Honeycomb's query capabilities. ## Events An *event* is a structured record of a single unit of work. It captures what happened, when it happened, how long it took, and any contextual information you choose to include, such as user IDs, feature flags, error messages, build IDs, and environment names. Events are JSON objects sent over HTTP. Every *field* in an event is labeled and indexed automatically, which means Honeycomb can filter, group, and aggregate on any field without knowing about it in advance. You don't need to define your schema ahead of time or decide which fields to index before you know what questions you want to ask. Fields appear in the Query Builder as soon as they arrive. Traces and logs arrive in Honeycomb as structured events. Metrics arrive as time-series data points in dedicated metrics datasets. To learn how each signal maps to the event model, visit [Traces, Metrics, and Logs](/get-started/honeycomb/traces-metrics-logs). ## Datasets A *dataset* is a collection of related from a single service or data source. Trace and log datasets contain events; metrics datasets contain time-series data points. Honeycomb can create a dataset automatically when you first send data if your API key is allowed to do so. With OpenTelemetry and Environments, your service name is often the dataset name for new datasets. All events in a dataset share the same schema, which is the set of fields Honeycomb has seen across all events sent to that dataset. Some dataset conventions: * Trace datasets contain spans with `trace.trace_id`, `trace.span_id`, and `duration_ms` fields. * Log datasets contain events with a `body` field or a field mapped to `Logs: Message`. * Metrics datasets contain time-series data points built on the OpenTelemetry Metrics Data Model. To learn how to configure and manage datasets, visit [Manage Datasets](/configure/datasets/manage). ## Environments An *environment* groups datasets that you expect to analyze together. Environments typically separate data by deployment stage (Production, Staging, Development) or by regulatory boundary. Honeycomb queries run within a single environment by design. That boundary keeps production data separate from staging data and prevents accidental cross-environment analysis. Honeycomb has three API key types: * Ingest Keys send telemetry data to a specific environment. * Configuration Keys manage resources within an environment, such as Boards, Triggers, and SLOs. * Management Keys operate at the team level and manage API keys and environments across your whole team. The key you use to send data determines which environment receives it. To learn how to configure and manage environments, visit [Manage Environments](/configure/environments/manage). ## Teams A *team* is the top-level organizational unit in Honeycomb. It represents your organization and contains all of your environments, datasets, and members. When you sign up for Honeycomb, you create a team, typically named after your company or organization. Team members have roles that control what each person can do. To learn about available roles, visit [Manage team permissions](/configure/teams/manage-permissions/). ## Related pages * [Traces, Metrics, and Logs](/get-started/honeycomb/traces-metrics-logs): How each telemetry signal maps to Honeycomb's event model * [Manage Datasets](/configure/datasets/manage): How to create, configure, and delete datasets * [Manage Environments](/configure/environments/manage): How to create and configure environments * [Best Practices for Organizing Data](/get-started/best-practices/organizing-data): Recommendations for structuring environments and datasets * [Map Your Data](/send-data/standardize/map-data): How to map field names to Honeycomb standard fields # Traces, Metrics, and Logs Source: https://docs.honeycomb.io/get-started/honeycomb/traces-metrics-logs Understand the telemetry signals Honeycomb supports, how each one works, and how they fit together. Honeycomb supports three telemetry signals: traces, metrics, and logs. Each one captures different information about your system and works best for different kinds of questions. ## How signals work in Honeycomb In Honeycomb, traces and logs are stored as *structured events*: labeled JSON objects sent over HTTP, indexed automatically on every field at ingest, and queryable without a predefined schema. Metrics are different; they arrive as time-series data points in dedicated metrics datasets rather than as events. Understanding this distinction helps explain why each signal is queried differently in Honeycomb. To learn how Honeycomb organizes events into datasets, environments, and teams, visit [Honeycomb Resource Structure](/get-started/honeycomb/resource-structure). ## Traces A *trace* is a record of a request as it travels through your system. It is made up of *spans*, each representing one unit of work, such as a database query or a service call. Spans share a trace ID that identifies which trace they belong to. In Honeycomb, each span is stored as a structured event: a labeled JSON object you can filter, group, and aggregate on any field. Honeycomb uses the parent-child relationships between spans, expressed via `trace.parent_id` and `trace.span_id`, to render a waterfall view of execution flow across your services. Traces are the right signal when you want to: * Follow a specific request across multiple services * Understand execution flow and latency at the span level * Correlate errors or slowdowns with the exact code path that produced them You create trace spans by instrumenting your code with OpenTelemetry. This example creates a span, adds context as attributes, and closes it when the work is done: ```python theme={} from opentelemetry import trace from opentelemetry.sdk.trace import TracerProvider # Set up the tracer provider = TracerProvider() trace.set_tracer_provider(provider) tracer = trace.get_tracer("my-service") # Create a span (event) with rich context with tracer.start_as_current_span("bucketRequest") as span: span.set_attribute("http.request.method", "GET") span.set_attribute("app.group_bucket", 11) span.set_attribute("db.rows_returned", 42) # do some work ``` Here is an example of what a span looks like as a structured event in Honeycomb: ```json theme={} { "service.name": "retriever", "service.version": "1.4.2", "deployment.environment": "production", "host.name": "retriever-0a8b688312e490d1c", "host.type": "m6gd.2xlarge", "cloud.availability_zone": "us-east-1a", "http.request.method": "GET", "url.path": "/api/v1/bucketRequest", "http.response.status_code": 200, "http.response_content_length": 2326, "app.group_bucket": 11, "app.query_source": "trigger-cron", "app.total_segments": 0, "app.flag.golden_retrievers": false, "db.system": "postgresql", "db.name": "datasets", "duration_ms": 11.668, "build.id": 275663, "build.commit_hash": "9cb3de12faf709cdc9bca5c9900e8259c1719b02", "process.pid": 7585, "process.uptime_seconds": 2298, "trace.trace_id": "845a4de7-8e3a-4605-8476-6aa1592c3134", "trace.span_id": "84c82b34145c22f9", "trace.parent_id": "ab0e166fbbea7dc6" } ``` > [!NOTE] > > With OpenTelemetry, Honeycomb calculates `duration_ms` from each span’s start and end time during ingest. Every field is available for querying. You can group by `service.name`, filter by `http.response.status_code`, compute a P95 on `duration_ms`, or use BubbleUp to identify which dimensions differ most across a selected region of your data. To learn how to send traces to Honeycomb, visit [Send Data](/send-data). ## Metrics A *metric* is a numeric measurement of something in your system, captured at regular intervals over time. Metrics describe the state or behavior of a resource (a host, a service, a database connection pool) rather than a specific unit of work. Honeycomb supports metrics as a native signal built on the [OpenTelemetry Metrics Data Model](https://opentelemetry.io/docs/concepts/signals/metrics/), including gauges, counters, sums, and histograms. Metrics are ingested as time-series data points in dedicated metrics datasets and are queried with metric-specific functions like `RATE()`, `INCREASE()`, and `LAST()` that account for the time-based nature of metric data. Metrics are the right signal when you want to: * Monitor infrastructure health consistently: CPU utilization, memory usage, request rates * Alert on threshold conditions over time using rates and trends * Track known quantities you always care about, regardless of what any individual request is doing To learn more, visit [Metrics in Honeycomb](/get-started/honeycomb/metrics-in-honeycomb). ### How Honeycomb metrics differ from pre-aggregated metrics Some systems emit *pre-aggregated metrics*: rollups computed before write time, such as totals, averages, and percentiles calculated before sending to Honeycomb. Pre-aggregated metrics are efficient to produce, but they have a fundamental limitation: you can only ask questions that were anticipated at instrumentation time. For example, if you want to know how your system performs when the storage engine has a cache hit, that dimension needs to have been included in the pre-aggregated rollup: ```txt theme={} { time: 4:03 pm, duration_sec: 60, total_hits: 500, avg_duration: 113, p95_duration: 236, ... (and so on) ... } ``` Adding a new dimension, such as cache hit status, means adding new rows for every combination: `avg_duration_cache_hit_true`, `avg_duration_cache_hit_false`, `p95_duration_cache_hit_true`, and so on. Each new dimension multiplies the number of pre-aggregated rows required; this is the "curse of dimensionality." In contrast, Honeycomb's native metrics preserve the full resolution of your data and let you ask questions at query time rather than instrumentation time. To see this difference in practice, refer to the [Events vs. Pre-aggregated Metrics](#events-vs-pre-aggregated-metrics) section. ## Logs A *log* is a record of a discrete event in your system: an error, a state change, a user action, or any output your application emits at a specific point in time. Honeycomb receives logs as structured events, which means you can query them the same way you query trace data. ### Structured logs A *structured log* has consistent, labeled fields, like JSON output from an application logger or similar to what you might expect to see in a spreadsheet or a comma-separated-value file. Because of this structure, a structured log maps naturally to a structured event: its fields become event fields, immediately queryable in the Query Builder. Here is an example of a structured log line: ```txt theme={} host-ip username datetime cmd URL protocol status size 127.0.0.1 frank 10/Oct/2000:13:55:36 GET /apache_pb.gif HTTP/1.0 200 2326 ``` For new services, the recommended path is to send structured logs via OpenTelemetry, which maps log fields directly to event fields and enables automatic trace correlation. [Honeytail](/send-data/logs/structured/honeytail/) is a tool that can ingest existing structured log files for legacy setups and emit structured events. ### Unstructured logs An *unstructured log* is a sequence of free-form messages, convenient for a person to read but harder to query. When Honeycomb starts its `retriever` service, the console prints something like this: ```log theme={} Running serve cmd: cd cmd/retriever && go run main.go -debug -reader time="2021-01-06T17:44:13-08:00" level=info msg="I'm a reader, using RPC for dataset flushes" DEBU[2021-01-06T17:44:13.368024402-08:00] starting *secrets.YamlSecrets DEBU[2021-01-06T17:44:13.368461794-08:00] starting *retrieverclient.YamlConfig named retriever_config DEBU[2021-01-06T17:44:13.368679356-08:00] starting *config.YamlConfig DEBU[2021-01-06T17:44:13.369046236-08:00] starting *s3.DefaultService DEBU[2021-01-06T17:44:13.369518352-08:00] starting *lambda.DefaultService WARN[2021-01-06T17:44:13.369694698-08:00] debug http server error error="listen tcp 127.0.0.1:6060: bind: address already in use" INFO[2021-01-06T17:44:13.369727168-08:00] Debug service listening on localhost:6061 DEBU[2021-01-06T17:44:13.369728616-08:00] starting *beelineinit.Beeline WARN[2021-01-06T17:44:13.369839218-08:00] debug http server error error="listen tcp 127.0.0.1:6061: bind: address already in use" INFO[2021-01-06T17:44:13.369933256-08:00] Debug service listening on localhost:6062 DEBU[2021-01-06T17:46:15.618320662-08:00] starting *app.ReadApp INFO[2021-01-06T17:46:15.618436383-08:00] Serving at 0.0.0.0:8089... INFO[2021-01-06T17:47:15.618821038-08:00] I'm alive. 2021-01-06 17:47:15.618683749 -0800 PST m=+60.893288862 ``` To understand what happened during startup, you need to read a whole sequence of lines, and even then causality is hard to establish. To find out how long the service took to start, you would need to subtract timestamps from each other. To find out whether an error occurred during startup, you would have to search for lines. Imagine summarizing the same startup as a single structured event: ```txt theme={} { cmdline: "cd cmd/retriever && go run main.go -debug -reader", startTime: "2021-01-06T17:44:13-08:00", mode: "reader", yamlSecrets_offset: "368024402", yamlConfig_offset: "13.368461794", debug_http_error: "listen tcp 127.0.0.1:6061: bind: address already in use", servicePort: 8089, duration_ms: 180262 ... } ``` In this format, you can query for questions like "Which services take the longest to start?" or "Do any slow startups correlate with particular error states?" To learn more, visit [Logs in Honeycomb](/get-started/honeycomb/logs-in-honeycomb). ## Using signals together Honeycomb supports all three signals in the same platform, so you can move between them without switching tools. A common investigation pattern: * A metrics alert surfaces a problem: error rate is elevated. * A log query narrows the scope: these specific error messages are occurring most frequently. * A trace investigation explains the cause: this is where in the request execution the error originates. ### Correlations When you run an events-based query, Honeycomb surfaces related metrics in the **Correlations** view when metrics data exists for your environment. For example, if a latency spike coincides with a host running out of memory, you can see both signals side by side without leaving the Query Builder. To learn more, visit [Correlations](/investigate/analyze/correlate). ### Metrics-based Triggers You can alert on metrics data using the same Trigger system you use for events. A metrics alert can tell you that something is wrong; a trace investigation tells you why. To learn more, visit [Metrics-based Triggers](/notify/triggers/metrics). ### Logs as events Because Honeycomb receives logs as events, you can query log data the same way you query any other dataset: filter, group, and aggregate across any field. To learn more, visit [Logs in Honeycomb](/get-started/honeycomb/logs-in-honeycomb). ## Managing data volume If event volume is a concern, you can sample your data to reduce volume while keeping aggregates statistically accurate. For example, you could send one in a hundred `status:200`s but send every `status:500`. When your instrumentation includes a `sample_rate` on each event, Honeycomb uses it to scale counts so query results reflect your true traffic volume. To learn more, visit [Sampling Guidelines](/manage-data-volume/sample/guidelines). For metrics, factors like your collection interval and the number of active time series affect how many data points you send. To learn more, visit [Manage Metrics Data Volume](/manage-data-volume/adjust-granularity/metrics-events) and [How Honeycomb Calculates Usage](/get-started/manage-costs/how-honeycomb-calculates-usage#how-we-define-a-data-point). ## Code examples The following examples show how the same piece of code can be instrumented in different ways and how the outputs differ. Understanding these differences helps you choose the right signal for each job. ### Events vs. pre-aggregated metrics ![Events vs. Metrics](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/events-metrics-logs/EventsMetrics.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=fb9ffa751fc851290919de675f67ddef) In this example, the left side is instrumented with events, the right with pre-aggregated metrics. Both capture the duration, but the output is quite different. Events are built up over time, gaining context as they go, whereas pre-aggregated metrics are updated individually and don't carry that same context. #### Events output In this example, Honeycomb was used for events. Although a graph was rendered, the raw data gives a more equal comparison. ![Events Output](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/events-metrics-logs/EventsOutput.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=f841eeb5a66cf53222ded645deb67c52) #### Pre-aggregated metrics output In this example, pre-aggregated metrics were used. ![Pre-aggregated Metrics Output](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/events-metrics-logs/MetricsOutput.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=d41f364bf616cd97ec6d2b134ed8e13e) #### Comparison Both examples capture the duration in milliseconds and how many times the example app was run. At first glance, the metrics output appears to have more data, but all of those values can be calculated from the event data at query time. Pre-aggregated metrics tools need to do this calculation before write time, which limits what you can ask later. Events let you add richer context, like input, output, and timestamps, and compute any aggregation at query time. ### Events vs. unstructured logs ![Events vs. Logs](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/events-metrics-logs/EventsLogs.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=13b1952ef657fd2d95c4acbdf76321ab) The example on the left is instrumented with events, the one on the right with logs. Both capture the duration in milliseconds. With events, duration is available as `duration_ms` on the stored span. With logs, you write it as part of a log statement. In this example, the timestamp for each log statement is included inline and can be parsed out with regex. Each log line includes a description of the data followed by the value itself, in this case, the duration in milliseconds. #### Events output In this example, Honeycomb was used for events. Although a graph was rendered, the raw data gives a more equal comparison. ![Events Output](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/events-metrics-logs/EventsOutput.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=f841eeb5a66cf53222ded645deb67c52) #### Logs output The logged output: ![Logs Output](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/events-metrics-logs/LogsOutput.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=d40a83bdbfd29ce559a9a5794e166f49) #### Comparison All the information is included in both outputs, but events let you see patterns in your data much faster. Both outputs show that one request was much slower than the other. With events, that's visible at a glance. With logs, you have to read through the entire output to find the duration lines and match them to the right input and output. ### Summary All three approaches take roughly the same amount of time and effort to implement. The events and pre-aggregated metrics required slightly more setup initially because they needed configuration with an outside service. For logs, if you are doing more than writing to a terminal, you will need a similar amount of setup. # Manage Costs Source: https://docs.honeycomb.io/get-started/manage-costs Predict and control your Honeycomb costs. Find out how usage is measured, how overages are handled, and how to optimize your implementation to reduce spend. You may not always be able to predict your systems' behaviors, but you should be able to predict your costs, understand how your team's use of Honeycomb is evolving over time, and know how to optimize your implementation to manage costs. > [card] [How Honeycomb Calculates Usage](/get-started/manage-costs/how-honeycomb-calculates-usage/) > > Predict your costs. Understand how Honeycomb measures usage, predicts and handles overages, and retains data. # How Honeycomb Calculates Usage Source: https://docs.honeycomb.io/get-started/manage-costs/how-honeycomb-calculates-usage Track how Honeycomb measures your usage in events per month and metrics data points, how Honeycomb predicts and handles overages, and how data retention works across your plan. Honeycomb gives you full visibility into your costs so you can track how your Team's usage evolves over time. ## How we measure usage Honeycomb measures two types of usage: events and metrics data points. All Teams on Free and Pro pricing plans have specific monthly limits for both. For Teams on Enterprise pricing plans, Honeycomb calculates the associated events per month (EPM) limit based on the events per year (EPY) for their annual plan. ## How we define an event An event is a collection of information about what it took to complete a unit of work. For example, accepting an HTTP request, doing the required work, and then passing back a response counts as one event. In traces, which are complex requests that comprise many spans, each span represents a unit of work, so Honeycomb counts each span in a trace (`SpanEvent` or `Link` in OpenTelemetry and OpenCensus) as an event. For example, Honeycomb counts a trace that contains 150 spans as 150 events. To learn more about the format and size of events that Honeycomb accepts, visit [Honeycomb Event API](/api/events/) and [OpenTelemetry](/send-data/opentelemetry/). ## How we define a data point > [!NOTE] > > [Time series metrics](/get-started/honeycomb/metrics-in-honeycomb/) data is defined with data points. > If you use events-based metrics, Honeycomb stores your metrics as events and calculates usage accordingly. A data point is a single metric measurement captured at a point in time for a specific time series. A time series is a sequence of data points for a single metric with a consistent set of attributes (for example, CPU utilization for a specific host). Honeycomb counts data points based on the number of individual metric observations successfully ingested. Honeycomb does not bill time series metrics by the number of unique time series. Changing attribute values, such as new host IDs or CI job IDs, creates new time series, but it only changes DPPM usage when it changes the number of metric observations you send. Data points that don't count against your DPPM limit include: * Data points Honeycomb rejects due to operational rate limiting or excessive size * Malformed data points that Honeycomb can't ingest * Data points you filter before they reach Honeycomb ## What counts against Event Per Month (EPM) limits All successful events Honeycomb ingests count against your EPM limit. Events that don't count against the EPM limit include: * Events Honeycomb rejects due to operational rate limiting, excessive size, or malformation * Events your application samples before sending to Honeycomb, such as via Refinery, Beelines, or other sampling methods ## What counts against Data Point Per Month (DPPM) limits Each plan includes a data point allotment separate from your event allotment. Honeycomb tracks the two independently, so your Team can exceed one limit without affecting the other. To see the data point allotment for your plan, visit [Honeycomb Pricing Plans](https://www.honeycomb.io/pricing). ## How we predict overages Based on the EPM limit, Honeycomb calculates a daily event target (EPM divided by 30.4). Honeycomb calculates a daily data point target the same way, based on your DPPM limit. We base all event and data point counts on calendar month, regardless of when a team's billing renewal date may fall. You can see your EPM limit, your DPPM limit, and both daily targets in the Honeycomb UI under **Team Settings** > **Usage**. ## How we handle overages Honeycomb surfaces a usage state indicator in the UI for all teams. You can see your Team's warning state in the left-hand navigation menu, next to the **Usage** menu item. ### Events For Teams within their predicted limits, the usage state indicator is OK (green). For Teams on Free and Pro pricing plans in other states of overage, Honeycomb handles overages in the following ways: > [!NOTE] > > If your Team is on an Enterprise plan, you are exempt from throttling. > To learn about overage handling for your Team, refer to your Honeycomb Enterprise order form, or contact us with any questions. | Status | Usage State | Response | | - | - | - | | A Team is trending toward a possible overage | Warning (Yellow) | Honeycomb notifies Team owners via email. | | A Team exceeds its EPM limit for one month | Warning (Yellow) | Honeycomb notifies Team owners via email at the beginning of the following month. | | A Team exceeds its EPM limit for a second consecutive month | Danger (Red) | Honeycomb notifies Team owners via email and warns them that Honeycomb will throttle incoming events unless they correct the overage within 10 days. Teams can correct the overage by upgrading to a higher capacity plan or by reducing the amount of data they send to Honeycomb. | | After 10 days, a Team's rate of incoming events remains above the daily target | Danger (Red) | Honeycomb begins throttling events. The Honeycomb Event API randomly accepts one of every ten events and rejects the remaining nine, which Honeycomb doesn't ingest or store. Throttling continues until the Team's rate of incoming events stays under the daily event target for at least 72 hours. | Throttling is a last resort, and we want to help you avoid it! If you receive a throttling notification, please contact us. ### Data points Data point overages follow the same warning, danger, and throttling states as event overages, with the same timeline: a second consecutive month of overage triggers a 10-day warning before throttling begins. ### Events and data points together Honeycomb tracks data point and event usage independently. Either limit can escalate your enforcement state on its own, but both event and data point usage need to stay within their limits for at least 72 hours before Honeycomb unthrottles your Team. When your Team has a metrics limit, throttling and overage emails show both your event and data point usage. ## How we handle bursts Burst protection applies to both events and data points for all Teams. When an unexpected spike creates a flood of data, Honeycomb automatically triggers burst protection so your Team can observe incidents without burning through your monthly limits. For events, when your Team sends more than 2x the daily event target in a single day, Honeycomb doesn't count the excess events against your EPM limit. For example, if your daily event target is 30 million events and your Team sends 90 million in one day, Honeycomb doesn't count the excess 60 million against your EPM limit. Burst protection works the same way for data points: when data point ingestion exceeds 2x your daily data point target, Honeycomb doesn't count the excess data points against your DPPM limit. Honeycomb tracks burst protection for events and data points separately. When Honeycomb triggers burst protection, it notifies Team owners via email. You can also see the effect of burst protection in the Honeycomb UI under **Team Settings** > **Usage**. > [!NOTE] > > While Honeycomb doesn't count burst protection events or data points against your monthly limits, Honeycomb still ingests and stores them, and they appear in the Per-Environment and Per-Dataset Breakdown sections. Burst protection can trigger up to three times per calendar month for events and up to three times per calendar month for data points. ## How we retain data Retention periods in Honeycomb depend on the type of data: * **Events and logs:** 60-day fixed retention. * **Time-series metrics datasets:** 13-month fixed retention by default. If your environment has a longer retention period configured, Honeycomb honors that longer period for your metrics dataset. Honeycomb calculates the retention period based on the date the events are ingested by Honeycomb rather than on the timestamps within the data. When a Team changes their plan (upgrading from Free to Pro, downgrading from Pro to Free, and so on), Honeycomb retains the Team's existing data up to the applicable retention period. If your Team wants us to retain your data for a shorter period of time or delete it for any reason, contact [Honeycomb Support](/troubleshoot/customer-support/) for assistance. ## Usage mode Normally, Honeycomb [applies sample rate weighting](/manage-data-volume/sample/sampled-data-in-honeycomb/) to calculations, but you can also run queries without it. For example, you might want to know how many actual events are coming in for each category for a dynamic sampler. *Usage mode* provides a query builder that evaluates queries in an unweighted mode where sample rate does not figure into the calculations. To access Usage Mode: 1. Select **Account** from the navigation menu, then select **Team Settings** and **Usage**. 2. Select the **Usage Mode** button on the appropriate row in the Per-environment Breakdown table. ![Warning for Usage Mode](https://mintcdn.com/honeycomb/BCOE2C2QqTVUD6bt/_assets/images/usage/usage-mode.png?fit=max\&auto=format\&n=BCOE2C2QqTVUD6bt\&q=85\&s=5a19c15d14c72565ee49d9414a1e06af) In Usage mode, you have access to the `Sample Rate` field, which reflects what Honeycomb interprets as the sample rate, and `COUNT` (and all other calculation operations) are unweighted. Use Usage mode to diagnose errors in your sampled data and understand how your sampling strategy affects relative changes over time. For example, you may find it useful to monitor the rate at which a dynamic sampler sends data. # Observability Concepts Source: https://docs.honeycomb.io/get-started/observability/concepts Build a foundation in the concepts of modern observability. Given the lack of observability training in official curriculums, many of us learned what we know from whatever ecosystem we were first introduced to and whatever observability solutions were implemented at our employers throughout our career. This method of piecing together information coupled with the breadth of types of telemetry, opinionated platforms, and data formats available today can make it challenging to wrap our heads around the concept of observability. Honeycomb hopes we can help with that by sharing the observability fundamentals that we think we should all know. To fully grasp observability, start with these concepts. > [card] [OpenTelemetry](/get-started/observability/concepts/opentelemetry/) > > Explore what OpenTelemetry is, why Honeycomb uses it as the standard for instrumentation, and how it relates to your telemetry data. > [card] [Distributed Tracing](/get-started/observability/concepts/distributed-tracing/) > > Learn about distributed tracing, which helps tie together instrumentation from separate services, so you can understand complex processes. > [card] [Services](/get-started/observability/concepts/services/) > > Learn about services, and how they are created and managed in Honeycomb. > [card] [High Cardinality](/get-started/observability/concepts/high-cardinality/) > > Learn what high cardinality and high dimensionality are, and understand what makes high cardinality data important. > [card] [Instrumentation](/get-started/observability/concepts/instrumentation/) > > Understand what instrumentation is. Explore best practices and conceptual patterns for instrumenting applications. > [card] [eBPF](/get-started/observability/concepts/ebpf/) > > Learn about eBPF and why it is important to observability. # Distributed Tracing Source: https://docs.honeycomb.io/get-started/observability/concepts/distributed-tracing Trace requests across every service in your distributed system. Find out how distributed tracing ties together instrumentation from separate services to surface cross-service failures. If you are running a user-facing software service, it probably qualifies as a distributed service. You might have a proxy, an application and a database, or a more complicated microservice architecture. Regardless of the level of complexity, a distributed system means that multiple distinct services must work together in concert. Tracing helps tie together instrumentation from separate services, or from different methods within one service. This makes it easier to identify the source of errors, find performance problems, or understand how data flows through a large system. ## What is a Trace? A **trace** tells the story of a complete unit of work in your system. For example, when a user loads a web page, their request might go to an edge proxy. That proxy talks to a frontend service, which calls out to an authorization and a rate-limiting service. There could be multiple backend services, each with its own data store. Finally, the frontend service returns a result to the client. Each part of this story is told by a **span**. A span is a single piece of instrumentation from a single location in your code. It represents a single unit of work done by a service. Each tracing event, one per span, contains several key pieces of data: * A **serviceName** identifying the service the span is from * A **name** identifying the role of the span (like function or method name) * A **timestamp** that corresponds to the start of the span * A **duration** that describes how long that unit of work took to complete * An **ID** that uniquely identifies the span * A **traceID** identifying which trace the span belongs to * A **parentID** representing the parent span that called this span * Any additional metadata that might be helpful [OpenTelemetry](/send-data/opentelemetry/) automatically defines these fields. You can manually [configure which fields on your events](/configure/datasets/definitions/#configure-dataset-definitions) correspond to these pieces of data. A trace is made up of multiple spans. Honeycomb uses the metadata from each span to reconstruct the relationships between them and generate a trace diagram. The image below is a portion of a trace diagram for an incoming API request: ![Screenshot of a trace diagram](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/distributed-tracing/sample_trace.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=d68faf1bad01d9b316e60a52ab542a10) In this example, the `/api/v2/tickets/export` endpoint first checks if the request is allowed by the rate limiter. Then, it authenticates the requesting user, and finally, fetches the tickets requested. Each of those calls also called a datastore. In the trace diagram, you can see the order in which these operations were executed, which service called which other service, and how long each call took. ## How do Honeycomb Events Relate to Traces? Each span is one event to Honeycomb. That event has fields, like `parentID` and `traceID`, which describe that span's relationship to other spans. A trace ties together a unit of work that occurs across multiple events (or spans) in a distributed service. A trace is a group of spans that all share the same `traceID`. When using [OpenTelemetry](/send-data/opentelemetry/), `service.name` in each span defines the current service context and creates Service Datasets. > [!NOTE] > > Service scoping is supported only for Honeycomb datasets, not for Honeycomb Classic datasets. > Learn more about [Honeycomb versus Honeycomb Classic datasets](/troubleshoot/product-lifecycle/recommended-migrations/#migrate-from-honeycomb-classic-to-honeycomb-environments). ## Next Steps * [Sending trace data to Honeycomb](/send-data) describes the different ways to generate tracing metadata and send it to Honeycomb * Learn how to query traces and visualize a trace waterfall with [exploring trace data](/investigate/analyze/explore-traces/) # eBPF Source: https://docs.honeycomb.io/get-started/observability/concepts/ebpf Extend the Linux kernel to collect observability, security, and networking data without changing kernel source code or loading additional modules. eBPF is a technology that allows the Linux kernel to be extended and perform additional tasks without needing to change the kernel source code or load more modules. eBPF works for both user and OS applications and can apply cross-cutting tasks such as observability, security, and networking functionality. It is highly efficient because the operating system executes its extended capabilities by using a Just-In-Time (JIT) compiler. eBPF programs are executed when configured kernel or application hook points are triggered. Pre-defined hooks include system calls, function entry and exit, kernel tracepoints, network events, and several others. If a pre-defined hook does not exist, additional [kernel probes](https://docs.kernel.org/trace/kprobes.html) (Kprobes) or [user probes](https://docs.kernel.org/trace/uprobetracer.html) (Uprobes) can be created to attach eBPF programs almost anywhere in kernel or user applications. ## How eBPF Impacts Observability Typically, applications use language-specific instrumentation libraries to generate application telemetry for generic tasks like routing HTTP traffic, executing SQL queries, counting number of requests, and capturing logs. Developers can add instrumentation libraries to an application either by using an automatic instrumentation tool to automatically configure them or by adding them manually during application start-up, which requires code changes. Because using an automatic instrumentation tool does not require code changes, generally, you can implement automatic instrumentation more easily than manually-configured instrumentation. Unfortunately, not all languages have an automatic instrumentation tool, so sometimes developers must configure instrumentation libraries manually. For applications written in languages lacking automatic instrumentation tools, using eBPF allows developers to still experience a low cost way to implement observability. You can leverage eBPF to generate telemetry outside of the application space by using kernel probes to detect when specific actions are being executed, such as network activity. In addition, eBPF probes have access to system resources that applications typically do not, such as memory and CPU utilization, network interface connection usage and metrics, and more. ## How eBPF Works With OpenTelemetry OpenTelemetry is developing an automatic instrumentation tool for Golang using eBPF. The first release should include a small subset of the functionality provided by the OpenTelemetry instrumentation libraries available in Go--hooks to instrument HTTP clients/servers, gRPC clients/servers, and the gorilla/mux HTTP router--but more should be added in the future. Automatic instrumentation tools for other languages, such as C++ and Rust, using eBPF may also be developed in the future. Honeycomb is committed to working with the OpenTelemetry community to contribute and advance the automatic and manual instrumentation experience for all users and languages. ## Additional Links * [eBPF.io](https://ebpf.io/) * [OpenTelemetry](https://opentelemetry.io/) * [Go Automatic Instrumentation](https://github.com/open-telemetry/opentelemetry-go-instrumentation) * [OpenTelemetry Operator](https://github.com/open-telemetry/opentelemetry-operator) # High Cardinality Source: https://docs.honeycomb.io/get-started/observability/concepts/high-cardinality Discover why high-cardinality, high-dimensionality data lets you isolate problems that low-cardinality tools like metrics would miss. One thing that sets Honeycomb apart is its ability to query on high cardinality and high dimensionality data. What do "high cardinality" and "high dimensionality" mean, and why are they important for observability? Remember that an event is a [collection of information about what it took to do a unit of work](/get-started/honeycomb/traces-metrics-logs/). Honeycomb receives each event as a set of key-value pairs, and each of which is an *attribute* of the event. A collection of events is a dataset. Each attribute of an event is a *field*, or equivalently, a dimension of the dataset. The term "high cardinality" means that there can be many possible values for a single attribute; the term "high dimensionality" means that there can be many different attributes attached to events. For many database architectures, having high-cardinality and high-dimensionality data makes it prohibitively expensive to store and query. Honeycomb's design, however, is powerful enough to allow users to query freely. A user may group or filter on any attribute, no matter how high its cardinality. Let us take a closer look at these. ## What is Dimensionality? The *dimensionality* of a dataset is the number of different attributes that it has. A *high-dimensionality* dataset, then, has many different attributes. In Honeycomb, it is not unusual to have a dataset with many hundreds of dimensions, exploring every possible facet of data. A single event does not need to have a defined value for every possible attribute; an event that describes database operations might not have attributes about HTTP requests, for example. Honeycomb datasets can have very high dimensionality. Any single event has a generous individual size limit; a dataset can have thousands of columns. (Experience has shown that when a dataset approaches that very high number, it is often caused by a programming error.) ## What is Cardinality? The *cardinality* of a data attribute refers to the number of distinct values that it can have. A boolean field, which only can have the values of `true` or `false`, has a cardinality of 2. HTTP status codes -- `200`, `301`, `302`, `404`, `500` -- might have a cardinality under a few dozen. These low cardinality fields are useful to track broad trends in your system: separating your service out by AWS Zone, or by current build of your code, or by endpoint. *High cardinality* refers to a field that can have many possible values. For an online shopping system, fields like `userId`, `shoppingCartId`, and `orderId` are often high-cardinality field that can take take hundreds of thousands of distinct values. Similarly, `requestId` might be in the millions. `request.URL` can be a high-cardinality field if you have many different combinations of `GET` query parameters. A high-cardinality field can help uniquely identify a request: they let you specifically narrow down precisely what caused something to go wrong. ## High Cardinality and High Dimensionality are Critical for Observability The ability to rapidly look at high cardinality fields is a key aspect of observability. Consider, for example, the ["Analyze and Debug an Issue" Sandbox tour](https://play.honeycomb.io/sandbox/tours). The issue can be traced to a single user's actions in the dataset. That one unlucky user managed to find a particular API endpoint that responded extremely slowly. Being able to identify the specific endpoint and user made it easy to see both how badly the endpoint had behaved, and who it had affected. Honeycomb allows you to query on high-cardinality fields. If a user reports an error, it is possible to look only at events generated to service that user's requests, and to examine what is going wrong. It is even possible to query on dimensions like `duration` in order to find only fast-running events. [BubbleUp](/investigate/analyze/identify-outliers/) is Honeycomb's tool to identify attributes that stand out from others. It looks at all dimensions at once, finding which fields stand out. BubbleUp can help identify that a particular latency occurred to a single user, even if cardinality is in the millions. It can also be helpful to store fields with lower cardinality—in the hundreds—like error messages in Honeycomb. You can even store fields like "error message" in Honeycomb; that will help if you might later need to query to find out how many error message contain the text "cannot connect". To learn more about the role that high cardinality plays in observability, visit our blog post: [Understanding High Cardinality and Its Role in Observability](https://www.honeycomb.io/resources/getting-started/understanding-high-cardinality-role-observability). ## The Curse of Dimensionality Why are high-dimensionality and high-cardinality a concern? Some metrics analytics systems are built around the idea of attributes. A data value can be associated with one or more attributes. For example, an attribute might represent `version: 21.3` and another attribute might correspond to `action: save_shopping_cart`. They store a time series for every attribute, and every combination of attributes. This allows them to rapidly query on any of these time series. The cost model for metrics tools is often based on the number of distinct attribute combinations. Adding a high cardinality value, like `user-id`, causes attribute costs to explode. In statistics, this is referred to as the "curse of dimensionality" -- the fact that many dimensions can be exponentially more expensive to store. Honeycomb's internal storage engine is designed to store each event and its data independently. For time series metrics, Honeycomb [counts metric usage as data points](/get-started/manage-costs/how-honeycomb-calculates-usage#how-we-define-a-data-point), not as unique attribute combinations. What this means is that you can send Honeycomb events that have rich context, complex attributes, and contain data that you do not have to think about managing. They are stored inexpensively in a simple format. The query engine then aggregates that data as you analyze it, which makes working with high cardinality and high dimensionality data easy, inexpensive, and fast. # Instrumentation Source: https://docs.honeycomb.io/get-started/observability/concepts/instrumentation Send wide, structured telemetry to Honeycomb. Find out what makes a good event and how to structure your data so you can query and debug your system effectively. The goal of Honeycomb instrumentation is to give you a language for sending **wide, structured** events into Honeycomb, so that they can be queried later. ## What is an Event? Abstractly, an event is anything that happens in your system that is worth tracking. Some common choices of events include http requests to a server, a query to an SQL database, or a single step of a build process. We say that events should be **wide** because they can contain many different **fields**. You can use the fields to associate the events with all of the additional data that it takes to understand what your system did with that event. There are traditional fields -- client IP address, latency, server -- but you can also add others. Did your system need to go through authorization? Did the result hit a cache? Did it go through a branch of an A/B test? Did it get a transient warning? What build of the server code was it using? Which AWS zone hosted it? Any data that can make sense of the event can be accumulated and attached to the event. But at the end of the day, what you will send to Honeycomb is simply a JSON object that you POST to our API. Events get ingested into our storage engine for later querying. Honeycomb's fast storage engine serves queries in seconds, with no need to define schemas or indexes ahead of time. The Honeycomb query engine allows you to ask all sorts of questions of your data. You can filter on any field, or combination of fields, to narrow down on a single page, or even on any user. You can group by error code or error message to spot common or recently occurring problems. You could SUM time spent on certain MySQL queries to identify if there are slow queries, but also if there are queries that are running too often. ## Requests and Tracing One of the most common Honeycomb use cases is to send one event for each HTTP or RPC request in your system. You might even have several services (e.g., A, B, and C) that are touched in the lifecycle of serving what is one request to the end user, and they all send events to Honeycomb. ![Example execution lifecycle](https://mintcdn.com/honeycomb/oyhsYIotRzaBtgu0/_assets/images/instrumentation/_index-lifecycle.png?fit=max\&auto=format\&n=oyhsYIotRzaBtgu0\&q=85\&s=c23c313c0f78abe09e27bee3d8980864) You can then do all sorts of queries within Honeycomb to answer any question under the sun. For instance, you could group by error code or error message to spot common or recently occurring problems fast. You could SUM time spent on certain MySQL queries to identify if there are not just slow queries, but queries that are running too often. Not only that, but this model allows you to take advantage of **distributed tracing**. If you set events to have the [proper fields](/configure/datasets/definitions/#tracing), you can visualize a full waterfall of how a given request flows through the system. That can make it straightforward to spot slow services and sections of code. ![Example trace](https://mintcdn.com/honeycomb/oyhsYIotRzaBtgu0/_assets/images/instrumentation/_index-trace.jpg?fit=max\&auto=format\&n=oyhsYIotRzaBtgu0\&q=85\&s=994f5509afa20fe1dc8f9dbb8212838c) Many of the Honeycomb automatic integrations, including [OpenTelemetry](/send-data/opentelemetry/) add this data automatically, so traces are visible out of the box. ## Batch Jobs and Serverless You can instrument background jobs to gain insight into how they operate. For example, you can send an event for every item that a processing job touches. Honeycomb provides a [`buildevents` integration](https://github.com/honeycombio/buildevents) for common Continuous Integration (CI) systems, including Travis-CI, CircleCI, and Jenkins. You can see which parts of your build are taking the most time, and streamline dependencies. ![Execution flow of a batch job](https://mintcdn.com/honeycomb/oyhsYIotRzaBtgu0/_assets/images/instrumentation/_index-batch.png?fit=max\&auto=format\&n=oyhsYIotRzaBtgu0\&q=85\&s=2ba5e3e13d1d1eb230b44041cfb9e2fa) Similarly, serverless requests can be instrumented; a Lambda invocation could easily send a Honeycomb event either using our bindings for that language. Learn more about Honeycomb's [AWS Lambda](/send-data/aws/lambda/) integrations. ![Example serverless flow execution](https://mintcdn.com/honeycomb/oyhsYIotRzaBtgu0/_assets/images/instrumentation/_index-serverless.png?fit=max\&auto=format\&n=oyhsYIotRzaBtgu0\&q=85\&s=83086304929395f89b0de1e60aad51ea) ## Kubernetes Understanding the behavior of applications running on Kubernetes can be daunting. Honeycomb integrates with Kubernetes to collect your applications' logs, cluster logs, and resource metrics. This data answers questions like: * How did response time change after a canary deployment? * How does application performance vary with container resource limits? * Are application errors happening on specific nodes, or across the fleet? Learn more about Honeycomb's [Kubernetes integrations](/send-data/kubernetes/). ## Ways to Get Started ### OpenTelemetry The automatic instrumentation in OpenTelemetry understand the standard packages you are using, then instrument them to send useful events to Honeycomb. There is no manual instrumentation required to generate basic events but with a little optional configuration, you can include your own fields, too. You can use this scaffolding to instrument your own business logic and attributes of your own service. We have [OpenTelemetry](/send-data/opentelemetry/) support for Go, Python, Node.js, Ruby, Java, .NET, and others. ### CURL, SDKs, and Honeytail Need to stay closer to the metal? We do not blame you! You can POST data directly to us with our [Events API](/api/events/), and we offer [a structured logging library](/send-data/logs/structured/libhoney/) in a variety of languages. Or, you can send us structured text logfiles with [Honeytail](/send-data/logs/structured/honeytail/). ### Example Applications Our [Examples GitHub repository](https://github.com/honeycombio/examples) links to a wide range of instrumented sample applications that illustrate how to generate custom events and send them to Honeycomb. # What is OpenTelemetry? Source: https://docs.honeycomb.io/get-started/observability/concepts/opentelemetry Learn what OpenTelemetry is, why Honeycomb uses it as the standard for instrumentation, and how it relates to your telemetry data. OpenTelemetry (OTel) is an open-source framework for collecting and exporting telemetry data, including traces, metrics, and logs, from your applications and infrastructure. It provides a standardized, vendor-agnostic way to instrument your code so that the telemetry you generate isn't tied to any single observability tool. Honeycomb uses OpenTelemetry as its primary instrumentation standard. When you instrument your application with OTel, you can send that data to Honeycomb, and if you ever want to send it elsewhere, the same instrumentation works with any OTel-compatible backend. ## How OpenTelemetry works OpenTelemetry has two main components: * **Instrumentation libraries**: Language-specific SDKs and auto-instrumentation packages that you add to your application. They capture telemetry data as your code runs: function calls, HTTP requests, database queries, and more. * **Exporters**: Plugins that send the captured telemetry to a backend like Honeycomb over OpenTelemetry Protocol (OTLP), OTel's native wire protocol. When you instrument your application with an OTel SDK, it generates spans and traces that describe what your code did and how long it took. The exporter sends that data to Honeycomb, where you can query and visualize it. ## Why Honeycomb uses OpenTelemetry Honeycomb recommends OpenTelemetry for all new instrumentation because: * **It's vendor-agnostic.** Your instrumentation isn't tied to Honeycomb or any other vendor. You own your telemetry. * **It's the industry standard.** OTel is maintained by the Cloud Native Computing Foundation (CNCF) and widely supported across the observability ecosystem. * **It covers all three signals.** A single OTel SDK can send traces, metrics, and logs from your application. You don't need separate libraries for each signal type. * **It's future-proof.** As OTel evolves and new semantic conventions emerge, your instrumentation stays current without requiring a full rewrite. ## OpenTelemetry and Honeycomb's data model Honeycomb stores telemetry as events: structured records with fields and values. When OTel sends a span to Honeycomb, Honeycomb stores it as an event with fields like `name`, `duration_ms`, `trace.trace_id`, and `service.name`. You can query on any of these fields, group by them, and filter by them the same way you would with any other data in Honeycomb. Traces are collections of spans that share a `trace.trace_id`. Honeycomb uses the parent-child relationships between spans to render the trace waterfall view. ## Already using OTel? If your application already sends OTLP data, you can point your exporter at Honeycomb without changing your instrumentation. Visit [OpenTelemetry configuration reference](/send-data/opentelemetry/) for the endpoint and authentication details. ## Learn more * For a deeper introduction to OpenTelemetry, visit the [OpenTelemetry documentation](https://opentelemetry.io/docs/). * For structured learning, visit the [OpenTelemetry Foundations course](https://academy.honeycomb.io/app/courses/3c8c4ded-ce8c-4df1-8150-b73fdf59f2b0) in Honeycomb Academy. # Services Source: https://docs.honeycomb.io/get-started/observability/concepts/services Find out how Honeycomb organizes telemetry data around services, how services are created from the data you send, and how they appear across the UI. Modern development teams often choose to organize their code into a set of loosely-coupled services that communicate with each other. Honeycomb organizes its data to support this service-oriented concept. ## Services in Honeycomb In service-oriented architecture (SOA), an application is made up a set of services. It can be valuable to separate observability information among different services, because you may want to observe the behavior of a single service. On the other hand, it is also useful to be able to trace requests through a set of linked and connected services. In SOA, then, each Service represents one or more programs sharing a common executable. Many instances of the same Service might run at the same time for scaling; they all share the same name. Honeycomb's approach to organizing Services is to separate your observability data by the different services it comes from, but to connect those services through distributed tracing. ### Tracing and Services [Distributed Tracing](/get-started/basics/observability/concepts/distributed-tracing/) is a method to connect a single request across multiple services. Honeycomb supports distributed tracing across multiple services. A single trace follows a request between different services to help see how they interact. A trace is made up of spans. Each span represents the execution of one piece of code on a service. A span is marked with a start time and a duration, as well as information that shows its connecting spans. Honeycomb can then visualize these spans in the [waterfall view](/reference/honeycomb-ui/query/trace-waterfall/#waterfall-representation). ### How to Define a Service Dataset in Honeycomb Honeycomb organizes your observability data into individual Service Datasets. A Service Dataset represents all the information coming from a single Service. Automatic instrumentation with [OpenTelemetry Tracing](/send-data/opentelemetry/) will properly produce traces in Honeycomb and propagate headers between services to ensure the traces are intact. # Introduction to Observability Source: https://docs.honeycomb.io/get-started/observability/introduction Ask new questions about your distributed system without knowing the answer in advance. Find out what observability is and why it changes how you debug production software. Today's software is built over distributed systems. When microservices, load-balancers, serverless compute, flexible infrastructure, and containers interact, it can be hard to track how the system is behaving, and how errors are manifesting. There are many more potential combinations of things going wrong, and sometimes they sympathetically reinforce each other. This can lead to new types of challenges. The goal of observability is to empower your team to be able to: * address issues before they impact customers * safely experiment and implement optimizations * promote knowledge transfer within and across team boundaries * better manage business risks and support stakeholders You can accomplish that by improving your system's observability. For more structured learning, check out the [Observability Foundations](https://academy.honeycomb.io/app/courses/38f176d1-199a-4520-b8e3-71b93a83f3a6) course from Honeycomb Academy. ## What is Observability? Observability is about being able to ask arbitrary questions about your environment without having to know ahead of time what you wanted to ask. Observability focuses on the development of the application and the rich instrumentation you need, not to poll and monitor it for thresholds or defined health checks, but to ask any arbitrary question about how the software works. We say that a system is "observable" to the extent that you can explain what is happening on the inside just from observing it on the outside, preferably without having to add new, special-case instrumentation to get your new question answered. Monitoring for known problems does not address the growing number of new issues that arise. You need to be able to ask questions you had not anticipated. Honeycomb is designed to help you gather as much context as you can from your production systems so you can investigate and debug new and complex problems. Having an observable system means that everyone on your team has the ability to understand what is happening in your software. ## How Can You Improve Observability? Improving software observability requires two things: the ability to capture telemetry data with a lot of runtime context, and the ability to query that data iteratively in order to find new insights. **Wide, structured events** are the form of telemetry data that truly enables observability in software. Honeycomb works by ingesting your structured events and making them available to interact with in near-real time. You send Honeycomb large numbers of events. Honeycomb allows you explore your data by querying on any dimension, aggregating your events to compute a count or a P95 (95th percentile), or visualize them as a heatmap. You can group and filter them on any dimension. This ability allows you to track down the behavior of a single user, code release, feature flag, server, or endpoint. You can pivot from any of those views to [distributed traces](/get-started/basics/observability/concepts/distributed-tracing/), allowing you to follow the path of execution through your distributed system. Read more about how you can [query your data](/investigate/query/build/) in Honeycomb. To get the most out of Honeycomb's features, get started by instrumenting your code. Ready to try it out? [Start sending data to Honeycomb](/send-data/). ## Learn More About Observability If you are new to this topic and want a deeper introduction, download our whitepaper or e-book: * [**Guide to Achieving Observability**](https://www.honeycomb.io/resources/guides/guide-achieving-observability) [![Achieving Observability Guide](https://mintcdn.com/honeycomb/izYM_pgEskzvL08S/_assets/images/observability-introduction/guideToAchievingObservability.png?fit=max\&auto=format\&n=izYM_pgEskzvL08S\&q=85\&s=cb0e9f2de9fc5a11ad8edfaa7e88bb73)](https://www.honeycomb.io/resources/guides/guide-achieving-observability) * [**Observability Engineering: Achieving Production Excellence**](https://info.honeycomb.io/observability-engineering-oreilly-book-2022) [![Observability Engineering: Achieving Production Excellence E-book](https://mintcdn.com/honeycomb/izYM_pgEskzvL08S/_assets/images/observability-introduction/oreilly-book-thumbnail.jpg?fit=max\&auto=format\&n=izYM_pgEskzvL08S\&q=85\&s=8270fa658e58a249356cd124cb3da3f5)](https://info.honeycomb.io/observability-engineering-oreilly-book-2022) # Get Started with Honeycomb for Applications Source: https://docs.honeycomb.io/get-started/start-building/application Send unstructured logs, structured logs, or traces to Honeycomb and start analyzing your application's performance and behavior. [Honeycomb](https://www.honeycomb.io/why-honeycomb/) is a fast analysis tool that helps you analyze your code's performance and behavior to troubleshoot complex relationships within your system to solve problems faster. To use Honeycomb, you first need to get your system's observable external outputs (logs, traces, and metrics) into Honeycomb. > [!NOTE] > > Not ready to instrument and deploy an application, but want to see what Honeycomb can do for you? > Check out this [interactive demo](https://play.honeycomb.io/sandbox/environments/analyze-debug-tour) that requires no setup, or learn what is possible from the [guided tutorials in our Honeycomb sandbox](https://play.honeycomb.io/sandbox/tours)! > [card] [Get Started with Unstructured Logs](/get-started/start-building/application/unstructured-events/) > > Get up and running with Honeycomb for your unstructured logs. > Learn how Honeycomb treats unstructured data, explore methods of sending unstructured logs to Honeycomb, and get resources related to enhancing and exploring your data once it is in Honeycomb. > [card] [Get Started with Structured Logs](/get-started/start-building/application/structured-events/) > > Get up and running with Honeycomb for your structured logs. > Learn how Honeycomb treats structured data, explore methods of sending structured logs to Honeycomb, and get resources related to enhancing and exploring your data once it is in Honeycomb. > [card] [Get Started with Traces](/get-started/start-building/application/traces/) > > Get up and running with Honeycomb for your traces and wide events. > Learn how to easily add instrumentation and use Honeycomb to observe and understand your application. ## Frontend Observability > [card] [Get Started with Honeycomb for Web](/get-started/start-building/application/web/) > > Get up and running with Frontend Observability for web applications. Add instrumentation to your web application, send telemetry data to Honeycomb, and use Honeycomb to explore your data. > [card] [Get Started with Honeycomb for Android](/get-started/start-building/application/android/) > > Get up and running with Frontend Observability for Android. Add instrumentation to your Android application, send telemetry data to Honeycomb, and use Honeycomb to explore your data. > [card] [Get Started with Honeycomb for iOS](/get-started/start-building/application/ios/) > > Get up and running with Frontend Observability for iOS. Add instrumentation to your iOS application, send telemetry data to Honeycomb, and use Honeycomb to explore your data. > [card] [Get Started with Honeycomb for React Native](/get-started/start-building/application/react-native/) > > Get up and running with Frontend Observability for React Native. Add instrumentation to your React Native application, send telemetry data to Honeycomb, and use Honeycomb to explore your data. # Get Started with Honeycomb for Android Source: https://docs.honeycomb.io/get-started/start-building/application/android Instrument your Android application with the Honeycomb OpenTelemetry Android SDK, send telemetry to Honeycomb, and measure real device performance in production. Use the [Honeycomb OpenTelemetry Android SDK](https://github.com/honeycombio/honeycomb-opentelemetry-android) to collect telemetry data from your Android application and send it to Honeycomb. Instrumenting your application lets you measure how it behaves on actual devices, detect performance issues, and better understand how users experience your application. This guide walks you through the process of instrumenting an Android application in your local development environment and verifying that telemetry is successfully flowing to Honeycomb. ## Before You Begin Before getting started, make sure you have: * A Honeycomb account If you don't already have an account, sign up for one. Honeycomb stores your data in either a US-based or EU-based location, depending on your account region: * [Create a US account](https://ui.honeycomb.io/signup) * [Create an EU account](https://ui.eu1.honeycomb.io/signup) * Required Tools * [Kotlin](https://kotlinlang.org/) * An existing Android application to instrument * A Honeycomb Ingest API Key For this guide, you'll need a [Honeycomb Ingest API Key](/configure/environments/manage-api-keys/#create-api-key) with the **Can create services/datasets** permission. This key lets your application send telemetry to Honeycomb and create a dataset for your service. > [!TIP] > > When deploying to production, replace this key with a separate key that does not allow dataset creation. > This helps protect your data structure in live environments. ## Add Dependencies Add the required SDK dependencies. The Honeycomb Android SDK relies on the OpenTelemetry Android SDK, so both are required. When adding OpenTelemetry dependencies, make sure [the library is compatible with the Honeycomb Android SDK](https://github.com/honeycombio/honeycomb-opentelemetry-android/?tab=readme-ov-file#honeycomb-opentelemetry-android). In your `build.gradle.kts`, add these dependencies: ```kotlin theme={} dependencies { implementation("io.opentelemetry.android:android-agent:0.11.0-alpha") implementation("io.honeycomb.android:honeycomb-opentelemetry-android:0.0.10") } ``` If your application's `minSDK` version is lower than 26, enable [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring) to support Java 8+ features: ```kotlin theme={} android { // ... compileOptions { isCoreLibraryDesugaringEnabled = true sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = "1.8" } } dependencies { coreLibraryDesugaring(libs.desugar.jdk.libs) } ``` If your application's `minSdk` version is below 24, then running instrumentation tests or debug application builds requires that you: * Use [Android Gradle Plugin](https://developer.android.com/build/releases/gradle-plugin#updating-plugin) (AGP) 8.3.0 or later. * Add `android.useFullClasspathForDexingTransform=true` to your `gradle.properties`. ## Configure the SDK To start collecting telemetry, configure the SDK early in your application's lifecycle. This ensures that events such as startup time and early view loads are captured. We recommend setting it up in the `onCreate()` method of your `Application` class, so configuration happens at application start. Here's a basic example configuration: ```kotlin theme={} import io.honeycomb.opentelemetry.android.Honeycomb import io.honeycomb.opentelemetry.android.HoneycombOptions import io.opentelemetry.android.OpenTelemetryRum class ExampleApp: Application() { var otelRum: OpenTelemetryRum? = null override fun onCreate() { super.onCreate() val options = HoneycombOptions.builder(this) // Uncomment the line below to send to EU instance. Defaults to US. // .setApiEndpoint("https://api.eu1.honeycomb.io:443") .setApiKey("YOUR-API-KEY") .setServiceName("YOUR-SERVICE-NAME") .setServiceVersion("0.0.1") .setDebug(true) .build() otelRum = Honeycomb.configure(this, options) } } ``` In this example, key configuration options include: **apiKey** : Your [Ingest API Key](/configure/environments/manage-api-keys/#create-api-key), which lets your application send telemetry directly to Honeycomb. **serviceName** : The name of your application, which Honeycomb will use as your dataset name. Choose something meaningful and consistent. > [!TIP] > > If you don't provide a service name, the dataset name will default to `unknown_service`. **serviceVersion** : The current version of your application. This helps track changes in behavior over different versions of your application. **debug** : Set to `true` to enable debug logs, which can help troubleshoot configuration issues during development. ## Enable Automatic Instrumentation The [OpenTelemetry Android Agent](https://github.com/open-telemetry/opentelemetry-android) provides automatic instrumentation for common Android application components like activities, fragments, crashes, and rendering performance. ### Enabling All Instrumentations To enable all OpenTelemetry automatic instrumentations by default,include these dependencies: ```kotlin theme={} dependencies { implementation("io.opentelemetry.android:android-agent:0.11.0") implementation("io.honeycomb.android:honeycomb-opentelemetry-android:0.0.9") } ``` ### Enabling Individual Instrumentations To be more selective, add only the modules you need: | Feature | Dependency | | - | - | | [Activity navigation](https://github.com/open-telemetry/opentelemetry-android/tree/main/instrumentation/activity) | `io.opentelemetry.android:instrumentation-activity` | | [Application Not Responding (ANR)](https://github.com/open-telemetry/opentelemetry-android/tree/main/instrumentation/anr) | `io.opentelemetry.android:instrumentation-anr` | | [Crash (uncaught exception)](https://github.com/open-telemetry/opentelemetry-android/tree/main/instrumentation/crash) | `io.opentelemetry.android:instrumentation-crash` | | [Fragment navigation](https://github.com/open-telemetry/opentelemetry-android/tree/main/instrumentation/fragment) | `io.opentelemetry.android:instrumentation-fragment` | | [Slow rendering](https://github.com/open-telemetry/opentelemetry-android/tree/main/instrumentation/slowrendering) | `io.opentelemetry.android:instrumentation-slowrendering` | ## Verify That Data is Being Sent Once your application is instrumented, check that telemetry data is reaching Honeycomb: 1. Confirm that debugging is enabled by setting `.setDebug(true)` in your SDK configuration. 2. Build and run your application. 3. Check your logs for output like this: ```text theme={} 🐝 Honeycomb SDK Debug Mode Enabled 🐝 Honeycomb options: HoneycombOptions(...) Not sampling, emitting all spans ``` 4. Log in to Honeycomb, and open your environment. You should see a new dataset named after your `serviceName` value. If you don’t see any data, visit [Troubleshooting](#troubleshooting). ## Explore Your Data Take a look at the data that you have generated using automatic instrumentation through the Android Launchpad or a custom Board. ### Explore with the Android Launchpad If you're using [Honeycomb for Frontend Observability](https://www.honeycomb.io/frontend-observability/), the [Android Launchpad](/observe/android-launchpad/) provides a starting point for reviewing the telemetry from your Android application. The Launchpad helps you: * Monitor cold start and resume times * Detect app hangs and crashes * Identify views with high render times It's a great place to start exploring how your application behaves in real-world conditions. ### Explore using Boards You can also explore your data by creating a [Board](/observe/boards/) from a [pre-configured Board template](/observe/boards/templates/). Our specialized template for mobile Android data includes a curated set of ready-made queries and visualizations based on the fields collected by the Honeycomb OpenTelemetry Android SDK. This template gives you an immediate, actionable view into common mobile metrics, like application start times, cold launches, crashes, and session flows, without needing to build anything from scratch. You can use it as-is or customize it to fit your needs. To learn more, visit [Use Board Templates](/observe/boards/templates/). ## Troubleshooting Running into issues? Here are some common problems and ways to fix them. > [!TIP] > > Still stuck? Check out our [Support Knowledge Base](/troubleshoot/customer-support/) or post a question in our [Pollinators Community](/troubleshoot/community/). ### My dataset isn't showing up in Honeycomb Make sure that you: * Replaced `"YOUR-API-KEY"` with a valid [Ingest API Key](/configure/environments/manage-api-keys/#create-api-key). * Gave the key **Can create datasets** permission. The Honeycomb OpenTelemetry Android SDK uses the value passed to `.setApiKey()` to send your telemetry data. This must be set correctly for data to reach Honeycomb. ### My dataset name looks wrong Check the value passed to `.setServiceName()`. This value determines the name of your dataset in Honeycomb. If you leave it blank, the default will be `unknown_service`, which can make identifying your application harder later on. # Get Started with Honeycomb for iOS Source: https://docs.honeycomb.io/get-started/start-building/application/ios Instrument your iOS application with the Honeycomb OpenTelemetry Swift SDK, send telemetry to Honeycomb, and measure real device performance in production. Use the [Honeycomb OpenTelemetry Swift SDK](https://github.com/honeycombio/honeycomb-opentelemetry-swift) to collect telemetry data from your iOS application and send it to Honeycomb. Instrumenting your application lets you measure how it behaves on actual devices, detect performance issues, and better understand how users experience your application. This guide walks you through the process of instrumenting an application in your local development environment and verifying that telemetry is successfully flowing to Honeycomb. ## Before You Begin Before getting started, make sure you have: * A Honeycomb account If you don't already have an account, sign up for one. Honeycomb stores your data in either a US-based or EU-based location, depending on your account region: * [Create a US account](https://ui.honeycomb.io/signup) * [Create an EU account](https://ui.eu1.honeycomb.io/signup) * Required Tools * [Swift](https://www.swift.org/) 5.10+ * An existing iOS 13+ application to instrument * A Honeycomb Ingest API Key For this guide, you'll need a [Honeycomb Ingest API Key](/configure/environments/manage-api-keys/#create-api-key) with the **Can create services/datasets** permission. This key lets your application send telemetry to Honeycomb and create a dataset for your service. > [!TIP] > > When deploying to production, replace this key with a separate key that does not allow dataset creation. > This helps protect your data structure in live environments. ## Add Dependencies To send telemetry from your application, add the Honeycomb OpenTelemetry Swift SDK to your project. The Honeycomb OpenTelemetry Swift SDK is compatible with applications targeting iOS 13+. ### Using Xcode If you manage dependencies using Xcode: 1. In Xcode, navigate to **File** > **Add Package Dependencies...** 2. When prompted for a repository URL, enter `https://github.com/honeycombio/honeycomb-opentelemetry-swift`. 3. Get the version number for the [latest release](https://github.com/honeycombio/honeycomb-opentelemetry-swift/releases). 4. [Add the `Honeycomb` package to your application's target dependencies](https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app). ### Using Package.swift If you manage dependencies manually: 1. Add the SDK to your `Package.swift` file: ```swift theme={} dependencies: [ .package(url: "https://github.com/honeycombio/honeycomb-opentelemetry-swift.git", from: "0.0.10") ], ``` 2. Add `Honeycomb` to your target dependencies: ```swift theme={} dependencies: [ .product(name: "Honeycomb", package: "honeycomb-opentelemetry-swift"), ], ``` ## Configure the SDK To start collecting telemetry, configure the SDK early in your application's lifecycle. This ensures that events such as startup time and early view loads are captured. We recommend setting it up in the `init()` method of your `App` class, or something equivalent. Here's an example configuration using the `HoneycombOptions.Builder()`, which lets us use the builder pattern to set configuration options: ```swift theme={} import Honeycomb import SwiftUI @main struct ExampleApp: App { init() { do { let options = try HoneycombOptions.Builder() // Uncomment the line below to send to EU instance. Defaults to US. // .setAPIEndpoint("https://api.eu1.honeycomb.io:443") .setAPIKey("YOUR-API-KEY") .setServiceName("YOUR-SERVICE-NAME") .setServiceVersion("0.0.1") .setDebug(true) .build() try Honeycomb.configure(options: options) } catch { NSException(name: NSExceptionName("HoneycombOptionsError"), reason: "\(error)").raise() } } } ``` In this example, key configuration options include: **APIEndpoint** : URL where your telemetry is sent. : Defaults to `https://api.honeycomb.io:443` (the Honeycomb US instance URL). : For EU instances, set this to `https://api.eu1.honeycomb.io:443`. : If you're using an OpenTelemetry Collector, use your collector's URL instead. **APIKey** : Your [Ingest API Key](/configure/environments/manage-api-keys/#create-api-key), which authorizes your application to send telemetry directly to Honeycomb. **serviceName** : The name of your application, which Honeycomb will use as your dataset name. Choose something meaningful and consistent. > [!TIP] > > If you don't provide a service name, the dataset name will be inferred from your bundle. **serviceVersion** : The current version of your application. This helps track changes in behavior across different versions of your application. **debug** : Set to `true` to enable debug logs, which can help troubleshoot configuration issues during development. ### Enable Automatic Instrumentation The Honeycomb OpenTelemetry Swift SDK includes built-in support for capturing common system and runtime events. These can provide useful context without requiring additional code. These include: * [MetricKit](https://developer.apple.com/documentation/metrickit) : Captures system-level performance data, such as CPU and memory usage. * [UIKit](https://developer.apple.com/documentation/uikit) : Captures view controller lifecycle events. * Touch Events : Tracks screen touches and gestures. : This is off by default to reduce noise but may be useful for interaction-heavy apps. * URLSession : Captures network requests made with `URLSession`. * Unhandled Exceptions : Records crashes and other unhandled exceptions. By default, most of these instrumentation libraries are enabled. You can selectively turn them on or off in your configuration: ```swift theme={} let options = try HoneycombOptions.Builder() // ... .setMetricKitInstrumentationEnabled(true) .setURLSessionInstrumentationEnabled(true) .setUIKitInstrumentationEnabled(true) .setTouchInstrumentationEnabled(false) .setUnhandledExceptionInstrumentationEnabled(true) // ... .build() try Honeycomb.configure(options: options) ``` ## Verify That Data is Being Sent Once your application is instrumented, check that telemetry data is reaching Honeycomb: 1. Confirm that debugging is enabled by setting `.setDebug(true)` in your SDK configuration. 2. Build and run your application. 3. Check your logs for output like this: ```text theme={} 🐝 Honeycomb SDK Debug Mode Enabled 🐝 Honeycomb options: HoneycombOptions(...) Not sampling, emitting all spans ``` 4. Log in to Honeycomb, and open your environment. You should see a new dataset named after your `serviceName` value. If you don’t see any data, visit [Troubleshooting](#troubleshooting). ## Explore Your Data Take a look at the data that you have generated using automatic instrumentation through the iOS Launchpad or a custom Board. ### Explore with the iOS Launchpad If you're using [Honeycomb for Frontend Observability](https://www.honeycomb.io/frontend-observability/), the [iOS Launchpad](/observe/ios-launchpad/) provides a starting point for reviewing the telemetry from your iOS application. The Launchpad helps you: * Monitor cold start and resume times * Detect app hangs and crashes * Identify views with high render times It's a great place to start exploring how your application behaves in real-world conditions. ### Explore using Boards You can also explore your data by creating a [Board](/observe/boards/) from a [pre-configured Board template](/observe/boards/templates/). Our specialized template for mobile iOS data includes a curated set of ready-made queries and visualizations based on the fields collected by the Honeycomb OpenTelemetry Swift SDK. This template gives you an immediate, actionable view into common mobile metrics, like application start times, cold launches, crashes, and session flows, without needing to build anything from scratch. You can use it as-is or customize it to fit your needs. To learn more, visit [Use Board Templates](/observe/boards/templates/). ## Troubleshooting Running into issues? Here are some common problems and ways to fix them. > [!TIP] > > Still stuck? Check out our [Support Knowledge Base](/troubleshoot/customer-support/) or post a question in our [Pollinators Community](/troubleshoot/community/). ### My dataset isn't showing up in Honeycomb Make sure that you: * Replaced `"YOUR-API-KEY"` with a valid [Ingest API Key](/configure/environments/manage-api-keys/#create-api-key). * Gave the key **Can create datasets** permission. The Honeycomb OpenTelemetry Swift SDK uses the value passed to `.setApiKey()` to send your telemetry data. This must be set correctly for data to reach Honeycomb. ### My dataset name looks wrong Check the value passed to `.setServiceName()`. This value determines the name of your dataset in Honeycomb. If you leave it blank, the default will be inferred from your bundle, which might not be descriptive or consistent across builds. # Get Started with Honeycomb for React Native Source: https://docs.honeycomb.io/get-started/start-building/application/react-native Instrument your React Native application with the Honeycomb OpenTelemetry React Native SDK, send telemetry to Honeycomb, and measure real device performance in production. Learn how to collect telemetry from your React Native application and send it to Honeycomb using the [Honeycomb OpenTelemetry React Native SDK](https://github.com/honeycombio/honeycomb-opentelemetry-react-native). Instrumenting your application lets you measure how it behaves on actual devices, detect performance issues, and better understand how users experience your application. ## Before you begin Before you run the code, you'll need to do a few things. ### Sign up for Honeycomb If you don't already have a Honeycomb account, you can sign up for one. Signup is free. Honeycomb stores your data in either a US-based or EU-based location, depending on your account region: * [Create a US account](https://ui.honeycomb.io/signup) * [Create an EU account](https://ui.eu1.honeycomb.io/signup) ### Get an API key For this guide, you'll need a [Honeycomb Ingest API Key](/configure/environments/manage-api-keys/#create-api-key) with the **Can create services/datasets** permission. This lets your application send telemetry to Honeycomb and create a dataset for your service. > [!TIP] > > When deploying to production, replace this key with a separate key that does not allow dataset creation. > This helps protect your data structure in live environments. Make note of your API key; for security reasons, you will not be able to see the key again, and you will need it later. ## Install the SDK Before you can use Honeycomb’s OpenTelemetry React Native SDK, you need to install it and configure platform-specific dependencies. 1. Configure Metro to recognize `package.json` exports. To do this, create a new file, `metro.config.js`, in your application's root directory. [Enable `package.json` exports](https://reactnative.dev/blog/2023/06/21/package-exports-support) in your Metro configuration. ```js theme={} config.resolver.unstable_enablePackageExports = true; ``` Here's an [example Metro configuration](https://github.com/honeycombio/honeycomb-opentelemetry-react-native/blob/main/example/metro.config.js): ```js theme={} const path = require('path'); const { getDefaultConfig } = require('@react-native/metro-config'); const { getConfig } = require('react-native-builder-bob/metro-config'); const pkg = require('../package.json'); const root = path.resolve(__dirname, '..'); const config = getConfig(getDefaultConfig(__dirname), { root, pkg, project: __dirname, }); // Required to use @opentelemetry package.json "exports" field config.resolver.unstable_enablePackageExports = true; module.exports = config; ``` > [!TIP] > > To learn more about Metro configuration, visit [Configuring Metro](https://metrobundler.dev/docs/configuration/). 2. Install Honeycomb’s OpenTelemetry React Native SDK in your application’s root directory using your preferred package manager. **Install with `yarn`:** ```bash theme={} yarn add @honeycombio/opentelemetry-react-native ``` **Install with `npm`:** ```bash theme={} npm install @honeycombio/opentelemetry-react-native ``` 3. Install the necessary dependencies for each mobile platform your application supports. **Android dependencies:** Add the following dependencies to your application's `build.gradle`. ```gradle theme={} dependencies { //... implementation "io.honeycomb.android:honeycomb-opentelemetry-android:0.0.16" implementation "io.opentelemetry.android:android-agent:0.11.0-alpha" } ``` If your application's `minSDK` version is lower than 26, add [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring) to your `android/app/build.gradle`. ```gradle theme={} android { compileOptions { // Enable support for the new language APIs coreLibraryDesugaringEnabled true } dependencies { coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.1.5" } } ``` **iOS dependencies**: Add the `use_frameworks!` option to your application's `Podfile`. ```podfile theme={} platform :ios, min_ios_version_supported prepare_react_native_project! use_frameworks! ``` From the `ios` directory, run `pod install` to install the required dependencies. ## Initialize Initialize the SDK at the start of your React Native application. This ensures that events such as startup time and early view loads are captured. ```ts theme={} import { HoneycombReactNativeSDK } from '@honeycombio/opentelemetry-react-native'; import { DiagLogLevel } from '@opentelemetry/api'; const sdk = new HoneycombReactNativeSDK({ // Uncomment the line below to send to EU instance. Defaults to US. // endpoint: "https://api.eu1.honeycomb.io:443", apiKey: "YOUR-API-KEY", serviceName: "YOUR-SERVICE-NAME", logLevel: DiagLogLevel.DEBUG, }); sdk.start(); ``` In the above example, key configuration options include: **endpoint** : URL where your telemetry is sent. Defaults to `https://api.honeycomb.io:443` (the Honeycomb US instance URL). For EU instances, set this to `https://api.eu1.honeycomb.io:443`. If you're using an OpenTelemetry Collector, use your collector's URL instead. **apiKey** : Your [Ingest API Key](/configure/environments/manage-api-keys/#create-api-key), which authorizes your application to send telemetry directly to Honeycomb. **serviceName** : Name of your application, which Honeycomb will use as your dataset name. Choose something meaningful and consistent. > [!TIP] > > If you don't provide a service name, the dataset name will be inferred from your bundle. **logLevel** : Verbosity of logs printed to the console. Enabling debug logs is helpful during development. Can be set to either `.NONE`, `.ERROR`, `.WARN`, `.INFO`, `.DEBUG`, or `.ALL`. For more information, visit [Enumeration DiagLogLevel](https://open-telemetry.github.io/opentelemetry-js/enums/_opentelemetry_api._opentelemetry_api.DiagLogLevel.html). For Android, initialize the SDK at the start of the `onCreate()` method in your main `Application` class. ```kotlin theme={} // MainApplication.kt override fun onCreate() { val options = HoneycombOpentelemetryReactNativeModule.optionsBuilder(this) // Uncomment the line below to send to EU instance. Defaults to US. // .setApiEndpoint("https://api.eu1.honeycomb.io:443") .setApiKey("YOUR-API-KEY") .setServiceName("YOUR-SERVICE-NAME") HoneycombOpentelemetryReactNativeModule.configure(this, options) super.onCreate() } ``` For iOS, initialize the SDK at the start of the `application()` method in your `AppDelegate` class. ```swift theme={} // AppDelegate.swift override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil ) -> Bool { let options = HoneycombReactNative.optionsBuilder() // Uncomment the line below to send to EU instance. Defaults to US. // .setAPIEndpoint("https://api.eu1.honeycomb.io:443") .setAPIKey("YOUR-API-KEY") .setServiceName("YOUR-SERVICE-NAME") HoneycombReactNative.configure(options) } ``` ## Enable automatic instrumentation The Honeycomb OpenTelemetry React Native SDK includes auto-instrumentation libraries for: * Application startup time, measured from when the native SDKs start to when the JavaScript SDK finishes initializing. * Errors or uncaught exceptions. * [Fetch](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch) instrumentation, using the [opentelemetry-instrumentation-fetch](https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-fetch) package. * Slow event loop detection. Automatic instrumentation is enabled by default. You can enable or disable individual auto-instrumentation libraries in your configuration. ```ts theme={} import { HoneycombReactNativeSDK } from '@honeycombio/opentelemetry-react-native'; import { DiagLogLevel } from '@opentelemetry/api'; const sdk = new HoneycombReactNativeSDK({ // Uncomment the line below to send to EU instance. Defaults to US. // endpoint: "https://api.eu1.honeycomb.io:443", apiKey: "YOUR-API-KEY", serviceName: "YOUR-SERVICE-NAME", logLevel: DiagLogLevel.DEBUG, // auto-instrumentation options reactNativeStartupInstrumentationConfig: { enabled: true, }, uncaughtExceptionInstrumentationConfig: { enabled: true, }, fetchInstrumentationConfig: { enabled: true, }, slowEventLoopInstrumentationConfig: { enabled: true, }, }); sdk.start(); ``` ## Verify data is being sent Once your application is instrumented, check that telemetry data is reaching Honeycomb: 1. Confirm that debug logging is enabled by setting `logLevel: DiagLogLevel.DEBUG` in your SDK configuration. 2. Build and run your application. 3. Open your debugger and check for logs with output like this: ```text theme={} 🐝 Honeycomb SDK Debug Mode Enabled 🐝 Honeycomb options: HoneycombOptions(...) Not sampling, emitting all spans ``` 4. Log in to Honeycomb, and open your environment. You should see a new dataset named after your `serviceName` value. If you don’t see any data, visit [Troubleshooting](#troubleshooting). ## Explore your data Take a look at the data that you have generated using automatic instrumentation through the React Native Launchpad or a custom Board. ### Explore with the React Native Launchpad If you're using [Honeycomb for Frontend Observability](https://www.honeycomb.io/frontend-observability/), the [React Native Launchpad](/observe/react-native-launchpad/) provides a starting point for monitoring and analyzing telemetry from your React Native application. The Launchpad helps you: * Find slow event loops * Detect performance slow downs and crashes * Monitor how users interact with your application It's a great place to start exploring how your application behaves in real-world conditions. ### Explore using Boards You can also explore your data by creating a [Board](/observe/boards/) from a [pre-configured Board template](/observe/boards/templates/). Our specialized template for React Native telemetry includes a curated set of ready-made queries and visualizations based on the fields collected by the Honeycomb OpenTelemetry React Native SDK. This template gives you an immediate, actionable view into common mobile metrics like application start times, crashes, and session flows, without needing to build anything from scratch. You can use it as-is or customize it to fit your needs. To learn more, visit [Use Board Templates](/observe/boards/templates/). ## Troubleshooting Running into issues? Here are some common problems and ways to fix them. > [!TIP] > > Still stuck? > Check out our [Support Knowledge Base](/troubleshoot/customer-support/) or post a question in our [Pollinators Community](/troubleshoot/community/). ### Dataset isn't showing up in Honeycomb Make sure that you: * Replaced `"YOUR-API-KEY"` with a valid [Ingest API Key](/configure/environments/manage-api-keys/#create-api-key). * Gave the key **Can create datasets** permission. The Honeycomb OpenTelemetry React Native SDK uses the value passed to `apiKey` configuration option to send your telemetry data. This must be set correctly for data to reach Honeycomb. ### Dataset name looks wrong Check the value passed to `serviceName` during initialization. This value determines the name of your dataset in Honeycomb. If you leave it blank, the default will be inferred from your bundle, which might not be descriptive or consistent across builds. ### File not found error on iOS If you see an error like this when running your application on iOS: ```text theme={} 'HoneycombOpentelemetryReactNative/HoneycombOpentelemetryReactNative-Swift.h' file not found when trying to run for iOS ``` It usually means your application's `Podfile` is missing the `use_frameworks!` line. To resolve this error: 1. Add `use_frameworks!` immediately below `prepare_react_native_project!` in your `Podfile`: ```swift theme={} prepare_react_native_project! use_frameworks! ``` 2. Install the iOS dependencies by navigating to your `ios` directory and running `pod install`: ```bash theme={} cd ios pod install ``` ### Not receiving native telemetry data Unlike JavaScript code, native code does not hot reload on changes. So if you updated your `AppDelegate.swift` or `MainApplication.kt` files and are still not getting native telemetry, you'll need to rebuild your application. Stop metro, the simulator, and restart the build. If this still doesn’t work, try uninstalling the application and reinstalling it. # Get Started with Structured Logs Source: https://docs.honeycomb.io/get-started/start-building/application/structured-events Send structured logs and events to Honeycomb and start querying with high cardinality. Find out how Honeycomb treats structured data and the best methods for getting it in. So you want to use Honeycomb. Maybe this is because you want high cardinality or faster querying times. Maybe you are at the beginning of a project to onboard to tracing or OpenTelemetry. Maybe you are ready to start correlating your log data to trace data, or want to add data from technologies that emit structured logs. Regardless of why you want to send your structured logs to Honeycomb, you are in the right place. > [!TIP] > > If you have semi-structured logs, you may also find the resources shared in [Start Building: Get Started with Unstructured Logs](/get-started/start-building/application/unstructured-events/) helpful. ## Structured Data in Honeycomb Honeycomb refers to structured data as information that follows a predefined, standardized data model. Often this information takes the form of logs emitted by applications to log files other log handlers. For example, you may use a logging library that generates JSON-structured logs. ## Sending Structured Data to Honeycomb If you're ready to send your structured logs to Honeycomb, you can use any of the following options: * [Honeycomb Telemetry Pipeline](/send-data/telemetry-pipeline/): Use the Honeycomb Telemetry Pipeline, which lets you standardize the entirety of telemetry operations on OpenTelemetry, whatever the format of existing logs, traces, and metrics. * [OpenTelemetry Collector](/send-data/logs/collector/): Use the OpenTelemetry Collector as a logging agent to send structured logs to Honeycomb. * [Libhoney](/send-data/logs/structured/libhoney/): Use Honeycomb's suite of structured logging libraries to create and send structured logs to Honeycomb’s Events API. ## Enhancing Data in Honeycomb Once your data is in Honeycomb, you will want to enhance it. For structured logs, you may want to: * [Map your data](/send-data/standardize/map-data/) to ensure Honeycomb's log analytics visualizations are populated * [Transform your data](/send-data/standardize/transform-data/) to map source data severities to Honeycomb standard severities * [Add context to your spans](/send-data/standardize/add-context/) by attaching metadata ## Exploring Log Data in Honeycomb For structured logs, Honeycomb lets you easily query on your data using fields, like status or timestamp. To learn how to analyze your data in Honeycomb, visit [Investigate Log Data in Honeycomb](/investigate/debug/log-data-in-honeycomb/). # Get Started with Traces and Wide Events Source: https://docs.honeycomb.io/get-started/start-building/application/traces Add instrumentation to your application, send traces and wide events to Honeycomb, and start analyzing performance and behavior across your system. [Honeycomb](https://www.honeycomb.io/why-honeycomb/) is a fast analysis tool that helps you analyze your code's performance and behavior to troubleshoot complex relationships within your system to solve problems faster. To use Honeycomb, you first need to get your system's traces into Honeycomb. These instructions will guide you through the process of sending trace data from an application in your local development environment to Honeycomb and exploring your data in Honeycomb. > [!NOTE] > > Not ready to instrument and deploy an application, but want to see what Honeycomb can do for you? > Check out this [interactive demo](https://play.honeycomb.io/sandbox/environments/analyze-debug-tour) that requires no setup, or learn what is possible from the [guided tutorials in our Honeycomb sandbox](https://play.honeycomb.io/sandbox/tours)! ## Before You Begin Before you run the code, you'll need to do a few things. ### Create a Honeycomb Account Before you can use Honeycomb products, you'll need to decide whether you would like Honeycomb to store your data in a US-based or EU-based location. Then, [create a Honeycomb account in the US](https://ui.honeycomb.io/signup) or [create a Honeycomb account in the EU](https://ui.eu1.honeycomb.io/signup). Signup is free! ### Create a Honeycomb Team Complete your account creation by giving us a team name. Honeycomb uses teams to organize groups of users, grant them access to data, and create a shared work history in Honeycomb. > [!TIP] > > We recommend using your company or organization name as your Honeycomb team name. ### Get Your Honeycomb API Key To send data to Honeycomb, you'll need your Honeycomb API Key. Once you create your team, you will be able to view or copy it. Make note of your API Key; for security reasons, you will not be able to see it again, and you will need it later! You can also [find your Honeycomb API Key](/configure/environments/manage-api-keys/#find-api-keys) any time in your Environment Settings. ## Send Telemetry Data to Honeycomb Once you have your Honeycomb API key and have chosen an application, it's time to send telemetry data to Honeycomb! > [!NOTE] > > This guide helps users who are new to observability get their trace data into Honeycomb using [OpenTelemetry](/send-data/opentelemetry/). > If you already have an OpenTelemetry implementation and are switching to Honeycomb, read about [OpenTelemetry Collector](/send-data/opentelemetry/collector/). ### Choose Your Application Choose a single application or service that will send data to Honeycomb. To successfully complete this Quick Start, you should have access to modify your application's source code. To test the application when you are finished, you must be able to run your application or service in a development environment. > [!TIP] > > Don't have access to an application? > Follow along using one of our [example applications](/get-started/start-building/example-applications/)! ### Add Automatic Instrumentation to Your Code The quickest way to start seeing your trace data in Honeycomb is to use [OpenTelemetry](https://opentelemetry.io/), an open-source collection of tools, APIs, and SDKs, to automatically inject instrumentation code into your application without requiring explicit changes to your codebase. > [!NOTE] > > Automatic instrumentation works slightly differently within each language, but the general idea is that it attaches hooks into popular tools and frameworks and > "watches" for certain functions to be called. > When they're called, the instrumentation automatically starts and completes trace spans on behalf of your application. When you add automatic instrumentation to your code, OpenTelemetry will build spans, which represent units of work or operations within your application that you want to capture and analyze for observability purposes. > [tab] JavaScript > > > [!NOTE] > > > > This Quick Start uses the `npm` dependency manager. > > For instructions with `yarn` or if using TypeScript, read our [OpenTelemetry Node.js documentation](/send-data/javascript-nodejs/opentelemetry-sdk/#add-automatic-instrumentation). > > #### Acquire Dependencies > > Open your terminal, navigate to the location of your project on your drive, and install OpenTelemetry's automatic instrumentation meta package and OpenTelemetry's Node.js SDK package: > > ```shell theme={} > npm install --save \ > @opentelemetry/auto-instrumentations-node \ > @opentelemetry/sdk-node > ``` > > | Module | Description | > | - | - | > | `auto-instrumentations-node` | OpenTelemetry's meta package that provides a way to add automatic instrumentation to any Node application to capture telemetry data from a number of popular libraries and frameworks, like `express`, `dns`, `http`, and more. | > | `sdk-node` | OpenTelemetry's Node.js distribution package that streamlines configuration and allows you to instrument as quickly and easily as possible. | > > Alternatively, install [individual instrumentation packages](https://github.com/open-telemetry/opentelemetry-js#instrumentations). > > If using TypeScript, install `ts-node` to run the code: > > ```shell theme={} > npm install --save-dev ts-node > ``` > > #### Initialize > > Create an initialization file, commonly known as the `tracing.js` file: > > ```javascript theme={} > // Example filename: tracing.js > 'use strict'; > > const { startNodeSDK } = require('@opentelemetry/sdk-node'); > const { getNodeAutoInstrumentations } = require('@opentelemetry/auto-instrumentations-node'); > > startNodeSDK({ > instrumentations: [ > getNodeAutoInstrumentations(), > ], > }); > ``` > > #### Configure the OpenTelemetry SDK > > Create an `otelconfig.yaml` file with the following content: > > ```yaml theme={} > file_format: "1.1" > > resource: > attributes: > - name: service.name > value: ${OTEL_SERVICE_NAME:-my-service} > > tracer_provider: > processors: > - batch: > exporter: > otlp_http: > endpoint: https://api.honeycomb.io/v1/traces > # Use the endpoint below for EU > # endpoint: https://api.eu1.honeycomb.io/v1/traces > headers: > - name: x-honeycomb-team > value: ${HONEYCOMB_API_KEY} > > propagator: > composite: > - tracecontext: > - baggage: > ``` > > Set the following environment variables before running your application: > > | Environment Variable | Value | > | :- | :- | > | `HONEYCOMB_API_KEY` | Your Honeycomb API key | > | `OTEL_SERVICE_NAME` | The name of your service | > > > [!NOTE] > > > > When `OTEL_CONFIG_FILE` is set, the configuration file is the single source of truth for the SDK. Other `OTEL_*` environment variables are ignored by design, so set all SDK options in the YAML file. You can still reference environment variables from inside the YAML using `${VAR_NAME}` substitution. > > > [!NOTE] > > > > The OpenTelemetry declarative configuration is stable at the specification level. Individual fields still under active development are marked with a `/development` suffix in the YAML (see [configuration versioning](https://github.com/open-telemetry/opentelemetry-configuration/blob/main/VERSIONING.md#experimental-features)). Check the [language support status](https://github.com/open-telemetry/opentelemetry-configuration/blob/main/language-support-status.md) for per-SDK maturity. > > > [accordion] Add metrics and logs > > > > Add `meter_provider` and `logger_provider` sections to the same file to export metrics and logs. This version also enables resource detectors, which add attributes such as `host.*` and `process.*` automatically: > > > > ```yaml theme={} > > file_format: "1.1" > > > > resource: > > attributes: > > - name: service.name > > value: ${OTEL_SERVICE_NAME:-my-service} > > detection/development: > > detectors: > > - host: > > - process: > > - service: > > > > tracer_provider: # traces > > processors: > > - batch: > > exporter: > > otlp_http: > > endpoint: https://api.honeycomb.io/v1/traces > > headers: > > - name: x-honeycomb-team > > value: ${HONEYCOMB_API_KEY} > > > > meter_provider: # metrics > > readers: > > - periodic: > > exporter: > > otlp_http: > > endpoint: https://api.honeycomb.io/v1/metrics > > headers: > > - name: x-honeycomb-team > > value: ${HONEYCOMB_API_KEY} > > # Legacy metrics only; omit with the current metrics experience: > > # - name: x-honeycomb-dataset > > # value: ${HONEYCOMB_METRICS_DATASET} > > > > logger_provider: # logs > > processors: > > - batch: > > exporter: > > otlp_http: > > endpoint: https://api.honeycomb.io/v1/logs > > headers: > > - name: x-honeycomb-team > > value: ${HONEYCOMB_API_KEY} > > > > propagator: > > composite: > > - tracecontext: > > - baggage: > > ``` > > > > > [!NOTE] > > > > > > For the EU instance, replace `https://api.honeycomb.io` with `https://api.eu1.honeycomb.io` throughout the file. > > > [!NOTE] > > > > If you use [Honeycomb Classic](/troubleshoot/product-lifecycle/recommended-migrations/#migrate-from-honeycomb-classic-to-honeycomb-environments), you must also specify the Dataset using the `x-honeycomb-dataset` header. > > > > ```shell theme={} > > export OTEL_EXPORTER_OTLP_HEADERS="x-honeycomb-team=your-api-key,x-honeycomb-dataset=your-dataset" > > ``` > > > [!NOTE] > > > > If you are sending data directly to Honeycomb, you must configure the API key and service name. > > If you are using an [OpenTelemetry Collector](/send-data/opentelemetry/collector/), configure your API key at the Collector level instead. > > #### Run Your Application > > Point the SDK at your configuration file using the `OTEL_CONFIG_FILE` environment variable, then run the Node.js app with the initialization file: > > ```shell theme={} > OTEL_CONFIG_FILE=./otelconfig.yaml node -r ./tracing.js YOUR_APPLICATION_NAME.js > ``` > > Be sure to replace `YOUR_APPLICATION_NAME` with the name of your application's main file. > > Alternatively, you can import the initialization file as the first step in your application lifecycle. > > In Honeycomb's UI, you should now see your application's incoming requests and outgoing HTTP calls generate traces. > [tab] Python > > > [!NOTE] > > > > This Quick Start uses the `pip` package manager. > > For instructions with `poetry`, read our [OpenTelemetry Python documentation](/send-data/python/opentelemetry-sdk/#add-automatic-instrumentation). > > #### Acquire Dependencies > > 1. Install the OpenTelemetry Python packages: > > ```shell theme={} > python -m pip install "opentelemetry-sdk[file-configuration]" \ > opentelemetry-instrumentation \ > opentelemetry-distro \ > opentelemetry-exporter-otlp > ``` > > The `[file-configuration]` extra installs the optional dependencies needed to load a YAML configuration file. > > 2. Install instrumentation libraries for the packages used by your application. > We recommend using the `opentelemetry-bootstrap` tool that comes with the OpenTelemetry SDK to scan your application packages and print out a list of available instrumentation libraries. > You should then add these libraries to your `requirements.txt` file: > > ```shell theme={} > opentelemetry-bootstrap >> requirements.txt > pip install -r requirements.txt > ``` > > If you do not use a `requirements.txt` file, you can install the libraries directly in your current environment: > > ```shell theme={} > opentelemetry-bootstrap --action=install > ``` > > #### Configure the OpenTelemetry SDK > > Create an `otelconfig.yaml` file with the following content: > > ```yaml theme={} > file_format: "1.0" > > resource: > attributes: > - name: service.name > value: ${OTEL_SERVICE_NAME:-my-service} > > tracer_provider: > processors: > - batch: > exporter: > otlp_http: > endpoint: https://api.honeycomb.io/v1/traces > # Use the endpoint below for EU > # endpoint: https://api.eu1.honeycomb.io/v1/traces > headers: > - name: x-honeycomb-team > value: ${HONEYCOMB_API_KEY} > > propagator: > composite: > - tracecontext: > - baggage: > ``` > > Set the following environment variables before running your application: > > | Environment Variable | Value | > | :- | :- | > | `HONEYCOMB_API_KEY` | Your Honeycomb API key | > | `OTEL_SERVICE_NAME` | The name of your service | > > > [!NOTE] > > > > When `OTEL_CONFIG_FILE` is set, the configuration file is the single source of truth for the SDK. Other `OTEL_*` environment variables are ignored by design, so set all SDK options in the YAML file. You can still reference environment variables from inside the YAML using `${VAR_NAME}` substitution. > > > [!NOTE] > > > > The OpenTelemetry declarative configuration is stable at the specification level. Individual fields still under active development are marked with a `/development` suffix in the YAML (see [configuration versioning](https://github.com/open-telemetry/opentelemetry-configuration/blob/main/VERSIONING.md#experimental-features)). Check the [language support status](https://github.com/open-telemetry/opentelemetry-configuration/blob/main/language-support-status.md) for per-SDK maturity. > > > [accordion] Add metrics and logs > > > > Add `meter_provider` and `logger_provider` sections to the same file to export metrics and logs. This version also enables resource detectors, which add attributes such as `host.*` and `process.*` automatically: > > > > ```yaml theme={} > > file_format: "1.0" > > > > resource: > > attributes: > > - name: service.name > > value: ${OTEL_SERVICE_NAME:-my-service} > > detection/development: > > detectors: > > - host: > > - os: > > - process: > > - service: > > > > tracer_provider: # traces > > processors: > > - batch: > > exporter: > > otlp_http: > > endpoint: https://api.honeycomb.io/v1/traces > > headers: > > - name: x-honeycomb-team > > value: ${HONEYCOMB_API_KEY} > > > > meter_provider: # metrics > > readers: > > - periodic: > > exporter: > > otlp_http: > > endpoint: https://api.honeycomb.io/v1/metrics > > headers: > > - name: x-honeycomb-team > > value: ${HONEYCOMB_API_KEY} > > # Legacy metrics only; omit with the current metrics experience: > > # - name: x-honeycomb-dataset > > # value: ${HONEYCOMB_METRICS_DATASET} > > > > logger_provider: # logs > > processors: > > - batch: > > exporter: > > otlp_http: > > endpoint: https://api.honeycomb.io/v1/logs > > headers: > > - name: x-honeycomb-team > > value: ${HONEYCOMB_API_KEY} > > > > propagator: > > composite: > > - tracecontext: > > - baggage: > > ``` > > > > > [!NOTE] > > > > > > For the EU instance, replace `https://api.honeycomb.io` with `https://api.eu1.honeycomb.io` throughout the file. > > > [!NOTE] > > > > If you use [Honeycomb Classic](/troubleshoot/product-lifecycle/recommended-migrations/#migrate-from-honeycomb-classic-to-honeycomb-environments), you must also specify the Dataset using the `x-honeycomb-dataset` header. > > > > ```shell theme={} > > export OTEL_EXPORTER_OTLP_HEADERS="x-honeycomb-team=your-api-key,x-honeycomb-dataset=your-dataset" > > ``` > > > [!NOTE] > > > > If you are sending data directly to Honeycomb, you must configure the API key and service name. > > If you are using an [OpenTelemetry Collector](/send-data/opentelemetry/collector/), configure your API key at the Collector level instead. > > #### Run Your Application > > Point the SDK at your configuration file using the `OTEL_CONFIG_FILE` environment variable, then run your Python application with the OpenTelemetry Python automatic instrumentation tool `opentelemetry-instrument`: > > ```shell theme={} > OTEL_CONFIG_FILE=./otelconfig.yaml opentelemetry-instrument python YOUR_APPLICATION_NAME.py > ``` > > Be sure to replace `YOUR_APPLICATION_NAME` with the name of your application's main file. > > In Honeycomb's UI, you should now see your application's incoming requests and outgoing HTTP calls generate traces. > [tab] Java > > #### Acquire Dependencies > > The automatic instrumentation agent for OpenTelemetry Java will automatically generate trace data from your application. > The agent is packaged as a JAR file and is run alongside your app. > > In order to use the automatic instrumentation agent, you must first download it: > > ```shell theme={} > curl -L -O https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/latest/download/opentelemetry-javaagent.jar > ``` > > #### Configure the OpenTelemetry SDK > > Create an `otelconfig.yaml` file with the following content: > > ```yaml theme={} > file_format: "1.1" > > resource: > attributes: > - name: service.name > value: ${OTEL_SERVICE_NAME:-my-service} > > tracer_provider: > processors: > - batch: > exporter: > otlp_http: > endpoint: https://api.honeycomb.io/v1/traces > # Use the endpoint below for EU > # endpoint: https://api.eu1.honeycomb.io/v1/traces > headers: > - name: x-honeycomb-team > value: ${HONEYCOMB_API_KEY} > > propagator: > composite: > - tracecontext: > - baggage: > ``` > > Set the following environment variables before running your application: > > | Environment Variable | Value | > | :- | :- | > | `HONEYCOMB_API_KEY` | Your Honeycomb API key | > | `OTEL_SERVICE_NAME` | The name of your service | > > > [!NOTE] > > > > When `OTEL_CONFIG_FILE` is set, the configuration file is the single source of truth for the SDK. Other `OTEL_*` environment variables are ignored by design, so set all SDK options in the YAML file. You can still reference environment variables from inside the YAML using `${VAR_NAME}` substitution. > > > [!NOTE] > > > > The OpenTelemetry declarative configuration is stable at the specification level. Individual fields still under active development are marked with a `/development` suffix in the YAML (see [configuration versioning](https://github.com/open-telemetry/opentelemetry-configuration/blob/main/VERSIONING.md#experimental-features)). Check the [language support status](https://github.com/open-telemetry/opentelemetry-configuration/blob/main/language-support-status.md) for per-SDK maturity. > > > [accordion] Add metrics and logs > > > > Add `meter_provider` and `logger_provider` sections to the same file to export metrics and logs. This version also enables resource detectors, which add attributes such as `host.*` and `process.*` automatically: > > > > ```yaml theme={} > > file_format: "1.1" > > > > resource: > > attributes: > > - name: service.name > > value: ${OTEL_SERVICE_NAME:-my-service} > > detection/development: > > detectors: > > - host: > > - process: > > - service: > > > > tracer_provider: # traces > > processors: > > - batch: > > exporter: > > otlp_http: > > endpoint: https://api.honeycomb.io/v1/traces > > headers: > > - name: x-honeycomb-team > > value: ${HONEYCOMB_API_KEY} > > > > meter_provider: # metrics > > readers: > > - periodic: > > exporter: > > otlp_http: > > endpoint: https://api.honeycomb.io/v1/metrics > > headers: > > - name: x-honeycomb-team > > value: ${HONEYCOMB_API_KEY} > > # Legacy metrics only; omit with the current metrics experience: > > # - name: x-honeycomb-dataset > > # value: ${HONEYCOMB_METRICS_DATASET} > > > > logger_provider: # logs > > processors: > > - batch: > > exporter: > > otlp_http: > > endpoint: https://api.honeycomb.io/v1/logs > > headers: > > - name: x-honeycomb-team > > value: ${HONEYCOMB_API_KEY} > > > > propagator: > > composite: > > - tracecontext: > > - baggage: > > ``` > > > > > [!NOTE] > > > > > > For the EU instance, replace `https://api.honeycomb.io` with `https://api.eu1.honeycomb.io` throughout the file. > > #### Run Your Application > > Point the agent at your configuration file using the `OTEL_CONFIG_FILE` environment variable, then run your application: > > ```shell theme={} > OTEL_CONFIG_FILE=./otelconfig.yaml java -javaagent:opentelemetry-javaagent.jar -jar /path/to/myapp.jar > ``` > > In Honeycomb's UI, you should now see your application's incoming requests and outgoing HTTP calls generate traces. > [tab] .NET > > > [!NOTE] > > > > This Quick Start uses ASP.NET Core. > > #### Acquire Dependencies > > Install the OpenTelemetry .NET packages. For example, with the .NET CLI, use: > > ```shell theme={} > dotnet add package OpenTelemetry > dotnet add package OpenTelemetry.Extensions.Hosting > dotnet add package OpenTelemetry.Instrumentation.AspNetCore > dotnet add package OpenTelemetry.Instrumentation.Http > ``` > > #### Initialize > > Initialize the TracerProvider during application setup. > > ```csharp theme={} > services.AddOpenTelemetry().WithTracing(builder => builder > .AddAspNetCoreInstrumentation() > .AddHttpClientInstrumentation() > .AddOtlpExporter()); > ``` > > #### Configure > > Use environment variables to configure the OpenTelemetry SDK: > > ```shell theme={} > export OTEL_SERVICE_NAME="your-service-name" > export OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf" > export OTEL_EXPORTER_OTLP_ENDPOINT="https://api.honeycomb.io:443" # US instance > #export OTEL_EXPORTER_OTLP_ENDPOINT="https://api.eu1.honeycomb.io:443" # EU instance > export OTEL_EXPORTER_OTLP_HEADERS="x-honeycomb-team=" > ``` > > | Variable | Description | > | - | - | > | `OTEL_SERVICE_NAME` | Service name. When you send data, Honeycomb creates a dataset in which to store your data and uses this as the name. Can be any string. | > | `OTEL_EXPORTER_OTLP_PROTOCOL` | The data format that the SDK uses to send telemetry to Honeycomb. For more on data format configuration options, read [Choosing between gRPC and HTTP](/send-data/dotnet/#choosing-between-grpc-and-http). | > | `OTEL_EXPORTER_OTLP_ENDPOINT` | Honeycomb endpoint to which you want to send your data. | > | `OTEL_EXPORTER_OTLP_HEADERS` | Adds your Honeycomb API Key to the exported telemetry headers for authorization. [Learn how to find your Honeycomb API Key](/configure/environments/manage-api-keys/#find-api-keys). | > > #### Run > > Run your application. You will see the incoming requests and outgoing HTTP calls generate traces. > > ```shell theme={} > dotnet run > ``` > > In Honeycomb's UI, you should now see your application's incoming requests and outgoing HTTP calls generate traces. > [tab] Go > > #### Acquire Dependencies > > Install OpenTelemetry Go packages: > > ```shell theme={} > go get \ > go.opentelemetry.io/contrib/otelconf/x \ > go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp > ``` > > #### Initialize > > Prepare your application to send spans to Honeycomb. > > Open or create a file called `main.go`: > > ```go theme={} > package main > > import ( > "context" > "fmt" > "log" > "net/http" > > "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" > otelconf "go.opentelemetry.io/contrib/otelconf/x" > "go.opentelemetry.io/otel" > ) > > // Implement an HTTP Handler function to be instrumented > func httpHandler(w http.ResponseWriter, r *http.Request) { > fmt.Fprintf(w, "Hello, World") > } > > func main() { > // Use otelconf/x to set up the OpenTelemetry SDK. The `/x` package > // adds support for experimental spec fields such as resource detectors. > sdk, err := otelconf.NewSDK() > if err != nil { > log.Fatalf("error setting up OTel SDK - %e", err) > } > defer sdk.Shutdown(context.Background()) > > otel.SetTracerProvider(sdk.TracerProvider()) > otel.SetTextMapPropagator(sdk.Propagator()) > > // Initialize HTTP handler instrumentation > handler := http.HandlerFunc(httpHandler) > wrappedHandler := otelhttp.NewHandler(handler, "hello") > http.Handle("/hello", wrappedHandler) > > // Serve HTTP server > log.Fatal(http.ListenAndServe(":3030", nil)) > } > ``` > > #### Configure the OpenTelemetry SDK > > Create an `otelconfig.yaml` file with the following content: > > ```yaml theme={} > file_format: "1.1" > > resource: > attributes: > - name: service.name > value: ${OTEL_SERVICE_NAME:-my-service} > > tracer_provider: > processors: > - batch: > exporter: > otlp_http: > endpoint: https://api.honeycomb.io/v1/traces > # Use the endpoint below for EU > # endpoint: https://api.eu1.honeycomb.io/v1/traces > headers: > - name: x-honeycomb-team > value: ${HONEYCOMB_API_KEY} > > propagator: > composite: > - tracecontext: > - baggage: > ``` > > Set the following environment variables before running your application: > > | Environment Variable | Value | > | :- | :- | > | `HONEYCOMB_API_KEY` | Your Honeycomb API key | > | `OTEL_SERVICE_NAME` | The name of your service | > > > [!NOTE] > > > > When `OTEL_CONFIG_FILE` is set, the configuration file is the single source of truth for the SDK. Other `OTEL_*` environment variables are ignored by design, so set all SDK options in the YAML file. You can still reference environment variables from inside the YAML using `${VAR_NAME}` substitution. > > > [!NOTE] > > > > The OpenTelemetry declarative configuration is stable at the specification level. Individual fields still under active development are marked with a `/development` suffix in the YAML (see [configuration versioning](https://github.com/open-telemetry/opentelemetry-configuration/blob/main/VERSIONING.md#experimental-features)). Check the [language support status](https://github.com/open-telemetry/opentelemetry-configuration/blob/main/language-support-status.md) for per-SDK maturity. > > > [accordion] Add metrics and logs > > > > Add `meter_provider` and `logger_provider` sections to the same file to export metrics and logs. This version also enables resource detectors, which add attributes such as `host.*` and `process.*` automatically: > > > > ```yaml theme={} > > file_format: "1.1" > > > > resource: > > attributes: > > - name: service.name > > value: ${OTEL_SERVICE_NAME:-my-service} > > detection/development: > > detectors: > > - host: > > - container: > > - process: > > - service: > > > > tracer_provider: # traces > > processors: > > - batch: > > exporter: > > otlp_http: > > endpoint: https://api.honeycomb.io/v1/traces > > headers: > > - name: x-honeycomb-team > > value: ${HONEYCOMB_API_KEY} > > > > meter_provider: # metrics > > readers: > > - periodic: > > exporter: > > otlp_http: > > endpoint: https://api.honeycomb.io/v1/metrics > > headers: > > - name: x-honeycomb-team > > value: ${HONEYCOMB_API_KEY} > > # Legacy metrics only; omit with the current metrics experience: > > # - name: x-honeycomb-dataset > > # value: ${HONEYCOMB_METRICS_DATASET} > > > > logger_provider: # logs > > processors: > > - batch: > > exporter: > > otlp_http: > > endpoint: https://api.honeycomb.io/v1/logs > > headers: > > - name: x-honeycomb-team > > value: ${HONEYCOMB_API_KEY} > > > > propagator: > > composite: > > - tracecontext: > > - baggage: > > ``` > > > > > [!NOTE] > > > > > > For the EU instance, replace `https://api.honeycomb.io` with `https://api.eu1.honeycomb.io` throughout the file. > > #### Run Your Application > > Point the SDK at your configuration file using the `OTEL_CONFIG_FILE` environment variable, then run your application: > > ```shell theme={} > OTEL_EXPERIMENTAL_CONFIG_FILE=./otelconfig.yaml go run YOUR_APPLICATION_NAME.go > ``` > > Be sure to replace `YOUR_APPLICATION_NAME` with the name of your application's main file. > > In Honeycomb's UI, you should now see your application's incoming requests and outgoing HTTP calls generate traces. > [tab] Ruby > > #### Acquire Dependencies > > Add these gems to your Gemfile: > > ```ruby theme={} > gem 'opentelemetry-sdk' > gem 'opentelemetry-exporter-otlp' > gem 'opentelemetry-instrumentation-all' > ``` > > | Gem | Description | > | - | - | > | `opentelemetry-sdk` | Required to create spans | > | `opentelemetry-exporter-otlp` | An exporter to send data in the OTLP format | > | `opentelemetry-instrumentation-all` | A meta package that provides instrumentation for Rails, Sinatra, several HTTP libraries, [and more](https://github.com/open-telemetry/opentelemetry-ruby#instrumentation-libraries) | > > Install the gems using your terminal: > > ```shell theme={} > bundle install > ``` > > #### Initialize > > Initialize OpenTelemetry early in your application lifecycle. > For Rails applications, we recommend that you use a Rails initializer. > For other Ruby services, initialize as early as possible in the startup process. > > ```ruby theme={} > # config/initializers/opentelemetry.rb > require 'opentelemetry/sdk' > require 'opentelemetry/exporter/otlp' > require 'opentelemetry/instrumentation/all' > > OpenTelemetry::SDK.configure do |c| > c.use_all() # enables all instrumentation! > end > ``` > > #### Configure the OpenTelemetry SDK > > Use environment variables to configure OpenTelemetry to send events to Honeycomb: > > ```ruby theme={} > export OTEL_EXPORTER_OTLP_ENDPOINT="https://api.honeycomb.io" # US instance > #export OTEL_EXPORTER_OTLP_ENDPOINT="https://api.eu1.honeycomb.io" # EU instance > export OTEL_EXPORTER_OTLP_HEADERS="x-honeycomb-team=your-api-key" > export OTEL_SERVICE_NAME="your-service-name" > ``` > > | Variable | Description | > | - | - | > | `OTEL_EXPORTER_OTLP_ENDPOINT` | Base endpoint to which you want to send your telemetry data. | > | `OTEL_EXPORTER_OTLP_HEADERS` | List of headers to apply to all outgoing telemetry data. Place your API Key generated in Honeycomb in the `x-honeycomb-team` header. [Learn how to find your Honeycomb API Key](/configure/environments/manage-api-keys/#find-api-keys). | > | `OTEL_SERVICE_NAME` | Service name. When you send data, Honeycomb creates a dataset in which to store your data and uses this as the name. Can be any string. | > > #### Run Your Application > > Run your Ruby application. > > In Honeycomb's UI, you should now see your application's incoming requests and outgoing HTTP calls generate traces. > [tab] Kubernetes > > Refer to [Honeycomb for Kubernetes Overview](/send-data/kubernetes/) for a Quick Start and all configuration options to get Kubernetes metrics, logs, events, as well as Kubernetes attributes added to application traces, logs, and metrics in Honeycomb. > [tab] Other > > If your preferred language is not covered here, you can find relevant instrumentation information in the [OpenTelemetry community documentation](https://opentelemetry.io/docs/languages/). > > > [!TIP] > > > > For Rust, we recommend you use the [opentelemetry](https://crates.io/crates/opentelemetry) and [opentelemetry-otlp](https://crates.io/crates/opentelemetry-otlp) crates to send data to Honeycomb over OTLP. > > For any required configuration values, see [Using the Honeycomb OpenTelemetry Endpoint](/send-data/opentelemetry/#using-the-honeycomb-opentelemetry-endpoint). ### Generate Automated Data Now that you have added automatic instrumentation to your application and have it running in your development environment, interact with your application by making a few requests. Making requests to your service will generate telemetry data and send it to Honeycomb where it will appear in the Honeycomb UI within seconds. > [!TIP] > > If you have made several service requests in your development environment and after several minutes, you still do not see any data, reach out for help in our [Pollinators Community Slack](/troubleshoot/community/#join-pollinators-community-slack). ### View an Example Trace Before you move on, take a look at the data that you have generated using automatic instrumentation by [viewing an example trace](/investigate/analyze/explore-traces/), which is a visual diagram that represents the complete journey of a request or transaction as it traverses a distributed system. Traces provide a way to visualize and understand the flow of execution and the interactions between various components involved in serving a request. They can help you find the source of errors in a system, identify the slowest processes, and break down the user experience in great detail. While Honeycomb helps you analyze all of your outputs, where we particularly shine is when working with traces to give you a visual representation of where requests spend time in your system. In this example, we want to see a count of events, an average latency for those events, and a heatmap of latency. To see your trace: 1. Depending on where you created your account, either [log in to Honeycomb US](https://ui.honeycomb.io/) or [log in to Honeycomb EU](https://ui.eu1.honeycomb.io) using your Honeycomb account. 2. From the left sidebar, navigate to **Query**. 3. In the **SELECT** clause, add `HEATMAP(duration_ms)` 4. Select **Run Query**. 5. In the heatmap results, click on a dot to get a trace. We generated the following examples after adding automatic instrumentation to a simple greeting service application written in Node.js. You can [see the code in our GitHub repository](https://github.com/brianlangbecker/best-practices-blog). Here's our example heatmap: ![Heatmap for our automatically-instrumented example application, showing three dots, each of which represents a trace](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/start-building/traces/example-heatmap-auto-instrumentation.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=9830f0a8f87e4aa506457d126ea2f71c) And here is our example trace: ![First trace for our automatically-instrumented example application](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/start-building/traces/example-trace-auto-instrumentation.png?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=2bd6abbcbd9a8305b5a32824300f4286) In this trace, you can see: * the spans within the trace * how long each span took * which spans contain errors (none, in this example) > [!TIP] > > All of this is useful information, but more information will allow us to dig even more deeply! > To get the most insight into your system, you should enhance your automatic instrumentation by [adding custom instrumentation](/send-data/standardize/add-custom-instrumentation/) surrounding your business logic. ## What's Next? Excellent work! If you made it this far, you should now have telemetry data from your application flowing into Honeycomb. You can deploy to production and start gaining new insights on real traffic! But there is so much more to explore! To learn more about what you can do with Honeycomb, check out: * [Customize Instrumentation](/send-data/standardize/add-custom-instrumentation/): Walk through the process of adding custom instrumentation, so you can get additional visibility into the inner workings of your business logic. * [Ways to Explore Your Data](/observe/): Get a quick run-through of the different ways you can explore your data in Honeycomb. * [Board Templates](/observe/boards/): Get key insights with one-click with out-of-the-box Board Templates. * [Honeycomb's Sandbox](https://play.honeycomb.io/sandbox/tours): Explore common scenarios with real data. * [DevRel Office Hours](https://www.honeycomb.io/devrel/observability-office-hours/): Join in on observability talk with world-class experts. * [Integrations](/integrations/): Learn about other types of data you can explore with Honeycomb. # Get Started with Unstructured Logs Source: https://docs.honeycomb.io/get-started/start-building/application/unstructured-events Send unstructured logs to Honeycomb and start querying them with high cardinality. Find out how Honeycomb parses unstructured data and which ingestion methods work best. So you want to use Honeycomb. Maybe this is because you want high cardinality or faster querying times. Maybe you are at the beginning of a project to onboard to tracing or OpenTelemetry. But right now, you rely on unstructured logs for core analysis. Event logs are good for debugging, easy to generate, and unstructured logs are often the easiest to implement. The downside? The lack of standardization makes debugging using unstructured logs challenging, and querying unstructured logs is highly inefficient. You can sometimes do post-processing with regular expressions, but if you have to use regular expressions to understand what is happening in production, you are wasting your analytical skills on what amounts to a data formatting problem instead of actually analyzing the information the system is sending. The best solution is to transform your unstructured logs into a structured format before sending to Honeycomb. But regardless of whether you are ready to migrate to structured logs, if you have unstructured logs that you would like to get into Honeycomb, then you are in the right place. > [!TIP] > > If you have semi-structured logs, you may also find the resources shared in [Start Building: Get Started with Structured Logs](/get-started/start-building/application/structured-events/) helpful. ## Unstructured Data in Honeycomb Honeycomb refers to unstructured data as information that does not follow a predefined data model. Often this information takes the form of logs emitted by applications to log files, but it can also include raw text or any kind of event data that has not been formatted into a structured format like JSON or key-value pairs. Some examples: * **Raw log files**: Traditional log files generated by systems or applications. Example: `2024-10-15 12:00:00 ERROR Connection timeout while accessing database` * **Text-based application logs**: Logs that contain text messages, but no clear structure or predefined format. Example: `User login failed: username=admin, reason=invalid password` * **Freeform event data**: Events that capture information in a narrative or free-form text. Example: `Server xyz failed to respond due to high CPU usage` * **Error or debug messages**: Messages output during application runtime, typically for debugging or error reporting, but without a structured schema. Example: `Stacktrace: at main.py: line 23` If you send unstructured logs to Honeycomb without transforming them into structured logs, then we will accept the data, but treat it as a single, opaque field, which will be harder to filter or query on. This also means you will miss out on some powerful observability features, such as tracing, high-cardinality querying, and exploring data interactively. To avoid this, we recommend transforming unstructured data into structured data. For example, you might transform this unstructured log: ```text theme={} 2024-10-15 12:00:00 ERROR connection timeout ``` Into this structured log: ```text theme={} {"timestamp": "2024-10-15T12:00:00Z", "status": "error", "message": "connection timeout"} ``` ## Sending Unstructured Logs to Honeycomb If you're ready to transform your unstructured logs into structured logs, you can use any of the following options: * [Honeycomb Telemetry Pipeline](/send-data/telemetry-pipeline/): Use the Honeycomb Telemetry Pipeline, which lets you standardize the entirety of telemetry operations on OpenTelemetry, whatever the format of existing logs, traces, and metrics. * [OpenTelemetry Collector](/send-data/logs/collector/): Use the OpenTelemetry Collector as a logging agent along with the [Filelog Receiver](/send-data/logs/collector/#collect-any-log-with-the-filelog-receiver) to parse unstructured logs and sending them to Honeycomb as structured logs. * [HoneyTail + RegEx](/send-data/logs/unstructured/honeytail-regex/): Ingest unstructured logs using custom regular expressions and Honeytail, our lightweight tool that will tail your existing log files, parse the content, and send it to Honeycomb. ## Enhancing Data in Honeycomb Once your data is in Honeycomb, you will want to enhance it. If you've transformed your data to structured logs, you can use the resources shared in [Start Building: Structured Logs](/get-started/start-building/application/structured-events/#enhancing-data-in-honeycomb). Otherwise, consider [adding metadata](/send-data/standardize/add-context/) like timestamps or categories to help you query later. ## Exploring Log Data in Honeycomb For structured logs, Honeycomb lets you easily query based on fields like status or timestamp. For unstructured logs, you can still use Honeycomb, but it will be harder to filter or analyze your data because the information is contained in one text blob. To learn how to analyze your data in Honeycomb, visit [Investigate Log Data in Honeycomb](/investigate/debug/log-data-in-honeycomb/). # Get Started with Honeycomb for Web Source: https://docs.honeycomb.io/get-started/start-building/application/web Instrument your web application with the Honeycomb Web Instrumentation package, built on OpenTelemetry, and get full visibility into your customer experience. Honeycomb offers web instrumentation, so you can get complete visibility into your customer experience, much like a Real User Monitoring (RUM) solution, but without any need for a proprietary agent. Our Honeycomb Web Instrumentation package, a wrapper for the official OpenTelemetry Javascript SDK, allows you to get a rich set of data for your web service, so you can understand what users are experiencing when using your service and identify areas you can optimize. > [!TIP] > > If you're using micro frontend architecture, visit [Observability and Micro Frontends](/get-started/best-practices/micro-frontends/) to see our recommendations for implementing OpenTelemetry and the Honeycomb OpenTelemetry Web SDK. In this guide, we walk you through installing and configuring the default Honeycomb Web Instrumentation package, which will help you collect data on a variety of performance concerns for web services, as well as give you the necessary foundation for extending traces to any backend services that have OpenTelemetry instrumentation. We will cover how to: * Set up instrumentation on your web site or web app * Send data to Honeycomb * Start exploring your data in Honeycomb After following this guide, you will: * Have a rich set of default instrumentation available to help you debug your web service * Know how to access your data in Honeycomb and find items of interest to investigate * Be able to start improving your (and your team's) Observability practices For more structured learning, check out the [Honeycomb for Frontend Observability](https://academy.honeycomb.io/app/courses/beaa9b6e-0656-4722-a584-f4b8e6ca09f3) course from Honeycomb Academy. ## Before You Begin Before you run the code, you'll need to do a few things. ### Sign up for Honeycomb If you don't already have a Honeycomb account, you can sign up for one. Signup is free. Honeycomb stores your data in either a US-based or EU-based location, depending on your account region: * [Create a US account](https://ui.honeycomb.io/signup) * [Create an EU account](https://ui.eu1.honeycomb.io/signup) ### Get an API Key For this guide, you'll need a [Honeycomb Ingest API Key](/configure/environments/manage-api-keys/#create-api-key) with the **Can create services/datasets** permission. This lets your application send telemetry to Honeycomb and create a dataset for your service. > [!TIP] > > When deploying to production, replace this key with a separate key that does not allow dataset creation. > This helps protect your data structure in live environments. Make note of your API key; for security reasons, you will not be able to see the key again, and you will need it later. ## Install the Honeycomb Web Instrumentation Package We make our Honeycomb Web Instrumentation package available as an NPM package, so you can include it in your web bundle. Navigate to the root directory of your service's repo, and then install the package: > [!TIP] > > If your repo does not contain a `yarn.lock` file, install with NPM. ```shell NPM theme={} npm install @honeycombio/opentelemetry-web '@opentelemetry/auto-instrumentations-web' ``` ```shell Yarn theme={} yarn add @honeycombio/opentelemetry-web '@opentelemetry/auto-instrumentations-web' ``` Confirm that the install was successful by opening your `package.json` file and checking that the `Dependencies` list now contains `@honeycomb/opentelemetry-web`. ## Send Data to Honeycomb Once you have your Honeycomb Ingest API key and have installed Honeycomb's Web Instrumentation package, it's time to send telemetry data to Honeycomb! ### Instantiate Your Instrumentation To get a comprehensive set of data about your application, you need to instantiate your instrumentation as early as possible in your application's lifecycle. You can set up your web instrumentation using a popular JavaScript framework, using inline JavaScript, or using a JavaScript helper file. To get started the most quickly, add your package configuration inline in the root instantiation file of your application: > [!NOTE] > > Be sure to replace `[YOUR API KEY HERE]` and `[YOUR APPLICATION NAME HERE]` with the value of your Honeycomb API Ingest Key and the name of your service, respectively. > We use the `serviceName` variable to name your dataset in Honeycomb, so replace it with a name that you will find useful. ```javascript theme={} // index.js or main.js // other import statements... import { HoneycombWebSDK } from '@honeycombio/opentelemetry-web'; import { getWebAutoInstrumentations } from '@opentelemetry/auto-instrumentations-web'; const configDefaults = { ignoreNetworkEvents: true, // propagateTraceHeaderCorsUrls: [ // /.+/g, // Regex to match your backend URLs. Update to the domains you wish to include. // ] } const sdk = new HoneycombWebSDK({ // endpoint: "https://api.eu1.honeycomb.io/v1/traces", // Send to EU instance of Honeycomb. Defaults to sending to US instance. debug: true, // Set to false for production environment. apiKey: '[YOUR API KEY HERE]', // Replace with your Honeycomb Ingest API Key. serviceName: '[YOUR APPLICATION NAME HERE]', // Replace with your application name. Honeycomb uses this string to find your dataset when we receive your data. When no matching dataset exists, we create a new one with this name if your API Key has the appropriate permissions. instrumentations: [getWebAutoInstrumentations({ // Loads custom configuration for xml-http-request instrumentation. '@opentelemetry/instrumentation-xml-http-request': configDefaults, '@opentelemetry/instrumentation-fetch': configDefaults, '@opentelemetry/instrumentation-document-load': configDefaults, })], }); sdk.start(); // Application instantiation code ``` #### Tips for Common JavaScript Frameworks In this section, we show you how to set up your web instrumentation in popular JS frameworks. Depending on the framework your application uses, instantiation may be handled differently. If you run into trouble, please ask for help in our [Pollinators Community](/troubleshoot/community/). > [tab] React/Next.js > > If you are using React (such as with `create-react-app` or via Next.js), you will need to wrap the Honeycomb code snippet in a component to instantiate it. > > 1. Create a file called `observability.jsx|tsx` in your `components` directory, and insert the code: > > ```javascript theme={} > // observability.jsx|tsx > "use client"; // browser only: https://react.dev/reference/react/use-client > import { HoneycombWebSDK } from '@honeycombio/opentelemetry-web'; > import { getWebAutoInstrumentations } from '@opentelemetry/auto-instrumentations-web'; > > const configDefaults = { > ignoreNetworkEvents: true, > // propagateTraceHeaderCorsUrls: [ > // /.+/g, // Regex to match your backend URLs. Update to the domains you wish to include. > // ] > } > export default function Observability(){ > try { > const sdk = new HoneycombWebSDK({ > // endpoint: "https://api.eu1.honeycomb.io/v1/traces", // Send to EU instance of Honeycomb. Defaults to sending to US instance. > debug: true, // Set to false for production environment. > apiKey: '[YOUR API KEY HERE]', // Replace with your Honeycomb Ingest API Key. > serviceName: '[YOUR APPLICATION NAME HERE]', // Replace with your application name. Honeycomb uses this string to find your dataset when we receive your data. When no matching dataset exists, we create a new one with this name if your API Key has the appropriate permissions. > instrumentations: [getWebAutoInstrumentations({ > // Loads custom configuration for xml-http-request instrumentation. > '@opentelemetry/instrumentation-xml-http-request': configDefaults, > '@opentelemetry/instrumentation-fetch': configDefaults, > '@opentelemetry/instrumentation-document-load': configDefaults, > })], > }); > sdk.start(); > } catch (e) {return null;} > return null; > } > ``` > > 2. In your `Layout.jsx|tsx` file, import the component, and add it to your layout code: > > ```javascript theme={} > // components/layout.tsx|jsx > import Observability from "@/components/observability"; > // ... > return ( > > {children} > > > ); > ``` > [tab] Vue > > **Recommended file location:** `src/main.ts` > > Place code early, ideally just above the Vue instantiation, to ensure that your instrumentation is as accurate as possible. > Find the line that imports `main.css`, and add the code directly afterwards: > > ```javascript theme={} > import '._assets/main.css' > > // HONEYCOMB SNIPPET HERE > > // import { createApp } from 'vue' > ``` > [tab] Angular > > > [!WARNING] > > > > Make sure that your `package.js` lists version 0.37.0 or greater for `@opentelemetry/auto-instrumentations-web`. Versions prior to this had a conflict with Angular that prevented automatic instrumentation data from working. > > The best place to put your code to instantiate early is the `src/main.ts` file, which is the [entry point](https://angular.io/guide/file-structure#application-source-files) of your application. > [tab] Ember > > If you are using [ember-auto-import](https://github.com/embroider-build/ember-auto-import), then you can import the Honeycomb instrumentation packages directly. > The best way to use Honeycomb in an Ember application is through an [Application Initializer](https://guides.emberjs.com/release/applications/initializers/#toc_application-initializers), which ensures that Honeycomb starts up as soon as possible. > > 1. Use the Ember CLI to generate a new initializer named `observability`: > > ```shell theme={} > ember generate instance-initializer observability > ``` > > You should see a new JS file named `observability.js` in the `app/instance-initializers/` directory. > > 2. Add Honeycomb configuration code to the `observability.js` file: > > ```javascript theme={} > import { HoneycombWebSDK } from '@honeycombio/opentelemetry-web'; > import { getWebAutoInstrumentations } from '@opentelemetry/auto-instrumentations-web'; > > const configDefaults = { > ignoreNetworkEvents: true, > // propagateTraceHeaderCorsUrls: [ > // /.+/g, // Regex to match your backend URLs. Update to the domains you wish to include. > // ] > } > > export function initialize(owner) { > const sdk = new HoneycombWebSDK({ > // endpoint: "https://api.eu1.honeycomb.io/v1/traces", // Send to EU instance of Honeycomb. Defaults to sending to US instance. > debug: true, // Set to false for production environment. > apiKey: '[YOUR API KEY HERE]', // Replace with your Honeycomb Ingest API Key. > serviceName: '[YOUR APPLICATION NAME HERE]', // Replace with your application name. Honeycomb uses this string to find your dataset when we receive your data. When no matching dataset exists, we create a new one with this name if your API Key has the appropriate permissions. > instrumentations: [getWebAutoInstrumentations({ > // Loads custom configuration for xml-http-request instrumentation. > '@opentelemetry/instrumentation-xml-http-request': configDefaults, > '@opentelemetry/instrumentation-fetch': configDefaults, > '@opentelemetry/instrumentation-document-load': configDefaults, > })], > }); > sdk.start(); > } > > export default { > initialize, > }; > ``` ### Confirm Data is Sent Start up your application and look in the browser console to see debug information. Once you see traces being sent in the console, you're ready to start using Honeycomb to explore your data. If you encounter an error, visit [Troubleshooting](#troubleshooting) to explore solutions to common issues. ## Refine Your Implementation Once data flows into Honeycomb, you can add custom data about your application to help with investigations. ### Add Application-Specific Resource Attributes To optimize your data collection, we recommend that you add custom attributes that are specific to your application to every span. You can specify extra attributes through the `resourceAttributes` configuration option. This data will be available on every span your instrumentation emits, making it easier to correlate your data to the business information you care about. ```javascript theme={} // index.js or main.js // Other import statements import { HoneycombWebSDK } from '@honeycombio/opentelemetry-web'; import { getWebAutoInstrumentations } from '@opentelemetry/auto-instrumentations-web'; const configDefaults = { ignoreNetworkEvents: true, // propagateTraceHeaderCorsUrls: [ // /.+/g, // Regex to match your backend URLs. Update to the domains you wish to include. // ] } const sdk = new HoneycombWebSDK({ // endpoint: "https://api.eu1.honeycomb.io/v1/traces", // Send to EU instance of Honeycomb. Defaults to sending to US instance. debug: true, // Set to false for production environment. apiKey: '[YOUR API KEY HERE]', // Replace with your Honeycomb Ingest API Key. serviceName: '[YOUR APPLICATION NAME HERE]', // Replace with your application name. Honeycomb uses this string to find your dataset when we receive your data. When no matching dataset exists, we create a new one with this name if your API Key has the appropriate permissions. instrumentations: [getWebAutoInstrumentations({ // Loads custom configuration for xml-http-request instrumentation. '@opentelemetry/instrumentation-xml-http-request': configDefaults, '@opentelemetry/instrumentation-fetch': configDefaults, '@opentelemetry/instrumentation-document-load': configDefaults, })], resourceAttributes: { // Data in this object is applied to every trace emitted. "user.id": user.id, // Specific to your app. "user.role": user.role, // Specific to your app. }, }); sdk.start(); // Application instantiation code ``` ### Connect Browser Traces with Backend Traces To trace a request all the way from your browser through your distributed system, connect your frontend request traces to your backend traces. If your application's backend and frontend are served from the same domain, you can connect traces automatically by using either `instrumentation-fetch` or `instrumentation-xml-http-request` automatic instrumentation. If your browser application calls a separate API endpoint, then you must specify the requests to which you want the trace context header added in order to connect the traces. To do this with the Honeycomb web instrumentation and send traces, uncomment the `propagateTraceHeaderCorsUrls` array and add regex to include all target domains. This method allows you to propagate to your backend services without leaking trace IDs to third-party services. ```javascript theme={} const configDefaults = { ignoreNetworkEvents: true, propagateTraceHeaderCorsUrls: [ /.+/g, // Regex to match your backend URLs. Update to the domains you wish to include. ] } ``` ### Send Data to an OpenTelemetry Collector In production, we recommend that you run an [OpenTelemetry Collector](/send-data/opentelemetry/collector/#browser-telemetry) and send traces to it from your browser application, which will allow you to control your Honeycomb API key and any data transformation. Your OpenTelemetry Collector can then send the traces on to Honeycomb using your API key that you store in the Collector's configuration. This example configuration of the Honeycomb Web Instrumentation package sends traces to your Collector: ```js theme={} const sdk = new HoneycombWebSDK({ debug: true, // Set to false for production environment. endpoint: "http(s)://", skipOptionsValidation: true // Because we are not including apiKey serviceName: '[YOUR APPLICATION NAME HERE]', // Replace with your application name. Honeycomb uses this string to find your dataset when we receive your data. When no matching dataset exists, we create a new one with this name if your API Key has the appropriate permissions. instrumentations: [getWebAutoInstrumentations({ // Loads custom configuration for xml-http-request instrumentation. '@opentelemetry/instrumentation-xml-http-request': configDefaults, '@opentelemetry/instrumentation-fetch': configDefaults, '@opentelemetry/instrumentation-document-load': configDefaults, })], }); sdk.start(); ``` ## Troubleshooting Running into issues? Here are some common problems and ways to fix them. > [!TIP] > > Still stuck? > Check out our [Support Knowledge Base](/troubleshoot/customer-support/) or post a question in our [Pollinators Community](/troubleshoot/community/). ### Dataset Not Appearing in Honeycomb We use the `apiKey` variable to send your data to Honeycomb. Be sure you have replaced the placeholder value for it with your Honeycomb Ingest API Key and that your API key permissions include "Can create datasets". If Honeycomb is successfully instantiating, but your API key is not included, you should see output similar to the following in your browser console: ![Screenshot of Honeycomb UI on the API Keys page, showing the heading Ingest Keys and the button named 'Create Ingest Key'](https://mintcdn.com/honeycomb/43K0N5kGXUhKPs19/_assets/images/start-building/web/debug-console.jpg?fit=max\&auto=format\&n=43K0N5kGXUhKPs19\&q=85\&s=1ebad638cb0b4d9bcc95b98dd2a56660) ### Dataset in Honeycomb has Unexpected Name We use the `serviceName` variable to name your dataset in Honeycomb. Be sure you have replaced the placeholder value for it with a name that you will find useful. ### "Navigator is undefined" Error in Next.js Application If a "navigator is undefined" error appears when you attempt to start your local server while following Next.js instructions, it means the instrumentation is being run in a server-side rendering path. To fix, try the first suggested solution before implementing the second solution: 1. **Add "use client" directive**: At the top of the file where you instantiate Honeycomb's web instrumentation, you can add the ["use client" directive](https://react.dev/reference/react/use-client), which tells React to only execute the file in a client environment. If that solution does not resolve the error, try step 2. 2. **Wrap the function in a try/catch block**: If you're using the client directive and still seeing an error, you can catch the error and avoid instantiation in server-side environments. By adding this, you ensure your app starts up even if the code is executed in a server-side environment. Refer to the example below: ```javascript theme={} try { const sdk = new HoneycombWebSDK({ // endpoint: "https://api.eu1.honeycomb.io/v1/traces", // Send to EU instance of Honeycomb. Defaults to sending to US instance. debug: true, // Set to false for production environment. apiKey: '[YOUR API KEY HERE]', // Replace with your Honeycomb Ingest API Key. serviceName: '[YOUR APPLICATION NAME HERE]', // Replace with your application name. Honeycomb uses this string to find your dataset when we receive your data. When no matching dataset exists, we create a new one with this name if your API Key has the appropriate permissions. instrumentations: [getWebAutoInstrumentations({ // Loads custom configuration for xml-http-request instrumentation. '@opentelemetry/instrumentation-xml-http-request': configDefaults, '@opentelemetry/instrumentation-fetch': configDefaults, '@opentelemetry/instrumentation-document-load': configDefaults, })], }); } catch (e) {} ``` ### Instrumentation is too Noisy If there is an unexpected volume of events, we recommend disabling some auto-instrumentation. The User Interaction instrumentation, specifically, can be quite noisy. Disabling specific instrumentation is outlined in the example below: ```javascript theme={} // index.js or main.js // other import statements... import { HoneycombWebSDK } from '@honeycombio/opentelemetry-web'; import { getWebAutoInstrumentations } from '@opentelemetry/auto-instrumentations-web'; const sdk = new HoneycombWebSDK({ // ... rest of the config instrumentations: [getWebAutoInstrumentations({ '@opentelemetry/instrumentation-xml-http-request': { enabled: false }, '@opentelemetry/instrumentation-fetch': { enabled: false }, '@opentelemetry/instrumentation-document-load': { enabled: false }, '@opentelemetry/instrumentation-user-interaction': { enabled: false } })], }); sdk.start(); // Application instantiation code ``` # Example Applications Source: https://docs.honeycomb.io/get-started/start-building/example-applications Try pre-instrumented example applications to get hands-on with Honeycomb tracing before adding instrumentation to your own code. These example applications are pre-instrumented with tracing data. Use them to quickly learn about Honeycomb. > [!NOTE] > > [Create a free Honeycomb account](https://ui.honeycomb.io/signup) to try these applications with Honeycomb. ## Honeycomb Academy Example Applications Each example application, listed below, is for use in [Honeycomb Academy](https://academy.honeycomb.io/app) lab activities. Their GitHub repository contains instructions on how to get started. Enter your [Honeycomb API Key](/configure/environments/manage-api-keys/) within the example application and run the example application to send telemetry data to Honeycomb. * Browser - [GitHub](https://github.com/honeycombio/academy-instrumentation-browser) * Go - [GitHub](https://github.com/honeycombio/academy-instrumentation-go) * Java - [GitHub](https://github.com/honeycombio/academy-instrumentation-java) * Node.js - [GitHub](https://github.com/honeycombio/academy-instrumentation-nodejs) * Python - [GitHub](https://github.com/honeycombio/academy-instrumentation-python) * Ruby - [GitHub](https://github.com/honeycombio/academy-instrumentation-ruby) > [!NOTE] > > If you did not find your language as an example application, let us know in the Docs Feedback Form below. > We want to know what languages you would like to see supported! # Get Started with Honeycomb for Kubernetes Source: https://docs.honeycomb.io/get-started/start-building/kubernetes Add observability to your Kubernetes cluster and send telemetry to Honeycomb using OpenTelemetry, the Collector, or the OpenTelemetry Operator. Use OpenTelemetry to collect Kubernetes resource and status metrics from nodes, pods, containers, and volumes. This data answers questions like: * Which pods are using the most CPU? * How do resource limits compare to container resource use? * What do system metrics look like at the node level? * Why are pods failing to start? Adding telemetry to Kubernetes and then analyzing with Honeycomb provides a flexible way to aggregate, structure, and enrich events from applications running on Kubernetes. This data answers questions like: * How did response time change after a canary deployment? * How does application performance vary with container resource limits? * Are application errors happening on specific nodes, or across the fleet? ## Getting Started: Create Your Telemetry Pipeline Do you have 10 minutes? Then you've come to the right place. Use our Quick Start to create a telemetry pipeline, which will prepare you to instrument your application code. > [card] [Create a Telemetry Pipeline](/send-data/kubernetes/opentelemetry/create-telemetry-pipeline/) > > Use Helm to deploy OpenTelemetry Collectors that set up a telemetry pipeline to send Kubernetes metrics and events from your cluster to Honeycomb. ## Add Low-Code Automatic Instrumentation to Your Applications Once you have a telemetry pipeline in place, add automatic instrumentation to your applications. > [!NOTE] > > If you have already used OpenTelemetry to instrument your applications to send data to Honeycomb, you can skip this step and jump straight to [configuring OpenTelemetry to forward telemetry data to your Collectors](/send-data/kubernetes/opentelemetry/collect-instrumented-code/). > [card] [OpenTelemetry Operator for Kubernetes](/send-data/kubernetes/opentelemetry/add-automatic-instrumentation/) > > Set up the OpenTelemetry Operator for Kubernetes to add automatic instrumentation to your applications--using very little code. ## Getting Help To ask questions and learn more, join our [Pollinators Community Slack](/troubleshoot/community/#join-pollinators-community-slack). # Sandbox Source: https://docs.honeycomb.io/get-started/start-building/sandbox Try Honeycomb without sending your own data. The Sandbox gives you a pre-loaded environment to run queries and get familiar with the Honeycomb UI. # Supported Integrations Source: https://docs.honeycomb.io/integrations Connect Honeycomb to your existing infrastructure and tooling. Find integrations for AWS, HashiCorp, Prometheus, log forwarders, service meshes, build pipelines, and more. ## Overview Honeycomb natively supports any system that can send data using OpenTelemetry. This section covers integrations with dedicated Honeycomb documentation. For a full list of Honeycomb integrations, including third-party integrations, check out the Honeycomb Integrations directory. For community-contributed integrations, visit our [Community Contribution repository on GitHub](https://github.com/honeycombio/third-party-contrib/). ## CI/CD > [card] > > ![CircleCI logo](https://mintcdn.com/honeycomb/-xvAyiXy7MGQmDiN/_assets/images/logos/circleci.svg?fit=max\&auto=format\&n=-xvAyiXy7MGQmDiN\&q=85\&s=5a87fd051f62a1488bd015cbeae60226) > > CircleCI > Generate distributed traces from CircleCI pipelines using Honeycomb's Buildevents tool. > > [Open](/integrations/build-pipelines) > [card] > > ![GitHub Actions logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/githubactions.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=95389f1f31780e244ae8f13c8d1249ff) > > GitHub Actions > Generate distributed traces from GitHub Actions workflows using Honeycomb's Buildevents tool. > > [Open](/integrations/build-pipelines) > [card] > > ![GitLab logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/gitlab.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=aa9abba448e86a11d0d7fda6c18894ae) > > GitLab CI > Generate distributed traces from GitLab CI pipelines using Honeycomb's Buildevents tool. > > [Open](/integrations/build-pipelines) > [card] > > ![Buildkite logo](https://mintcdn.com/honeycomb/-xvAyiXy7MGQmDiN/_assets/images/logos/buildkite.svg?fit=max\&auto=format\&n=-xvAyiXy7MGQmDiN\&q=85\&s=fe702449b4f5ae44d5b7031eb180b34f) > > Buildkite > Generate distributed traces from Buildkite pipelines using Honeycomb's Buildevents tool. > > [Open](/integrations/build-pipelines) > [card] > > ![Jenkins logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/jenkins.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=a776efab18dc076304a99febbae31d36) > > Jenkins X > Generate distributed traces from Jenkins X pipelines using Honeycomb's Buildevents tool. > > [Open](/integrations/build-pipelines) > [card] > > ![Google DevOps Category logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/googledevops.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=9598dfe873c6458cfe8b858b82aa80b1) > > Google Cloud Build > Generate distributed traces from Google Cloud Build pipelines using Honeycomb's Buildevents tool. > > [Open](/integrations/build-pipelines) > [card] > > ![Bitbucket logo](https://mintcdn.com/honeycomb/-xvAyiXy7MGQmDiN/_assets/images/logos/bitbucket.svg?fit=max\&auto=format\&n=-xvAyiXy7MGQmDiN\&q=85\&s=5088975bfa077e749662349285d51eeb) > > Bitbucket Pipelines > Generate distributed traces from Bitbucket Pipelines using Honeycomb's Buildevents tool. > > [Open](/integrations/build-pipelines) > [card] > > ![Travis CI logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/travisci.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=37e4c029e8a904d4f0f3e38f71ecf771) > > Travis CI > Generate distributed traces from Travis CI pipelines using Honeycomb's Buildevents tool. > > [Open](/integrations/build-pipelines) > [card] > > ![GitHub logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/github.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=ea918cfd5eb1f1266b10d5e1ca5f9050) > > GitHub Deployment Protection > Gate GitHub deployments based on Honeycomb SLO health using GitHub Deployment Protection Rules. > > [Open](/integrations/github-deployment-protection-rules) *** ## Cloud platforms > [card] > > ![AWS Lambda logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/lambda.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=2666b1dba10c6f6f33e38f87dfe1d0ce) > > AWS Lambda > Send telemetry from AWS Lambda functions to Honeycomb using OpenTelemetry or the Honeycomb Lambda extension. > > [Open](/send-data/aws/lambda) > [card] > > ![AWS Cloudwatch logo](https://mintcdn.com/honeycomb/-xvAyiXy7MGQmDiN/_assets/images/logos/cloudwatch.svg?fit=max\&auto=format\&n=-xvAyiXy7MGQmDiN\&q=85\&s=9388fcfdb66a02de3ba3a00943740dc2) > > AWS Cloudwatch > Stream CloudWatch metrics to Honeycomb using AWS Kinesis Data Firehose. > > [Open](/integrations/metrics/aws-cloudwatch) > [card] > > ![Microsoft logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/microsoft.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=55a04d8e8a9eaa71691f4957cf98919f) > > Azure > Send telemetry from Azure to Honeycomb using OpenTelemetry. > > [Open](/send-data/azure) > [card] > > ![Google Cloud logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/googlecloud.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=e6df36f13627358b6633012a7459556f) > > Google Cloud > Send telemetry from Google Cloud to Honeycomb. > > [Open](/send-data/gcp) *** ## Developer tools > [card] > > ![Claude logo](https://mintcdn.com/honeycomb/-xvAyiXy7MGQmDiN/_assets/images/logos/claude.svg?fit=max\&auto=format\&n=-xvAyiXy7MGQmDiN\&q=85\&s=a624004ca433b396fca346c833f0bcb9) > > Claude > Connect Claude to your Honeycomb observability data using the Honeycomb MCP server. > > [Open](/integrations/mcp/configuration-guide) > [card] > > ![Claude logo](https://mintcdn.com/honeycomb/-xvAyiXy7MGQmDiN/_assets/images/logos/claude.svg?fit=max\&auto=format\&n=-xvAyiXy7MGQmDiN\&q=85\&s=a624004ca433b396fca346c833f0bcb9) > > Claude Platform > Export traces from Claude Managed Agents and the Claude API directly to Honeycomb. > > Partner > > [Open](/send-data/use-cases/claude-platform) > [card] > > ![Cursor logo](https://mintcdn.com/honeycomb/-xvAyiXy7MGQmDiN/_assets/images/logos/cursor.svg?fit=max\&auto=format\&n=-xvAyiXy7MGQmDiN\&q=85\&s=eaa3e4c432f188baa23d2174c641270a) > > Cursor > Connect Cursor to your Honeycomb observability data using the Honeycomb MCP server. > > [Open](/integrations/mcp/configuration-guide) > [card] > > ![Visual Studio Code logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/vscode.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=223f2126b2922def012a4a63d4d15d6c) > > Visual Studio Code > Connect VS Code to your Honeycomb observability data using the Honeycomb MCP server. > > [Open](/integrations/mcp/configuration-guide) > [card] > > ![Amazon Q logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/q.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=b3c0564a5532349be597dab3ebcd69b7) > > Amazon Q > Give Amazon Q built-in observability skills for Honeycomb queries and production debugging. > > [Open](/integrations/agent-skills) > [card] > > ![GitHub Copilot logo](https://mintcdn.com/honeycomb/-xvAyiXy7MGQmDiN/_assets/images/logos/copilot.svg?fit=max\&auto=format\&n=-xvAyiXy7MGQmDiN\&q=85\&s=7c0843c75f0ccd13639e8def85efdc12) > > GitHub Copilot > Give GitHub Copilot built-in observability skills for Honeycomb queries and production debugging. > > [Open](/integrations/agent-skills) > [card] > > ![AWS DevOps Agent logo](https://mintcdn.com/honeycomb/wTc0TLejB4LtgGHD/_assets/images/logos/aws-devops-agent.svg?fit=max\&auto=format\&n=wTc0TLejB4LtgGHD\&q=85\&s=e35c852479131b571f9b45be2457a9a0) > > AWS DevOps Agent > Connect Honeycomb and AWS DevOps Agent to give investigations trace-level context and let Honeycomb alerts trigger them automatically. > > Partner > > [Open](/integrations/aws-devops-agent) *** ## Web & mobile > [card] > > ![Embrace logo](https://mintcdn.com/honeycomb/-xvAyiXy7MGQmDiN/_assets/images/logos/embrace.svg?fit=max\&auto=format\&n=-xvAyiXy7MGQmDiN\&q=85\&s=1c8202cb7ca779973ee895b2d9eb92cf) > > Embrace > Connect Honeycomb and Embrace to correlate backend traces with mobile and web user sessions. > > Partner > > [Open](/integrations/embrace) *** ## Infrastructure > [card] > > ![Kubernetes logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/kubernetes.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=cb9f036180b218fdcf3488c7e8004e3e) > > Kubernetes > Send traces, metrics, and logs from Kubernetes clusters to Honeycomb using OpenTelemetry. > > [Open](/send-data/kubernetes) *** ## Service meshes & API gateways > [card] > > ![Istio logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/istio.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=28ea153572928b6b677fe7a7bcfc122e) > > Istio > Send distributed traces from Istio service mesh to Honeycomb using the OpenTelemetry Collector. > > [Open](/integrations/traces/service-meshes-api-gateways) > [card] > > ![Kong logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/kong.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=bfbaf2851fca02b02fd55273aa834ce8) > > Kong > Send distributed traces from Kong API Gateway to Honeycomb using the OpenTelemetry Collector. > > [Open](/integrations/traces/service-meshes-api-gateways) > [card] > > ![Ambassador logo](https://mintcdn.com/honeycomb/-xvAyiXy7MGQmDiN/_assets/images/logos/ambassador.svg?fit=max\&auto=format\&n=-xvAyiXy7MGQmDiN\&q=85\&s=38e1faf0b30af91dd223a7435031f633) > > Ambassador > Send distributed traces from Ambassador API Gateway to Honeycomb using the OpenTelemetry Collector. > > [Open](/integrations/traces/service-meshes-api-gateways) *** ## Infrastructure as Code > [card] > > ![HashiCorp Terraform logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/terraform.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=62f480e5d6a674b912f0bde8096c817f) > > HashiCorp Terraform > Manage Honeycomb environments, datasets, API keys, triggers, and SLOs as code using the Honeycomb Terraform provider. > > [Open](/integrations/hashicorp-terraform) *** ## Log sources > [card] > > ![Nginx logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/nginx.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=d948b6fddd78ff819c4e5344d680c457) > > Nginx > Parse and send Nginx access logs to Honeycomb for high-cardinality querying. > > [Open](/send-data/logs/structured/nginx) > [card] > > ![MySQL logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/mysql.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=dc99e54b2645cc5b0201c17795aa83c2) > > MySQL > Parse and send MySQL slow query logs to Honeycomb for database performance analysis. > > [Open](/send-data/logs/structured/mysql) > [card] > > ![PostgreSQL logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/postgresql.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=bd043587ca4f0b68ecc1f6a4ac64835b) > > PostgreSQL > Parse and send PostgreSQL logs to Honeycomb for database performance analysis. > > [Open](/send-data/logs/structured/postgresql) > [card] > > ![JSON logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/json.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=83259956dc88cd1fe98036ddf4a3d58b) > > JSON logs > Ingest and backfill JSON log files into Honeycomb. > > [Open](/send-data/logs/structured/json) *** ## Log shippers > [card] > > ![Fastly logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/fastly.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=630747c5ffdfdb9e2bc6a7c3da4c161c) > > Fastly > Stream logs from Fastly CDN to Honeycomb for visibility into content delivery behavior. > > [Open](/integrations/logs/fastly) > [card] > > ![Fluentd logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/fluentd.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=6e1e50ba25f544759b886854340d062f) > > Fluentd > Forward structured logs from Fluentd to Honeycomb using the Fluentd output plugin. > > [Open](/integrations/logs/fluentd) > [card] > > ![Logstash logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/logstash.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=2c9f3da3fe574f6e4f50b62236a34cc3) > > Logstash > Send logs from Logstash to Honeycomb using the Logstash output plugin. > > [Open](/integrations/logs/logstash) *** ## Metrics sources > [card] > > ![Prometheus logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/prometheus.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=abb82af5c306e4a5f227a12ab78abcb6) > > Prometheus > Scrape Prometheus metrics using the OpenTelemetry Collector and send them to Honeycomb. > > [Open](/integrations/metrics/prometheus) > [card] > > ![HashiCorp Consul logo](https://mintcdn.com/honeycomb/-xvAyiXy7MGQmDiN/_assets/images/logos/consul.svg?fit=max\&auto=format\&n=-xvAyiXy7MGQmDiN\&q=85\&s=d1aa7bd1affbd2fa616ce01114da71c4) > > HashiCorp Consul > Send HashiCorp Consul cluster metrics to Honeycomb using the OpenTelemetry Collector. > > [Open](/integrations/metrics/hashicorp-consul) > [card] > > ![HashiCorp Nomad logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/nomad.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=2734798794eda3868b00ab4ee4795899) > > HashiCorp Nomad > Send HashiCorp Nomad workload metrics to Honeycomb using the OpenTelemetry Collector. > > [Open](/integrations/metrics/hashicorp-nomad) > [card] > > ![HashiCorp Vault logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/vault.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=1f594b95b6ae9f948bfc77cf15d46cd9) > > HashiCorp Vault > Send HashiCorp Vault server metrics to Honeycomb using the OpenTelemetry Collector. > > [Open](/integrations/metrics/hashicorp-vault) > [card] > > ![Anthropic logo](https://mintcdn.com/honeycomb/-xvAyiXy7MGQmDiN/_assets/images/logos/anthropic.svg?fit=max\&auto=format\&n=-xvAyiXy7MGQmDiN\&q=85\&s=19af95b3b029a84c136ea40d7613495b) > > Anthropic > Monitor Anthropic API token consumption, feature usage, and cost attribution using a custom OpenTelemetry Collector. > > [Open](/send-data/use-cases/anthropic-usage-monitoring) *** ## Network > [card] > > ![AWS PrivateLink logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/privatelink.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=c27ccc4d995c0644ae2f1004815df072) > > AWS PrivateLink > Send telemetry to Honeycomb over AWS PrivateLink without traversing the public internet. > > [Open](/integrations/aws-privatelink) *** ## Notification channels > [card] > > ![PagerDuty logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/pagerduty.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=6b935df9171ccd07ada43043bb76cc1b) > > PagerDuty > Send Honeycomb trigger, SLO burn, and Anomaly Detection alerts to PagerDuty. > > [Open](/notify/pagerduty) > [card] > > ![Slack logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/slack.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=1afc3fd2f251ea6e4c98f65b3a04dccd) > > Slack > Send Honeycomb trigger, SLO burn, and Anomaly Detection alerts to Slack channels. > > [Open](/notify/slack) > [card] > > ![Microsoft Teams logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/microsoftteams.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=d230000facc0f25224ece8ff6a8452d4) > > Microsoft Teams > Send Honeycomb trigger, SLO burn, and Anomaly Detection alerts to Microsoft Teams. > > [Open](/notify/microsoft-teams) > [card] > > ![Webhooks logo](https://mintcdn.com/honeycomb/zb0MMh-BiArCmgRU/_assets/images/logos/webhooks.svg?fit=max\&auto=format\&n=zb0MMh-BiArCmgRU\&q=85\&s=d34dd8ae263bc86529c3a84940d3cdae) > > Webhooks > Send Honeycomb trigger and SLO alerts to any endpoint using configurable webhooks. > > [Open](/notify/webhooks) # Agent Skills for AI Coding Assistants Source: https://docs.honeycomb.io/integrations/agent-skills Give your AI coding assistants deep knowledge of observability, OpenTelemetry instrumentation, production debugging, and Honeycomb features. [Honeycomb Agent Skills](https://github.com/honeycombio/agent-skill) is a collection of skills, agents, and hooks for enhancing AI-assisted code workflows. These skills provide OpenTelemetry best practices, Honeycomb feature usage, production issue debugging, and more. ## Available skills Installing the Honeycomb plugin gives your AI assistant eight skills for observability workflows: * **query-patterns**: Build effective Honeycomb queries with patterns for column selection, filtering, and aggregation. * **production-investigation**: Debug latency spikes, error rates, and other production anomalies with step-by-step reasoning. * **slos-and-triggers**: Define and manage SLOs and alert triggers in Honeycomb. * **otel-instrumentation**: Instrument applications with OpenTelemetry, including span creation, attribute naming, and context propagation. * **otel-migration**: How to migrate proprietary or legacy instrumentation to OpenTelemetry. * **beeline-migration**: Guidlines for migrating from Honeycomb Beelines to OpenTelemetry SDKs. * **observability-fundamentals**: Core concepts around distributed tracing, wide events, and production-grade observability. * **create-honeycomb-board**: Create Honeycomb boards to capture investigations and share insights. ## Available agents Two autonomous agents are included for more complex tasks: * **honeycomb-investigator**: Autonomously investigates production issues by querying Honeycomb data, identifying patterns, and summarizing findings. * **instrumentation-advisor**: Analyzes your codebase to find instrumentation gaps and suggest improvements based on OpenTelemetry best practices. ## Additional capabilities * **Column validation hooks**: Prevent queries with invalid or mistyped column names before they are sent to Honeycomb. * **Schema caching**: Reduce repeated lookups by caching dataset column schemas locally during a session. * [Honeycomb MCP](/integrations/mcp/) integration: Query traces, check SLOs and triggers, run BubbleUp analysis, and create boards. ## Install the plugin The following tools support direct plugin installation, which sets up all skills, agents, hooks, and MCP configuration. ### Claude Code ```bash theme={} claude plugin marketplace add honeycombio/agent-skill claude plugin install honeycomb ``` After installation, run `/honeycomb-setup` to connect the Honeycomb MCP server and complete authentication. ### Cursor Add as a remote rule in the Cursor settings: 1. Open **Settings** > **Rules** > **Project Rules**. 2. Select **Add Rule** > **Remote Rule**. 3. Enter the URL: `https://github.com/honeycombio/agent-skill` ### Augment (Auggie CLI) ```bash theme={} auggie plugin marketplace add honeycombio/agent-skill auggie plugin install honeycomb ``` ### GitHub Copilot CLI ```bash theme={} copilot plugin install honeycombio/agent-skill:honeycomb ``` ### Other tools Many AI coding tools support skills and MCP servers through their own configuration. To use Honeycomb with these tools, you'll generally need to: 1. **Add skills**: Copy the skill files from the [agent-skill repository](https://github.com/honeycombio/agent-skill) into the skills directory your tool expects. 2. **Configure the MCP server**: Point your tool at the Honeycomb MCP endpoint — `https://mcp.honeycomb.io/mcp` (or `https://mcp.eu1.honeycomb.io/mcp` for EU). Refer to your tool's documentation for specifics: | Tool | Skills Docs | MCP Docs | | - | - | - | | VS Code with GitHub Copilot | [Agent Skills](https://code.visualstudio.com/docs/copilot/customization/agent-skills), [Agent Plugins](https://code.visualstudio.com/docs/copilot/customization/agent-plugins) | [MCP Servers](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) | | OpenAI Codex CLI | [Skills](https://developers.openai.com/codex/skills) | [Configuration](https://developers.openai.com/codex/config-reference) | | Cline | [Rules](https://docs.cline.bot/features/cline-rules) | [MCP Servers](https://docs.cline.bot/mcp/mcp-overview) | | Windsurf | — | [MCP Configuration](https://docs.windsurf.com/windsurf/mcp) | | Amazon Q Developer | — | [MCP Servers](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/mcp.html) | For tools that only support MCP (not skills), your agent will have access to Honeycomb query tools but won't have the built-in observability reasoning and instrumentation guidance that skills provide. See the [Honeycomb MCP configuration guide](/integrations/mcp/configuration-guide/) for more details on connecting to the MCP server. > [!NOTE] > > Don't see your tool listed? [Open an issue on GitHub](https://github.com/honeycombio/agent-skill/issues) to request support. ## Connecting to Honeycomb ### OAuth (recommended) OAuth is the recommended authentication method. It uses a browser-based flow and does not require you to manage API keys. When you first invoke a Honeycomb MCP tool, your agent will open a browser window to complete the authorization flow. Pick your Honeycomb environment and grant the required permissions. Once authorized, your agent can access Honeycomb data for the rest of the session. ### API Key (headless environments) For autonomous or unattended agents that cannot complete an interactive OAuth flow, use an API key. 1. Generate a Management API key in Honeycomb under **Account** > **Team Settings** > **API Keys**. 2. Grant the **Model Context Protocol** and **Environments** scopes with **Read** permissions (and **Write** if you want the `create_board` tool). 3. Format the key as `KEY_ID:SECRET_KEY` and pass it as a Bearer token in the `Authorization` header. See the [configuration guide](/integrations/mcp/configuration-guide/#setting-up-an-api-key) for a full example configuration. ### EU region If your Honeycomb team is on the EU instance, use `https://mcp.eu1.honeycomb.io/mcp` in place of the US endpoint in all configurations above. ## Next steps * [Getting Started with Honeycomb Using MCP](https://academy.honeycomb.io/app/courses/13ad6a1c-2cd9-46d3-b6c3-c7dc45b5bf4f) * [Connect your AI agent to Honeycomb MCP](/integrations/mcp/configuration-guide/) * Browse the [honeycomb/agent-skill repo](https://github.com/honeycombio/agent-skill), open issues, or contribute new skills and improvements. # Connect Honeycomb and AWS DevOps Agent Source: https://docs.honeycomb.io/integrations/aws-devops-agent Give AWS DevOps Agent access to Honeycomb telemetry during investigations, and let Honeycomb alerts start new investigations automatically. AWS DevOps Agent connects to Honeycomb through a one-way integration: Honeycomb sends data and alerts to AWS DevOps Agent, and the agent doesn't send anything back. With Honeycomb connected, you can: * **Start investigations automatically**: Configure Honeycomb Triggers and SLO burn alerts to start AWS DevOps Agent investigations through a webhook. * **Give the agent trace-level context**: AWS DevOps Agent queries Honeycomb telemetry through Honeycomb's remote MCP server while it investigates, pulling in distributed trace data like latency percentiles, error rates, span attributes, and derived columns from your environments. ## How it works Honeycomb connects to AWS DevOps Agent through two independent mechanisms: an agent space can use either one without the other, though most setups use both. ### Telemetry introspection via MCP AWS DevOps Agent queries Honeycomb telemetry through a registered MCP server while it investigates. #### How the connection works AWS DevOps Agent connects to Honeycomb's remote MCP server as a custom MCP server registration, authenticated with a Management API key scoped to read-only access. When an investigation needs telemetry context, the agent sends queries through this connection using Honeycomb's standard query model: the same aggregations, filters, and time ranges available in the Honeycomb UI. Honeycomb returns results over the same connection; the agent never writes to Honeycomb, and its visibility is bounded by the API key's scopes and the Honeycomb team that issued it. The credential is shared across everyone with access to the agent space; Honeycomb doesn't distinguish between individual AWS users. > [!NOTE] > > Each registration connects to exactly one Honeycomb team; to give an agent space access to more than one team, register each team separately and enable all of them in that agent space. #### What this gives an investigation With this connection, an investigation can: * Break latency down per service and per endpoint, at the percentiles you query on in Honeycomb. * Separate request latency from long-lived connections, which otherwise appear as extreme duration outliers. * Attribute tail latency to a specific code path or downstream dependency. * Cite the traces and span attributes behind a conclusion, so an operator can open the same view in Honeycomb. ### Investigation triggering via webhook A Honeycomb Trigger or SLO burn alert can start an AWS DevOps Agent investigation automatically, through a webhook. #### How Honeycomb sends the alert Honeycomb Triggers and SLO burn alerts use a webhook Recipient to notify AWS DevOps Agent when a condition fires. Honeycomb authenticates each webhook delivery with a bearer token in the Authorization header, which AWS DevOps Agent generates during webhook creation. Honeycomb renders a payload template using Go template syntax, populating fields like `priority` and `description` from the firing alert, and sends it to the webhook endpoint. Honeycomb expects a response within 15 seconds and retries a failed delivery only for a narrow set of conditions: a `408` or `502` response, a `429` or `503` carrying a `Retry-After` header, or a connection-level failure. #### How AWS DevOps Agent handles it AWS DevOps Agent validates the payload, then starts a new investigation, deduplicating repeated deliveries for the same alert cycle using the `incidentId` field. ## Before you begin Make sure you have the following before you connect Honeycomb: * An agent space. If you haven't created one, visit AWS's documentation on [Creating an Agent Space](https://docs.aws.amazon.com/devopsagent/latest/userguide/getting-started-with-aws-devops-agent-creating-an-agent-space.html). * A Honeycomb account with permission to create Management API keys and manage team integrations. In Honeycomb, both require the Team Owner role. * The AWS DevOps Agent console open in a region where the service is available. ## Set up telemetry introspection Set up telemetry introspection so AWS DevOps Agent can query Honeycomb trace data while it investigates, instead of working from AWS telemetry alone. **1. Create a Honeycomb Management API key** Honeycomb's MCP server authenticates with a Management API key, a two-part credential: a **Key ID** and a **Key Secret**. 1. In Honeycomb, [create a Management API key](/configure/teams/manage-api-keys/) under **Account** > **Team Settings** > **API Keys**. When creating your key: * Name the key something that identifies its purpose, so it's easy to find later (for example, `aws-devops-agent`). * Grant these permissions: | Permission | Access | Description | | - | - | - | | Model Context Protocol | Read | Lets the MCP server serve query and schema tools to the agent. | | Environments | Read | Lets the agent enumerate environments and datasets so it can target queries. | > [!NOTE] > > Read access covers everything AWS DevOps Agent needs: it queries Honeycomb telemetry but doesn't modify datasets, Triggers, SLOs, or Boards. 2. Copy both the **Key ID** and the **Key Secret**; you will need them when you register the MCP server in the next step. > [!WARNING] > > The Key Secret displays only once. > If you lose it, delete the key and create a new one. **2. Register and authorize the Honeycomb MCP server** Register and authorize the Honeycomb MCP server to make it available to every agent space in the account. You will enable the registration in a specific agent space in the next step. 1. In the AWS DevOps Agent console, select **Capability Providers** from the side navigation. 2. Locate the **MCP Servers** section, and select **Register MCP Server**. 3. On the **Server details** page, enter details: | Field | Value | | - | - | | Server Name | Unique identifier, such as `honeycomb-mcp`. Give each registration a distinct name if you are connecting more than one Honeycomb team. | | URL | Your Honeycomb MCP endpoint URL, which depends on which Honeycomb region hosts your team. To identify your region, check the URL in your browser when you are logged into Honeycomb and select the corresponding endpoint:
  • **US (default)**: `https://mcp.honeycomb.io/mcp` (corresponds to `ui.honeycomb.io` UI domain)
  • **EU**: `https://mcp.eu1.honeycomb.io/mcp` (corresponds to `ui.eu1.honeycomb.io` UI domain)
| | Transport | **Streamable HTTP** | | Description | Optional server description. | 4. Select **Next**. 5. On the **Authorization flow** page, select **API key**. 6. Select **Next**. 7. On the **Authorization configuration** page, enter the following: | Field | Value | | - | - | | API Key Name | Human-friendly label, such as `honeycomb-mcp` | | API Key Header | `Authorization` | | API Key Value | `Bearer :`. Replace the placeholders with your copied Honeycomb API Key ID and Key Secret. Avoid using any wrapping quotation marks or trailing whitespace. Example using placeholder credentials: `Bearer hcmk_01abc23def45ghi67jkl:8mn9opq0rst1uvw2xyz3abc4def5ghi6j` | 8. Review and submit. **3. Enable Honeycomb in an agent space** Enable the Honeycomb MCP server in each agent space that should use it. 1. In the AWS DevOps Agent console, from the agent spaces page, select an agent space, then select **View details**. 2. Select the **Capabilities** tab. 3. Locate the **MCP Servers** section. 4. Select **Add**. 5. Select the Honeycomb registration you want to enable. 6. Select **Next**. 7. Review and select **Save**. If you want to give the agent space access to more than one Honeycomb team, repeat this step to enable additional registrations in the same agent space. **4. Verify the configuration** Open the agent through **Operator access** on the agent space page and send the following prompt: ```text theme={} List the available Honeycomb teams and environments. ``` You should receive a response naming your Honeycomb team and its environments, which confirms that the registration and the credential are both correct. > [!TIP] > > If the agent reports that it can't reach Honeycomb, or that authorization failed, refer to the [Troubleshooting](#troubleshooting) section. ## Set up investigation triggering Set up investigation triggering so a Honeycomb Trigger or SLO burn alert can start an AWS DevOps Agent investigation automatically, without anyone needing to notice the alert and kick one off manually. **1. Generate a webhook** Generate a webhook so Honeycomb has a destination to send alerts to, and a credential to authenticate the request. 1. In the AWS DevOps Agent console, from the agent spaces page, select your agent space, then select **View details**. 2. Select the **Capabilities** tab. 3. In the **Webhook** section, select **Configure**. 4. Select **Generate webhook**. 5. For **Webhook authentication type**, choose **API key**. 6. Copy the webhook endpoint URL and the API key. > [!WARNING] > > The API key can't be retrieved later. > If you lose it, remove the credentials and generate new ones. To review the general webhook request format and payload schema, visit [Invoking DevOps Agent through Webhook](https://docs.aws.amazon.com/devopsagent/latest/userguide/configuring-integrations-and-knowledge-invoking-devops-agent-through-webhook.html). **2. Create the webhook integration in Honeycomb** Create a webhook integration in Honeycomb to connect the webhook you generated in the previous step to your Triggers and SLO burn alerts. To learn more about how webhook recipients work, visit [Send Alerts to Webhooks](/notify/webhooks/). 1. Create the integration. 1. In Honeycomb, select **Account** > **Team Settings** from the navigation menu. 2. Select the **Integrations** view. 3. Locate **Trigger and SLO Recipients** and select **Add Integration**. 4. Enter integration details: | Field | Value | | - | - | | Provider | **Webhook** | | Name | Human-readable name, such as `aws-devops-agent`. This name appears in the **Recipient** dropdown when you attach it to a Trigger. | | Webhook URL | Webhook endpoint URL you copied when you generated the webhook. | | Shared Secret | Leave empty. Honeycomb sends the **Shared Secret** value in the `X-Honeycomb-Webhook-Token` header, which AWS DevOps Agent doesn't use. | 2. Add the authorization header. 1. Select the **Headers** tab. 2. Select **Add header**. 3. Add header details: | Field | Value | | - | - | | Name | `Authorization` | | Value | `Bearer `. Replace the placeholder with the API key you copied when AWS DevOps Agent generated the webhook. Avoid using any wrapping quotation marks or trailing whitespace. Example using placeholder credentials: `Bearer 01abc23def45ghi67jkl` | 3. Add the payload template. 1. Select the **Payload** tab. 2. Toggle the **Enable** switch on for **Triggers**. A webhook can be used only with an alert type whose payload is enabled. 3. Replace the contents of the text area with this template: ```json theme={} { "eventType": "incident", "incidentId": "honeycomb-{{ .Alert.InstanceID }}", "action": "created", "priority": "HIGH", "title": {{ printf "[%s] %s" .Environment .Name | toJson }}, "description": {{ toJson .Alert.Description }}, "service": "honeycomb" } ``` > [accordion] AWS field to Honeycomb value mapping > > | AWS webhook field | Honeycomb template value | Description | > | - | - | - | > | `eventType` | The literal string `incident` | Required constant. | > | `incidentId` | `honeycomb-{{ .Alert.InstanceID }}` | `.Alert.InstanceID` identifies a single firing of a Trigger. Repeated deliveries carrying the same value deduplicate into one investigation. | > | `action` | The literal string `created` | Map `.Alert.Status` elsewhere; its values are `TRIGGERED` and `OK`, which aren't valid `action` values. | > | `priority` | One of `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, or `MINIMAL` | To send different priorities, create one webhook integration per priority level (for example, `devops-agent-critical` and `devops-agent-high`) and select the matching integration as the recipient on each Trigger. | > | `title` | `{{ printf "[%s] %s" .Environment .Name \| toJson }}` | The Honeycomb environment and Trigger name. Pass through `toJson` because Trigger names can contain quotation marks that would otherwise break the JSON. | > | `description` | `{{ toJson .Alert.Description }}` | Describes which groups or values caused the alert to fire. Pass through `toJson` because `.Alert.Description` contains newlines that would otherwise break the JSON. | > | `timestamp` | Omit | Optional. AWS DevOps Agent records the time it receives the event. | > | `service` | A literal service name | Optional. A static string identifying the source, such as `honeycomb` or your service's name. | > | `data` | Honeycomb context variables | Optional. Everything in `data` passes to the agent as the original event. | > > To review the full list of available variables, visit [Custom Webhook Variables](/notify/webhooks/variables/). > To review `toJson` and other transformations, visit [Custom Webhook Functions](/notify/webhooks/functions/). 4. Select **Add**. > [!TIP] > > To configure SLO burn alerts too, enable the **Budget Rate Burn** and **Exhaustion Time Burn** payload types and adapt the Go template using the variables for those alert types. **3. Add the webhook as a Trigger Recipient** Add the webhook you created as a Recipient on each Trigger whose alerts should start an investigation. 1. In Honeycomb, select **Triggers** from the navigation menu. 2. Select an existing Trigger, or select **New Trigger**. For the full trigger creation flow, including how to define the query and alert condition, visit [Create a Trigger](/notify/triggers/create/). 3. In the **Recipients** section, select **Add Recipient**. 4. From the **Recipient** dropdown, select your webhook integration. 5. Select **Add**, then select **Save Trigger**. > [!TIP] > > Make sure the Trigger's **Description** field is filled in; this will help the agent as well as your team. > Because the field is delivered in the payload and reads as investigation context, you should state what the Trigger monitors, why it exists, and where to look first. **4. Verify the configuration** Select **Test** in the Trigger editor and confirm the following: * Honeycomb reports that the delivery succeeded. A `403 Forbidden` response points to a problem with the `Authorization` header. * An investigation starts in your agent space. A `200` response without an investigation means the payload was accepted and then failed validation. The most common causes are a `priority` value that isn't one of the five literal strings, and a free-text field interpolated without `toJson`. To troubleshoot webhook delivery in general, visit [Invoking DevOps Agent through Webhook](https://docs.aws.amazon.com/devopsagent/latest/userguide/configuring-integrations-and-knowledge-invoking-devops-agent-through-webhook.html). ## Troubleshooting If AWS DevOps Agent isn't behaving as expected, check the symptom against the likely cause before opening a support case. ### Telemetry introspection Most connection problems trace back to how the API key was entered during registration, not the key itself. #### "Invalid input" error when saving the authorization configuration This happens when the full header string, rather than just the header name, was entered in the **API Key Header** field. Enter `Authorization` alone in that field, and move the rest of the value to **API Key Value**. #### Registration saves, but the agent reports it can't reach Honeycomb The **API Key Value** is malformed. Confirm the value is `Bearer :`: both halves present, joined by a colon, with a single space after `Bearer` and no wrapping quotation marks or whitespace. #### Agent authenticates, but reports no environments The key is missing the **Environments (Read)** scope, or it belongs to a different Honeycomb team than expected. Check the key's scopes in Honeycomb, and confirm which team issued it. #### Agent lists environments, but returns no data for a service The service isn't sending traces to the environment the key can see, or the query window predates the data. Confirm in the Honeycomb UI that the dataset holds spans for the time range in question. #### Requests fail from an EU-hosted team The registration used the US endpoint instead of the EU one. Re-register using `https://mcp.eu1.honeycomb.io/mcp`. To rotate the credential: 1. Create a new Management API key in Honeycomb. 2. Edit the registration's authorization configuration with the new value. 3. Verify with the same prompt used during setup. 4. Delete the old key in Honeycomb. ### Trigger investigations Most delivery problems either get an explicit rejection, like a `403`, or fail silently with no error at all, so check the response code before assuming the payload itself is wrong. #### Honeycomb reports "403 Forbidden" on every delivery The `Authorization` header sent with the webhook doesn't match what AWS DevOps Agent expects. Delete the header on the **Headers** tab and re-enter it as `Bearer `. #### "403 Forbidden" persists after you re-enter the header The webhook credentials were removed or regenerated on the AWS DevOps Agent side, or the endpoint URL doesn't match the webhook that was generated. Regenerate the credentials in the **Webhook** section of the **Capabilities** tab, then update both the URL and the header in Honeycomb. > [!NOTE] > > Honeycomb doesn't retry `403` responses, so correcting the header only takes effect on the next delivery. > Use **Test** in the Trigger editor to confirm the fix instead of waiting for a real alert to fire. #### A `200` response comes back, but no investigation starts Honeycomb delivered the payload successfully, but AWS DevOps Agent rejected it during validation. This usually means the `priority` value isn't one of the five literal strings (`CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `MINIMAL`), or a free-text field like `title` or `description` was interpolated into a quoted string instead of passed through `toJson`, producing invalid JSON. Confirm the `priority` value on the **Payload** tab matches one of the five literal strings, and check any free-text field for missing `toJson` wrapping. > [!WARNING] > > `title` and `description` must pass through `toJson` and stay unwrapped by quotation marks. #### Deliveries fail intermittently with no clear pattern Honeycomb expects a response within 15 seconds and retries a delivery only for a `408`, `502`, a `429` or `503` carrying a `Retry-After` header, or a connection-level failure such as a refused connection. If AWS DevOps Agent is slow to acknowledge the request, or returns any other status while under load, the delivery fails without a retry. Make sure the webhook endpoint acknowledges the request quickly and handles any slower work asynchronously. #### A repeated alert doesn't start a new investigation Deliveries within the same alert cycle carry the same `incidentId`, so AWS DevOps Agent treats them as updates to the existing investigation instead of starting a new one. This is expected behavior; a new investigation starts when the Trigger recovers and fires again. #### The webhook integration doesn't appear as an option on an SLO burn alert Only the **Triggers** payload type is enabled on the integration, and a webhook can only be used with alert types whose payload is configured. Enable the **Budget Rate Burn** or **Exhaustion Time Burn** payload on the **Payload** tab. To rotate the webhook API key, remove the existing credentials in the **Webhook** section of the **Capabilities** tab, generate new ones, and update the `Authorization` header in Honeycomb. Requests succeed again once the new header is saved. #### An investigation starts, then gets cancelled immediately This usually means your AWS account has hit its monthly investigation limit. Contact your AWS account team to request a rate limit change. ## Removing the integration Honeycomb connects at two levels: the agent space level and the account level. To remove it completely, remove it from all agent spaces first, then unregister it. The webhook is a separate credential; remove each part you configured. **1. Remove the Honeycomb webhook integration** Delete the integration in Honeycomb to remove it from every Trigger and SLO that used it. 1. In Honeycomb, select **Account** > **Team Settings** from the navigation menu. 2. Select the **Integrations** view. 3. Locate the **Trigger and SLO Recipients** section. 4. Find your webhook integration, then select **Edit**. 5. In the form editor, select **Remove**. **2. Remove the webhook credentials** Remove the webhook credentials to stop Honeycomb alerts from triggering new investigations. 1. In the AWS DevOps Agent console, from the agent spaces page, select the agent space, then select **View details**. 2. Select the **Capabilities** tab. 3. In the **Webhook** section, select **Configure**. 4. Choose **Remove**. > [!TIP] > > To resume triggering investigations, generate new credentials in the **Webhook** section and update the `Authorization` header in Honeycomb. **3. Remove Honeycomb from each agent space** Remove the registration from an agent space to stop that space from querying Honeycomb, without affecting other agent spaces or the account-level registration. 1. In the AWS DevOps Agent console, from the agent spaces page, select the agent space, then select **View details**. 2. Select the **Capabilities** tab. 3. Locate the **MCP Servers** section. 4. Select your Honeycomb registration, then select **Remove**. Repeat for every agent space where the registration is enabled. **4. Deregister from the account** Once no agent space is using Honeycomb, deregister Honeycomb as an available MCP server for the entire account. 1. In the AWS DevOps Agent console, select **Capability Providers** from the side navigation. 2. Locate the **Currently registered** section. 3. Check that the agent space count is zero. If it isn't, repeat the previous step in your other agent spaces. 4. Select your Honeycomb registration, then choose **Deregister** from the **Actions** menu. **5. Delete the Honeycomb credential** Deregistering the MCP server doesn't revoke the credential it used, so delete the Management API key in Honeycomb as a separate, final step. 1. In Honeycomb, select **Account** > **Team Settings** from the navigation menu. 2. Select the **API Keys** view. 3. Locate the Management API key you created for this integration and select it. 4. Select **Delete**. 5. In the **Delete Management API Key?** modal, enter the name of the key, then select **Delete**. ## Next steps Continue setting up AWS DevOps Agent with these resources: * [AWS DevOps Agent IAM Permissions](https://docs.aws.amazon.com/devopsagent/latest/userguide/aws-devops-agent-security-devops-agent-iam-permissions.html): Review who can register capability providers in your organization. * [Connecting MCP Servers](https://docs.aws.amazon.com/devopsagent/latest/userguide/configuring-capabilities-for-aws-devops-agent-connecting-mcp-servers.html): See the full range of ways to connect an MCP server to AWS DevOps Agent. * [Connecting to Privately Hosted Tools](https://docs.aws.amazon.com/devopsagent/latest/userguide/configuring-capabilities-for-aws-devops-agent-connecting-to-privately-hosted-tools.html): Configure a private network proxy for AWS DevOps Agent. # Connect to Honeycomb with AWS PrivateLink Source: https://docs.honeycomb.io/integrations/aws-privatelink Send telemetry to Honeycomb over a private AWS network connection without exposing traffic to the public internet using AWS PrivateLink. Ent > [!NOTE] > > This feature is available as part of the [Honeycomb Enterprise plan](https://www.honeycomb.io/pricing/). [AWS PrivateLink](https://aws.amazon.com/privatelink/) lets you create a private connection to Honeycomb's API over AWS networks. ![Comparison of the networking with and without PrivateLink. With PrivateLink, network traffic stays in AWS, and without, it goes over the public internet.](https://mintcdn.com/honeycomb/ZEhop91RpDyv3q2S/_assets/images/aws/privatelink/ComparisonDiagram.png?fit=max\&auto=format\&n=ZEhop91RpDyv3q2S\&q=85\&s=4d631e1c162d4c7f746ad4e3fa887c56) This has the following advantages: * Limits API traffic over the internet as requests to our API server are transparently handled within AWS networks * If your infrastructure relies on outbound firewalls, you can manage access to the Honeycomb API with security groups (or rules on your firewall appliance) * Reduced costs for high volume traffic with [other services on PrivateLink](https://docs.aws.amazon.com/vpc/latest/privatelink/aws-services-privatelink-support). Contact your Honeycomb account team for details. ## Before You Begin Honeycomb must grant access to each AWS account that requires access to the Honeycomb API via AWS PrivateLink. Contact your Honeycomb account team for details. Honeycomb offers AWS PrivateLink to our US instance from the `us-east-1` region and to our EU instance from the `eu-west-1` region. VPCs within each region may access it directly, while outside VPCs can use [VPC Peering](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-peering#vpc-peer-region-example). Honeycomb also offers [cross-region endpoint support](#cross-region-endpoint-support). ## Configuration Using the AWS Console > [!NOTE] > > These instructions configure AWS PrivateLink via the AWS Console. > > Configuration of AWS PrivateLink through infrastructure-as-code tools like [Terraform](https://www.terraform.io/) or [CloudFormation](https://aws.amazon.com/cloudformation/) is recommended but not shown. > Refer to the [Terraform example below](#example-configuration-using-terraform). 1. Visit the [Amazon VPC console](https://console.aws.amazon.com/vpc/) in the appropriate region: 1. US instance: `us-east-1` 2. EU instance: `eu-west-1` 2. From the left navigation, select **Endpoints** and choose **Create endpoint**. ![Display of the AWS VPC console with the Endpoint section open and an arrow pointing at Create Endpoint.](https://mintcdn.com/honeycomb/ZEhop91RpDyv3q2S/_assets/images/aws/privatelink/EndpointConsole.png?fit=max\&auto=format\&n=ZEhop91RpDyv3q2S\&q=85\&s=e21197ef52eacfb3a60c12436757410c) 3. For **Service category**, choose **PrivateLink Ready partner services**. 4. For the **Service name**, enter the name of the service: 1. US instance: `com.amazonaws.vpce.us-east-1.vpce-svc-0878e9afcbb4c4333` 2. EU instance: `com.amazonaws.vpce.eu-west-1.vpce-svc-077ead63dd7ebe330` 5. If you are establishing the endpoint from a different region than the Honeycomb instance it will run in, check the **Enable Cross Region endpoint** box, and specify the right region 1. US instance: `us-east-1` 2. EU instance: `eu-west-1` 6. Select **Validate**. ![Display of the Endpoint Configuration screen with the service category and service name filled in.](https://mintcdn.com/honeycomb/ZEhop91RpDyv3q2S/_assets/images/aws/privatelink/EndpointConfiguration.png?fit=max\&auto=format\&n=ZEhop91RpDyv3q2S\&q=85\&s=2efa3699e94a089110c8fca9a6d9d77e) If the service fails to validate, reach out to your Honeycomb account team. ![Endpoint validation with the message: Service name could not be verified.](https://mintcdn.com/honeycomb/ZEhop91RpDyv3q2S/_assets/images/aws/privatelink/FailedEndpoint.png?fit=max\&auto=format\&n=ZEhop91RpDyv3q2S\&q=85\&s=12fab0a3f00cbfd9de86fecdc912f294) 7. From the **Select a VPC** list, select the VPCs that contain the services sending traffic to Honeycomb. 8. From the **Additional settings** dropdown, ensure that **Enable DNS name** is enabled. [This requires that "Enable DNS hostnames" and "Enable DNS support" are enabled for this VPC](https://docs.aws.amazon.com/vpc/latest/privatelink/concepts). 9. Select one subnet per Availability Zone that the PrivateLink Endpoint will be created in. This subnet must contain your services or the ability to route to all subnets where your services are run. 10. Select a security group that allows inbound access on port `443` from your VPC's network block, such as `10.0.0.0/8`. If you do not see a security group, you may need to create one. 11. Choose **Create endpoint**. The Endpoint console shows a "Pending" status until it is "Available." Once available, your infrastructure transparently sends data through the connection. Refer to the AWS documentation on [Interface Endpoints](https://docs.aws.amazon.com/vpc/latest/privatelink/interface-endpoints) for more details about endpoint configuration. ## Cross-Region Endpoint Support Cross-Region endpoints are supported in the following regions: * `af-south-1` * `ap-east-1` * `ap-northeast-1` * `ap-northeast-2` * `ap-northeast-3` * `ap-south-1` * `ap-south-2` * `ap-southeast-1` * `ap-southeast-2` * `ap-southeast-3` * `ap-southeast-4` * `ca-central-1` * `eu-central-1` * `eu-central-2` * `eu-north-1` * `eu-south-1` * `eu-south-2` * `eu-west-1` * `eu-west-2` * `eu-west-3` * `me-central-1` * `me-south-1` * `sa-east-1` * `us-east-1` * `us-east-2` * `us-west-1` * `us-west-2` ## Example Configuration Using Terraform ```terraform theme={} resource "aws_vpc_endpoint" "honeycomb" { vpc_id = aws_vpc.main.id vpc_endpoint_type = "Interface" service_name = "com.amazonaws.vpce.us-east-1.vpce-svc-0878e9afcbb4c4333" service_region = "us-east-1" # only specify if going cross region from yours subnet_ids = data.aws_subnets.private.ids security_group_ids = [ aws_security_group.honeycomb_private_endpoint.id, ] private_dns_enabled = true } data "aws_subnets" "private" { filter { name = "vpc-id" values = [aws_vpc.main.id] } } resource "aws_security_group" "honeycomb_private_endpoint" { name = "honeycomb_private_endpoint" description = "Traffic to Honeycomb endpoint" vpc_id = aws_vpc.main.id ingress { description = "TLS from VPC" from_port = 443 to_port = 443 protocol = "tcp" cidr_blocks = [aws_vpc.main.cidr_block] ipv6_cidr_blocks = [aws_vpc.main.ipv6_cidr_block] } egress { from_port = 0 to_port = 0 protocol = "-1" cidr_blocks = ["0.0.0.0/0"] ipv6_cidr_blocks = ["::/0"] } tags = { Name = "honeycomb_private_endpoint" } } ``` ## Monitoring the PrivateLink Endpoint AWS captures metrics for each VPC endpoint. These metrics are accessible through the AWS Console and published to [CloudWatch](https://docs.aws.amazon.com/vpc/latest/privatelink/privatelink-cloudwatch-metrics). Learn how to [send AWS CloudWatch metrics to Honeycomb](/integrations/metrics/aws-cloudwatch/). From the AWS Console: 1. Visit the [Amazon VPC console](https://console.aws.amazon.com/vpc/) in the appropriate region: 1. US instance: `us-east-1` 2. EU instance: `eu-west-1` 2. From the left navigation, select **Endpoints** and choose the endpoint ID. 3. Select the **Monitoring** tab. # Generate Traces from Build Pipelines Source: https://docs.honeycomb.io/integrations/build-pipelines Generate distributed traces from your CI/CD build pipelines using Honeycomb's Buildevents tool and analyze build performance in Honeycomb. Use Honeycomb to instrument your CI/CD build pipelines and generate distributed traces that give you visibility into build performance, test duration, and pipeline failures. Honeycomb's [`buildevents`](https://github.com/honeycombio/buildevents) generates distributed traces from work in a build pipeline. It is installed during the setup phase and invoked as part of each step to visualize the build as a trace in Honeycomb. The resulting trace represents the entire build. It includes spans for each section and subsection of the build, representing groups of actual commands that are run. The duration of each span is how long that stage or specific command took to run and includes whether or not the command succeeded. The following is an example trace that shows a build that ran on CircleCI. It goes through starting the trace to building services to running tests. Each span has a custom and standard context representing each part of the build pipeline. ![CircleCI Tracing View](https://mintcdn.com/honeycomb/TbuCbl4WLlWBh-kz/_assets/images/buildevents/buildevents-trace-example.png?fit=max\&auto=format\&n=TbuCbl4WLlWBh-kz\&q=85\&s=77908855fc69cca051131d8de5df06e0) > [!TIP] > > To use your pipeline telemetry to gate deployments, use Buildevents traces as the data source for > [GitHub Deployment Protection Rules](/integrations/github-deployment-protection-rules/). ## Before You Begin Determine if your build environment is supported by `buildevents`: * Travis CI * CircleCI * GitLab CI * Buildkite * Jenkins X * Google Cloud Build * GitHub Actions * Bitbucket Pipelines ## Installation Using `buildevents` requires the following: * Installation of the [`buildevents` binary](https://github.com/honeycombio/buildevents) within the build environment. * Configuration of the `BUILDEVENT_APIKEY` and `BUILDEVENT_DATASET` environment variables. For more information, refer to the [complete environment variables list](https://github.com/honeycombio/buildevents#environment-variables). Use the step-by-step guides below for **CircleCI**, **GitHub Actions**, or **GitLab**. Each guide provides a hands-on walkthrough on how to use and configure the `buildevents` for a specific CI/CD build environment against a sample app with a predefined build pipeline. Each guide shows how to: * Use `buildevents` for the respective build * Iteratively construct a trace by adding more incremental visibility to each step * Use the Honeycomb UI to visualize and debug your build pipeline * Avoid common pitfalls when working with the CI tool and Honeycomb's `buildevents` > [card] [CircleCI](https://www.honeycomb.io/resources/optimize-cicd-pipeline-performance-with-circleci) > [card] [GitHub](https://www.honeycomb.io/resources/github-workflow-optimize-pipeline-performance) > [card] [GitLab](https://www.honeycomb.io/resources/optimize-cicd-pipeline-performance-with-gitlab) > [!NOTE] > > If using a provider **not** listed in a guide above, you can still use the `buildevents` binary by following the steps described in the [`buildevents` repository](https://github.com/honeycombio/buildevents). ## Generate Queries and Boards for CI/CD Honeycomb provides a Terraform module, which automatically generates a set of [queries](/investigate/query/build/) and [boards](/observe/boards/) within Honeycomb for CI/CD integrations. Use this "Honeycomb Buildevents Starter Pack" as a starting point when exploring your pipeline data. To install, refer to the [Terraform module README](https://registry.terraform.io/modules/honeycombio/buildevents-starter-pack/honeycombio/latest). Installation requires a minimal configuration added to a `.tf` file and setting an API key environment variable. # Community Contributions Source: https://docs.honeycomb.io/integrations/community-contributions # Connect Honeycomb and Embrace Source: https://docs.honeycomb.io/integrations/embrace/overview Connect Honeycomb and Embrace to correlate backend traces with mobile and web user sessions. ## Overview Embrace is a mobile and web observability platform that captures user session data, including network requests, ANRs, hangs, crashes, Core Web Vitals, and rage taps. Honeycomb and Embrace together give your engineering teams complete visibility across the full request path, from the user's device to your backend services and back. The integration connects the two using standard OpenTelemetry trace context, so the full request path appears in a single Honeycomb trace view. When something goes wrong, you can move between backend traces and user session context. ## How it works The integration uses two mechanisms to connect Honeycomb and Embrace: network spans forwarding and W3C trace context propagation. ### Network spans forwarding Embrace automatically attaches a W3C `traceparent` header to every network request your app makes. The Embrace SDK forwards a span representing that network call directly to Honeycomb via OTLP, using an exporter configured in your SDK setup. ```mermaid actions={false} theme={} flowchart LR subgraph Client["Client"] mobile["Mobile App"] web["Web App"] end subgraph SDK["Embrace SDK"] embrace["Embrace"] otel["OpenTelemetry"] embrace --- otel end subgraph Platform["Embrace Platform"] dashboard["Embrace Dashboard"] end honeycomb["Honeycomb"] mobile --> SDK web --> SDK SDK -->|"Frontend\nTelemetry\n(OTLP)"| Platform SDK -->|"Network\nSpans\n(OTLP)"| honeycomb Platform -->|"Metrics\n(OTLP)"| honeycomb ``` Each span carries both standard OpenTelemetry attributes and Embrace-specific attributes prefixed with `emb.`. Your backend services pick up the incoming `traceparent` header and continue the trace using their existing OpenTelemetry instrumentation. Because the client span and the backend spans share the same trace ID, Honeycomb stitches them together automatically in the trace view. The forwarded client span appears at the top of the waterfall with the backend service spans below it. ### Embrace attributes in Honeycomb Every span Embrace forwards to Honeycomb includes mobile and web context that your backend instrumentation cannot provide on its own. These attributes include: * `emb.app_version`: Version of the app that made the request * `emb.device_id`: ID of the device that made the request * `emb.device_model`: Device model * `emb.os_version`: Operating system version * `emb.country_iso`: Country where the request originated * `emb.dashboard_session`: Direct link to the user's session in Embrace Because these attributes arrive as standard span attributes, you can use them in Honeycomb queries, BubbleUp analysis, and trigger conditions just like any other dimension. ### Session metrics When you configure metrics forwarding, Embrace also sends session and network metrics to Honeycomb: * `exceptions`: Unhandled exception count per session * `logcount`: Log event count per session * `network.request`: Total network requests * `network.successful.request`: Successful network requests * `network.successful.request.duration.total`: Total duration of successful network requests * `root.span.count`: Root span count per session * `root.span.duration.total`: Total duration of root spans * `session.count`: Total session count * `session.duration.total`: Total session duration * `span.count`: Total span count per session * `span.duration.total`: Total span duration * `user.flow.count`: User flow count per session ### Session deep links When a forwarded span includes `emb.dashboard_session`, Honeycomb renders it as a clickable link in the span detail view. Selecting it opens the exact user session in Embrace, with the network entry for that request already selected in the session timeline. ### BubbleUp on mobile dimensions Because Embrace attributes are first-class span dimensions in Honeycomb, BubbleUp can use them to surface patterns in your trace data. If a latency spike or error rate is concentrated in a specific app version, device model, or OS version, BubbleUp will identify it alongside your backend dimensions. ## What you can do Once you have configured the integration, you can: * Pivot from a backend trace to originating user session in Embrace * Use BubbleUp to identify whether a latency issue is concentrated in a specific app version, device, or OS * Query Embrace attributes alongside your backend dimensions in any Honeycomb query * Confirm user impact before escalating a backend incident * Monitor Embrace session metrics, including crash rates, ANR rates, session counts, and network request performance, alongside your backend trace data For step-by-step workflows, visit our use case guides: * [Investigate backend latency](/integrations/embrace/use-cases/investigate-backend-latency) * [Diagnose mobile ANRs and hangs](/integrations/embrace/use-cases/diagnose-mobile-anrs) * [Investigate with Embrace and Honeycomb MCP](/integrations/embrace/use-cases/investigate-with-mcp) # Diagnose Mobile ANRs and Hangs Source: https://docs.honeycomb.io/integrations/embrace/use-cases/diagnose-mobile-anrs Use Embrace and Honeycomb together to move from a mobile ANR alert to the exact backend span responsible, without escalating to the backend team blind. ## Overview When Embrace alerts on a spike in Application Not Responding (ANR) errors or hangs, the first question is whether the cause is on the client or upstream. Use Embrace's session data and Honeycomb's trace analysis together to answer that question quickly and hand off to the right team with evidence. ## Before you begin Before you begin, make sure you have: * Configured the Embrace integration and are forwarding network spans to Honeycomb. * Configured an Embrace alert on ANR rate or hang rate for the relevant screen or flow. ## Investigate the ANR spike ### 1. Open the Embrace alert When Embrace fires a critical alert (for example, ANR rate on a checkout screen crossing a threshold), the notification includes a direct link to the alert detail in Embrace. Open it to see the affected user count, the screen, and the platform breakdown. ### 2. Identify the pattern In Embrace, open the ANR issue breakdown. Embrace groups ANR sessions by stack group and shows what was blocking the main thread at the time of the freeze. If the top cause is **HTTP request in-flight**, the issue is upstream: the app was waiting on a network response when the OS killed the activity. This rules out client-side causes like JSON parsing, disk I/O, or animation jank, and points the investigation toward the backend. ### 3. Open a representative session From the issue breakdown, select a representative session to open the session timeline. The timeline shows the sequence of user actions leading up to the ANR: the screens visited, the taps made, and the network request that was in-flight when the hang occurred. The hung network request appears in the timeline as a span with a long duration and no response status, marking the point where the OS gave up waiting. ### 4. Find the trace ID in the forwarded span The `traceparent` value on the forwarded span is the bridge between Embrace and Honeycomb. It contains the trace ID you need to find the matching backend trace. 1. In the session timeline, expand the hung network request to view its span details. If Embrace forwarded this span to Honeycomb, the expanded row shows a **Forwarded** badge and the full W3C `traceparent` value. The `traceparent` value follows the format `00---`. The trace ID is the second segment: the 32-character hex value between the first and second hyphens. 2. Copy the trace ID. You will use it to find the matching trace in Honeycomb. ### 5. Find the backend trace in Honeycomb With the trace ID in hand, you can find the exact backend trace in Honeycomb and walk the full request waterfall to identify where the time was spent. In Honeycomb: 1. Open Query Builder and filter for `trace.trace_id = `, replacing `` with the value you copied from Embrace. The query returns the matching backend trace. 2. Select the **Traces** view, then the **Trace ID** to open the trace waterfall. The waterfall representation shows the backend service spans, with the Embrace-forwarded client span at the top. 3. Examine the waterfall to find where the time was spent. Look for spans with unexpectedly long durations, error statuses, or external dependency calls that timed out. ### 6. Run BubbleUp to confirm the scope From the waterfall, open the slow span in Query Builder and run BubbleUp to confirm whether this is an isolated event or a broader pattern. BubbleUp surfaces the dimensions that differentiate the slow spans (for example, `aws.region` and `dependency`), so you can confirm whether the issue is concentrated in a specific region or external service. ## Hand off with evidence With the BubbleUp results, you have a specific, falsifiable bug to file: * The trace ID * The name of the hung backend span * The external dependency or region responsible * The affected user count from Embrace File the ticket against the owning backend team with the Honeycomb trace link and the Embrace session link. The mobile investigation is complete: you have confirmed the cause is upstream, identified the responsible team, and provided the evidence they need to reproduce and fix it. # Investigate Backend Latency Source: https://docs.honeycomb.io/integrations/embrace/use-cases/investigate-backend-latency Use Honeycomb and Embrace together to move from a backend latency trigger to confirmed user impact in a single investigation. ## Overview When a Honeycomb trigger fires on a backend service, the immediate question is whether real users are affected and how badly. This workflow takes you from a Honeycomb trigger to a confirmed user impact assessment in Embrace, without leaving your investigation context. ## Before you begin Before you begin, make sure you have: * Configured the Embrace integration and are forwarding network spans to Honeycomb. * A Honeycomb trigger on a backend service that includes mobile or web traffic. ## Investigate the trigger ### 1. Open the triggering query When a Honeycomb trigger fires, the notification includes a direct link back to the triggering query in Honeycomb. Select that link to open the query in Query Builder. The query shows the condition that fired, along with the current state of the data. If the trigger fired on `p95(duration_ms)`, the heatmap shows where the outlier band is concentrated. ### 2. Run BubbleUp to identify the affected slice From the heatmap, draw a selection around the outlier band to run BubbleUp. BubbleUp compares the selected events against the baseline and surfaces the dimensions that differ most between them. Look for `emb.*` attributes in the BubbleUp results. If Embrace-forwarded spans are present in the outlier population, you will see dimensions like `emb.app_version` or `emb.device_model` ranking highly. This indicates the latency issue is concentrated in a specific mobile or web client slice. ### 3. Open the trace detail view From the heatmap or query results, select a point in the outlier region and select **View trace**. The trace detail view opens with the waterfall representation of the trace. If the trace includes an Embrace-forwarded span, it appears at the top of the waterfall, labeled as forwarded via Embrace, with the backend service spans below it. The forwarded span carries the full set of `emb.*` attributes in the trace sidebar, including `emb.app_version`, `emb.device_model`, and `emb.dashboard_session`. ### 4. Pivot to the Embrace session In the trace sidebar, select the `emb.dashboard_session` value. Selecting it opens the exact user session in Embrace, with the network entry for the request already selected in the session timeline. In Embrace, the session timeline shows the full user journey around the slow request: the screens visited, the taps made, and any errors or rage taps that followed. The aggregate impact view shows how many users are affected, what their UX score is, and whether checkout conversion or other key flows are degraded. ## Make the call With the Embrace session data in hand, you have what you need to decide how to respond: * If the impact view shows a large affected user count, a poor cohort UX score, or a significant conversion drop, escalate the incident and notify the relevant teams. * If the impact is limited to a handful of users, an isolated carrier issue, or a specific edge-case device, you can close the investigation with confidence rather than paging additional teams. # Investigate with Embrace and Honeycomb MCP Source: https://docs.honeycomb.io/integrations/embrace/use-cases/investigate-with-mcp Use the Embrace and Honeycomb MCP servers together to run end-to-end observability investigations from your AI assistant. ## Overview Both Honeycomb and Embrace provide MCP servers that give AI assistants direct access to your observability data. When you connect both servers to the same agent, you can investigate the full request path—from mobile session data in Embrace to backend traces in Honeycomb—without leaving your development environment. ## Before you begin Before you get started, make sure you have: * Configured the Embrace integration and are forwarding network spans to Honeycomb. * [Configured Honeycomb MCP for your AI assistant](/integrations/mcp/configuration-guide). * [Configured Embrace MCP for the same AI assistant](https://embrace.io/docs/mcp/). * [Installed Honeycomb Agent Skills](/integrations/agent-skills) for your AI assistant. > [!TIP] > > Before running a combined investigation, confirm both servers are connected by asking your agent: "List the tools available from Honeycomb MCP and Embrace MCP." > If either server is missing, revisit [Agent Skills](/integrations/agent-skills) or [Embrace MCP](https://embrace.io/docs/mcp/) setup before continuing. ## How it works With both MCP servers connected, your AI assistant has access to tools from each platform simultaneously. Honeycomb MCP gives your agent access to backend traces, BubbleUp analysis, and query execution. Embrace MCP gives it access to mobile session data, crash and ANR details, and network endpoint performance. The `trace.id` and `emb.dashboard_session` attributes on forwarded spans connect the two: your agent can follow a trace ID from Honeycomb into the originating Embrace session, or follow a session ID from Embrace into the corresponding backend trace in Honeycomb. Your agent handles the pivot between servers automatically within a single conversation. You don't need to copy IDs or switch tools yourself. ## Example investigations The examples below are illustrative. Adapt the service names, app versions, and time windows to match your environment. ### Triage a backend latency spike with user context Ask your agent to investigate a latency spike in a specific service and determine whether real users are affected: > "There's a latency spike in the checkout-api service in the last hour. Use Honeycomb to identify which endpoint and dimension is responsible, then use Embrace to tell me how many users are affected and what their experience looked like." The agent can use Honeycomb MCP to run BubbleUp on the slow spans, identify the top differentiating dimension, and retrieve a representative trace ID. It can then use Embrace MCP to look up the session associated with that trace and report on user impact, UX score, and conversion data. ### Diagnose a mobile ANR with a backend root cause Ask your agent to investigate an ANR spike and determine whether the cause is on the client or upstream: > "Embrace is showing an ANR spike on the checkout screen in the last 30 minutes. Find out what's blocking the main thread and whether the backend is responsible." The agent can use Embrace MCP to retrieve the ANR breakdown, identify the in-flight network request, and extract the `trace.id` from the forwarded span. It can then use Honeycomb MCP to open that trace, walk the waterfall, and run BubbleUp to name the culprit backend service or dependency. ### Check the health of a release across both platforms Ask your agent to compare mobile and backend health before and after a deployment: > "We deployed version 7.15.0 of the mobile app this morning. Compare crash rates, ANR rates, and backend latency for checkout-api before and after the deploy." The agent can use Embrace MCP to retrieve crash and ANR metrics segmented by app version, and Honeycomb MCP to query backend latency for the same time window, surfacing any correlated degradation. ## Writing effective prompts The more context you give your agent, the less time it spends figuring out where to look. Include: * The service name, dataset, or environment in Honeycomb * The app name or app ID in Embrace * The time window you want to investigate * The specific metric or signal you are concerned about To learn more about prompting agents effectively with Honeycomb MCP, visit [Honeycomb MCP Use Cases](/integrations/mcp/use-cases). # Gate Deployments with GitHub Actions Deployment Protection Rules Source: https://docs.honeycomb.io/integrations/github-deployment-protection-rules Use Honeycomb query data to automatically gate deployments in GitHub Actions workflows, promoting or blocking based on real telemetry. Beta > [!NOTE] > > This feature is in [beta](/troubleshoot/product-lifecycle/release-stages/#beta), and we would love your feedback! Use Honeycomb query data to automatically gate deployments in your GitHub Actions workflows, promoting or blocking based on real telemetry from your systems. GitHub Actions Deployment Protection Rules are automatic controls that let you use data from external tools to gate deployments in Actions workflows. Honeycomb provides the Honeycomb Deployment Protection Rule that plugs into this framework. For each GitHub environment, you define a Honeycomb query and an allowable threshold that must pass before a deployment proceeds. Because rules are defined in a file in your repository, you can manage your deployment gates as code alongside the rest of your pipeline configuration. You can use the Honeycomb Deployment Protection Rule across a range of deployment scenarios: * Gate deployments based on error rates introduced by the current build * Run automated performance checks in blue/green style deployments * Drive canary release patterns * Check SLI error rates in staging before promoting to production * Prevent automated deployments during an ongoing incident * Ensure deployments are sensitive to the current service status in any environment If you are also instrumenting your build pipelines, you can generate distributed traces with [Buildevents](/integrations/build-pipelines/) and use those traces as the data source for your deployment protection rules. > [!NOTE] > > The Honeycomb Deployment Protection Rule is available to all Honeycomb customers. > However, you must be a [GitHub Enterprise Cloud customer](https://docs.github.com/en/enterprise-cloud@latest/admin/overview/about-github-enterprise-cloud) to use GitHub Actions Deployment Rules. ## How It Works When enabled, the Honeycomb Deployment Protection Rule runs as a check prior to any deployment actions. It determines whether a deployment into the target GitHub environment is allowed to proceed. Honeycomb deployment protection rules consist of a Honeycomb query, a threshold, and an operator (`>`, `<`, or `=`). When a deployment is requested in your Actions workflow, the rule sends its payload to Honeycomb for evaluation, where it asks if the deployment is allowed to proceed. After Honeycomb completes the query evaluation, it returns a pass/fail response. All deployment protection rules are configured in a `.honeycomb.yaml` file that **must be** checked and located in the root directory of your GitHub repository. Otherwise, Honeycomb does not have permission to access this file. The `.honeycomb.yaml` file can contain a configuration block for each GitHub environment that the repository is deployed. ![Diagram of how GitHub Deployment Protection Rules work.](https://mintcdn.com/honeycomb/BJ6WALtaZOXIS47Z/_assets/images/github/how-it-works.png?fit=max\&auto=format\&n=BJ6WALtaZOXIS47Z\&q=85\&s=4f27eb091a02dd536ce8a0cd15abfac6) ## Prerequisites and Limitations * GitHub Actions Deployment Protection Rules are only available to [GitHub Enterprise Cloud customers](https://docs.github.com/en/enterprise-cloud@latest/admin/overview/about-github-enterprise-cloud). * Completing the GitHub App installation requires a **GitHub Owner** to grant authorization and allows Honeycomb access to your GitHub organization and its repositories. * Linking GitHub to a Honeycomb team requires [**Honeycomb Team Owner** permissions](/configure/teams/manage-permissions/) in Honeycomb. * The GitHub user who installs the App must also be the person who links it to a Honeycomb team. * [Maximum Honeycomb query limits](#maximum-query-limits) exist. * Deployment protection rules only work with GitHub Actions workflows that use [GitHub environments as part of deployments](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment). ## Installation and Setup ### Install the Honeycomb GitHub App The Honeycomb Deployment Protection Rule is provided via the Honeycomb GitHub App. Canvas reads GitHub through this same installation. To learn more, visit [Connect GitHub to Canvas](/investigate/canvas/github/). To install: 1. Navigate to the Honeycomb GitHub App. 1. [If using the Honeycomb US instance accessed via ui.honeycomb.io](https://github.com/apps/honeycomb-io/) 2. [If using the Honeycomb EU instance accessed via ui.eu1.honeycomb.io](https://github.com/apps/honeycomb-io-eu/) 2. Select **Install**. 3. Then, select which organization to install the Honeycomb GitHub App. > [!NOTE] > > The GitHub App installation flow requires a **GitHub Owner** to grant authorization that allows Honeycomb access to your GitHub organization and its repositories. 4. Authorize the Honeycomb GitHub App to your GitHub organization. An example of requested permissions appears below. ![GitHub app authorization modal](https://mintcdn.com/honeycomb/BJ6WALtaZOXIS47Z/_assets/images/github/github_app_authorization.png?fit=max\&auto=format\&n=BJ6WALtaZOXIS47Z\&q=85\&s=293af882b7facace67532e7642b36f5b) 5. Once the GitHub authorization is complete, you are taken to Honeycomb to continue the installation process. 6. In Honeycomb, select the Honeycomb team to connect. > [!NOTE] > > The Honeycomb team selection flow requires [**Honeycomb Team Owner** permissions](/configure/teams/manage-permissions/) to complete. 7. Then, confirm which team's Honeycomb environments and datasets can be queried from your deployment protection rules. Refer to [Troubleshooting](#troubleshooting) if you encounter any issues during installation. ### Enable the Honeycomb Deployment Protection Rule in Each GitHub Environment After installing the Honeycomb GitHub App, it must be enabled as an environment protection rule for your various GitHub environments. > [!NOTE] > > GitHub Actions Deployment Protection Rules apply at the GitHub environment level, not at the repository level. > Therefore, you **must repeat this step** for each GitHub environment where you wish to use the Honeycomb Deployment Protection Rule. To enable: 1. Navigate to your GitHub repository. 2. Under **Settings** > **Environments**, select the GitHub environment by its name. 3. Next, under **Deployment protection rules**, select the **Honeycomb.io** option. Optionally, select **Allow administrators to bypass configured protection rules** to allow GitHub Owners the ability to [force a deployment](#forcing-a-deployment) when a deployment protection rule is in a failure state. 4. Select **Save Protection Rules** to continue. ![Enable Honeycomb Deployment Protection Rule in GitHub](https://mintcdn.com/honeycomb/BJ6WALtaZOXIS47Z/_assets/images/github/enable-deployment-rules.png?fit=max\&auto=format\&n=BJ6WALtaZOXIS47Z\&q=85\&s=87aa787aa8a2ee8a1fe7575d640f8b53) Refer to GitHub documentation for more about [environment protection rules](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment). ### Configure Honeycomb Deployment Protection Rules You must create a `.honeycomb.yaml` file in the `root` of your repository to configure the queries and thresholds that act as a deployment protection rule for each GitHub environment. The YAML file must have a configuration block for every environment with a deployment protection rule enabled; otherwise, the stage fails. > [!NOTE] > > The `.honeycomb.yaml` file **must be** in the root directory of your repository. > Honeycomb cannot access this file in a subdirectory. If the query defined as a deployment protection rule evaluates within the acceptable threshold, it "passes" and the deployment continues. Otherwise, it "fails" and the deployment is blocked. Honeycomb supports a [query specification](/investigate/collaborate/share-query/define-query-json/) for defining queries via JSON. Queries for Honeycomb deployment protection rules can be composed directly as JSON in your `.honeycomb.yaml` file. Guidance and resources exist for [writing deployment protection queries](#writing-deployment-protection-queries). Below is an example of a standard `.honeycomb.yaml` file. ```yaml theme={} version: 1 honeycomb_team: my-team # the honeycomb team where queries for all deployment protection rules runs deployment_protection_rules: staging: # name of github environment where a deployment occurs queries: - honeycomb_environment: qa # honeycomb environment where the query runs honeycomb_dataset: my-cool-application # (optional, but necessary when using Honeycomb Classic) When left empty, an environment-wide Honeycomb query runs, which is not supported by Honeycomb Classic. spec: &queryspec '{ "time_range": 1800, "calculations": [ { "op": "COUNT" } ], "filters": [ { "column": "status_code", "op": "=", "value": "500" }, { "column": "build_id", "op": "=", "value": ${GITHUB_RUN_ID} # NOTE: when deployment protection rules run, they can map the special GITHUB_RUN_ID variable } ], "filter_combination": "AND" }' threshold: operator: '>' value: 3 production: # name of github environment where a deployment occurs queries: - honeycomb_environment: staging # honeycomb environment where the query runs honeycomb_dataset: my-cool-application # (optional, but necessary when using Honeycomb Classic) When left empty, an environment-wide Honeycomb query runs, which is not supported by Honeycomb Classic. spec: *queryspec # example of a YAML alias to reuse a query spec created for a different deployment protection rule threshold: operator: '>' value: 1 ``` where: * `honeycomb_team` must be the team where queries for all deployment protection rules runs. This is checked against the team authorized when installing the GitHub App. * `GITHUB_RUN_ID` is a special variable interpolated by the GitHub App as the [unique identifier of the GitHub Actions workflow run](https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2022-11-28#get-a-workflow-run). > [!NOTE] > > To configure GitHub Deployment Protection Rules against Honeycomb Classic: > > * Specify `$classic$` as the environment slug > * Specify the dataset (because environment-wide queries are not compatible with Honeycomb Classic) #### Writing Deployment Protection Queries When writing Deployment Protection Queries, remember the following: * **They operate similar to Triggers.** The same queries and thresholds used to define [Triggers](/notify/triggers/) can be used in deployment protection rules. For inspiration, visit our [Trigger Examples](/notify/triggers/examples/). * **Use the Query Builder UI to generate Query Spec JSON.** As an alternative to composing JSON directly, you can use Honeycomb's [Query Builder](/investigate/query/build/) to create the JSON for you. To write a deployment protection query: 1. Compose the query you wish to use as a deployment protection rule in the Query Builder and select **Run Query**. 2. After you are satisfied with the query results that appear, select the three-dot overflow menu, located to the left of Run Query. Then, select **View Query Definition for API**. ![options-query-builder.png](https://mintcdn.com/honeycomb/BJ6WALtaZOXIS47Z/_assets/images/github/options-query-builder.png?fit=max\&auto=format\&n=BJ6WALtaZOXIS47Z\&q=85\&s=c537f55217668e4007c751344217ee92) 3. A modal appears with the Query JSON. Use the copy button to copy the content, and paste it into the `spec` of your `.honeycomb.yaml` file. ![copy-json.png](https://mintcdn.com/honeycomb/BJ6WALtaZOXIS47Z/_assets/images/github/copy-json.png?fit=max\&auto=format\&n=BJ6WALtaZOXIS47Z\&q=85\&s=d406e5c0307147764489cc23025430c8) * **Deployment Protection Queries can be extremely versatile.** The only constraint is that query results must be evaluated against a numeric threshold. Otherwise, deployment protection rules can be used to extract very granular data about the state of your application and its systems. For detailed information on queries, refer to [Honeycomb Query Builder documentation](/investigate/query/build/). ### View the Result of Your Actions Workflow Deployments After being configured and merged into your repository, Honeycomb deployment protection rules runs when a deployment is requested and waits to receive a pass/fail status **before** a deployment can occur to the target GitHub environment. View the results of the Honeycomb deployment protection rules in the [GitHub Actions Workflow run](https://docs.github.com/en/actions/using-workflows/about-workflows#viewing-the-activity-for-a-workflow-run). Examples of passing and failing deployment rules appear below. > [tab] Passing deployment rule example > > ![passing-deployment-rule.png](https://mintcdn.com/honeycomb/BJ6WALtaZOXIS47Z/_assets/images/github/passing-deployment-rule.png?fit=max\&auto=format\&n=BJ6WALtaZOXIS47Z\&q=85\&s=9189e5d3298046be0441c29ca4136862) > [tab] Failing deployment rule example > > ![failing-deployment-rule.png](https://mintcdn.com/honeycomb/BJ6WALtaZOXIS47Z/_assets/images/github/failing-deployment-rule.png?fit=max\&auto=format\&n=BJ6WALtaZOXIS47Z\&q=85\&s=4929a5c70a22d9f50748b34f69024905) Whenever a Honeycomb deployment protection rule runs, it is included in the list of all rules protecting deployments in a particular workflow run. The Honeycomb GitHub App appends a permalink to the exact query results used to protect each environmental deployment during the run. Select that permalink to show the data in Honeycomb that allowed your deployment to pass or fail. If your deployment failed, this link provides a jumping off point to begin your investigation. To re-run a deployment protection rule, you must re-run the GitHub Actions workflow stage(s). ## Troubleshooting ### GitHub App not Authorized If the deployment protection rule fails with "GitHub App not authorized to access Honeycomb team", uninstall and reinstall the [GitHub App](https://github.com/apps/honeycomb-io/). ### Changing the Honeycomb Team Only one Honeycomb team can be configured during installation of the [Honeycomb GitHub App](https://github.com/apps/honeycomb-io/). You cannot change the Honeycomb team where deployment protection rule queries run without re-initializing the authorization flow. To change the Honeycomb team, you must uninstall and reinstall the GitHub App, and select the desired team during the new installation. ### Checking GitHub App Permissions You can use Honeycomb to verify the status of the GitHub App installation. In Honeycomb's left navigation menu, select **Account** and then select **Team settings**. Then, select the **Integrations** tab. Refer to the **Honeycomb + GitHub** section to determine the installation status. ![github-app-integration-page.png](https://mintcdn.com/honeycomb/BJ6WALtaZOXIS47Z/_assets/images/github/github-app-integration-page.png?fit=max\&auto=format\&n=BJ6WALtaZOXIS47Z\&q=85\&s=83d041a9603ef18984790b6232c5ecca) ### Forcing a Deployment GitHub Owners can force a deployment when a deployment protection rule is in a failure state. Ensure you have the [**Allow administrators to bypass configured protection rules** setting enabled](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules) when [enabling the Honeycomb Deployment Protection Rule in your GitHub Environment](#enable-the-honeycomb-deployment-protection-rule-in-each-github-environment) to allow for this. ![admin-config.png](https://mintcdn.com/honeycomb/BJ6WALtaZOXIS47Z/_assets/images/github/admin-config.png?fit=max\&auto=format\&n=BJ6WALtaZOXIS47Z\&q=85\&s=044d5de0bc8797e586268d2c30dd76be) ### Maximum Query Limits * Honeycomb deployment protection rules may only query up to the past 24 hours of data * No more than one Honeycomb query may be defined per GitHub environment in your deployment # Provision and Manage Resources with HashiCorp Terraform Source: https://docs.honeycomb.io/integrations/hashicorp-terraform Use the Honeycomb Terraform provider to programmatically create and manage datasets, triggers, SLOs, boards, and other Honeycomb resources as code. [HashiCorp Terraform](https://www.terraform.io) is an infrastructure automation tool that enables programmatic provisioning and management of resources. ## Honeycomb Terraform Provider The Honeycomb Terraform provider is available through the [Terraform Registry](https://registry.terraform.io/providers/honeycombio/honeycombio/latest/docs). It allows you to codify, create, and manage Honeycomb resources such as Boards, Calculated Fields, SLOs, and Triggers via the Honeycomb API. The [full documentation](https://registry.terraform.io/providers/honeycombio/honeycombio/latest/docs) is in the Terraform Registry. ### Setup 1. Ensure you have [installed Terraform](https://learn.hashicorp.com/tutorials/terraform/install-cli). 2. If you don't yet have one, create a Terraform configuration file. Learn more in the [configuration section](https://registry.terraform.io/providers/honeycombio/honeycombio/latest/docs#example-usage) of the Terraform documentation. 3. Run `terraform init` to fetch the Honeycomb Terraform provider from the [Terraform Registry](https://registry.terraform.io/providers/honeycombio/honeycombio/latest/docs). 4. Start codifying your resources! ## Honeycomb AWS Integration Honeycomb provides a [Terraform module](https://github.com/honeycombio/terraform-aws-integrations) to automate configuration of various AWS services to Honeycomb. Read more about it [here](/integrations/hashicorp-terraform/#honeycomb-aws-integration). # Full Integrations Directory Source: https://docs.honeycomb.io/integrations/honeycomb-integrations-directory # Stream Logs from Fastly Source: https://docs.honeycomb.io/integrations/logs/fastly Stream logs from your Fastly CDN to Honeycomb using Fastly's log streaming feature for deeper visibility into your content distribution system behavior. [Fastly](https://fastly.com) supports [streaming logs](https://docs.fastly.com/guides/streaming-logs/). Send this data to Honeycomb for more insight into the behavior of your content distribution system. ## Configuration To send Fastly logs to Honeycomb, refer to the [Fastly documentation](https://docs.fastly.com/guides/streaming-logs/log-streaming-honeycomb). ## Sampling with VCL Use [Sampling](/manage-data-volume/sample/guidelines/) to reduce data volume in your Honeycomb datasets where you are gathering Fastly data. To implement sampling, we recommend a configuration that uses: 1. A **Logging** rule, which only forwards logs for requests if they are included in the sampled data. 2. **Varnish Configuration Language (VCL) snippet(s)**, which determines if the request should be sampled and at what rate. ### Configure Sampling 1. Update your Fastly configuration to create a logging rule, which forwards requests to Honeycomb only if the `req.http.log_request` local variable is set to `"1"`. ![Fastly logging endpoints](https://mintcdn.com/honeycomb/BJ6WALtaZOXIS47Z/_assets/images/fastly/fastly-logging-endpoints.png?fit=max\&auto=format\&n=BJ6WALtaZOXIS47Z\&q=85\&s=445bfcc7cd66f241a7f89489928e8d3a) 2. Create two **VCL snippets**: 1. **A table of sample rates for status codes** For example, this table describes the number of events which flow through per sampled event based on status code. `1` does not sample at all, `20` samples every 20th event, and so on. To use, copy and adjust the rates in this table based on your projection traffic: ```varnish theme={} table codes {     "200s": "20",     "300s": "5",     "400s": "3",     "500s": "1", } ``` 2. **Code that sets the sample rate based on HTTP status** Use the following code to set the `req.http.log_request` variable (as mentioned in the logging rule) if sampling should be applied: ```varnish theme={} set req.http.samplerate = table.lookup(codes, regsub(resp.status, "^([1-5])..", "\100s"), "1"); if (randombool(1, std.atoi(req.http.samplerate))) { set req.http.log_request = "1"; } else { set req.http.log_request = "0"; } ``` ![Fastly VCL snippet](https://mintcdn.com/honeycomb/BJ6WALtaZOXIS47Z/_assets/images/fastly/fastly-vcl-snippets.png?fit=max\&auto=format\&n=BJ6WALtaZOXIS47Z\&q=85\&s=19a02758c0c716c324f1954d7ae30082) 3. To ensure that the sample rate is included as a property of the JSON event and sent to Honeycomb, add this line at the same level of the `time` and `data` keys: ```varnish theme={} "samplerate": %{req.http.samplerate}V, ``` This line encodes `samplerate` as a top0-level key sent to the Honeycomb API and causes all visualizations rendered by Honeycomb to appear as if **all** of the events, even ones which were sampled out, were sent. You can extend this basic configuration to sample based on cache status or other fields if desired. # Forward Fluentd Data Source: https://docs.honeycomb.io/integrations/logs/fluentd Forward structured logs from Fluentd to Honeycomb using Fluentd's out_http plugin or the OpenTelemetry Collector for richer telemetry context. [Fluentd](https://www.fluentd.org/) is a widely-used data router. If you are using Fluentd to aggregate structured logs, Fluentd's [`out_http` plugin](https://docs.fluentd.org/output/http) makes it easy to forward data to Honeycomb. > [!TIP] > > If your system uses logspout as a log router for Docker containers, you can send logs to Honeycomb with one of the [logspout third-party modules](https://github.com/gliderlabs/logspout#third-party-modules) that integrates with [logstash](/integrations/logs/logstash/) or [fluentd](/integrations/logs/fluentd/). ## Getting Started To set up the plugin, first grab your team API key from your [Honeycomb account page](https://ui.honeycomb.io/account), and then update your Fluentd configuration file (usually found in `/etc/fluentd/fluentd.conf` or `/etc/td-agent/td-agent.conf`). A basic configuration to forward events with the `my.logs` tag to the Honeycomb dataset `fluentd_dataset` looks like this: ```xml theme={} @type record_transformer enable_ruby true renew_record true data ${ record } time ${ time.iso8601() } @type http endpoint https://api.honeycomb.io/1/batch/fluentd_dataset headers {"X-Honeycomb-Team":"YOUR_API_KEY"} @type json json_array true flush_interval 2s ``` ## Set Event Timestamps In Fluentd, each event has a distinguished `time` attribute. In general, you will use a [parser plugin](https://docs.fluentd.org/parser) to extract the time attribute from log lines. You can read more about the structure of a Fluentd event [here](https://docs.fluentd.org/quickstart/life-of-a-fluentd-event#event-structure). For example, if you have a JSON log file containing timestamps in the format: ```json theme={} {"timestamp": "2018-02-04T14:55:10Z", "host": "app22", ...} ``` Then, you would extract the time value using the following Fluentd configuration: ```xml theme={} @type tail path /var/log/my.logs @json # Use the JSON parser plugin to parse records time_key timestamp # Extract the time value from the `timestamp` key time_type string # Expect a string timestamp time_format %Y-%m-%dT%H:%M:%SZ # Specify the timestamp format tag my.logs @type record_transformer enable_ruby true renew_record true data ${ record } time ${ time.iso8601() } @type http endpoint https://api.honeycomb.io/1/batch/myapp_dataset headers {"X-Honeycomb-Team":"YOUR_API_KEY"} @type json json_array true flush_interval 2s ``` # Filter and Send Logstash Data Source: https://docs.honeycomb.io/integrations/logs/logstash Fork your Logstash pipeline to send a copy of all log traffic to Honeycomb using Logstash's flexible plugin architecture and HTTP output plugin. Thanks to [Logstash](https://www.elastic.co/downloads/logstash)'s flexible plugin architecture, you can send a copy of all the traffic that Logstash is processing to Honeycomb. This topic explains how to use Logstash plugins to convert incoming log data into events and then send them to Honeycomb. > [!TIP] > > If your system uses logspout as a log router for Docker containers, you can send logs to Honeycomb with one of the [logspout third-party modules](https://github.com/gliderlabs/logspout#third-party-modules) that integrates with [logstash](/integrations/logs/logstash/) or [fluentd](/integrations/logs/fluentd/). ## Data Format Requirements > [!TIP] > > Honeycomb is at its best when the events you send are broad and capture lots of information about a given process or transaction. To process the log data coming into Logstash into Honeycomb events, you can use Logstash filter plugins. These filter plugins transform the data into top-level keys based on the original source of the data. We have found these to be especially useful: * [grok](https://www.elastic.co/guide/en/logstash/current/plugins-filters-grok.html) matches regular expressions and has configs for many common patterns (such as the apache, nginx, or haproxy log format). * [json](https://www.elastic.co/guide/en/logstash/current/plugins-filters-json.html) matches JSON-encoded strings and breaks them up in to individual fields. * [kv](https://www.elastic.co/guide/en/logstash/current/plugins-filters-kv.html) matches `key=value` patterns and breaks them out into individual fields. To add and configure filter plugins, refer to [Working with Filter Plugins](https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html) on the Logstash documentation site. ### Example: Using Logstash Filter Plugins to Process Haproxy Logs for Honeycomb Ingestion Let us say you are sending haproxy logs (in HTTP mode) to Logstash. A log line describing an individual request looks something like this (borrowed from the [haproxy config manual](https://www.haproxy.org/download/1.6/doc/configuration.txt)): ```log theme={} Feb 6 12:14:14 localhost \ haproxy[14389]: 10.0.1.2:33317 [06/Feb/2009:12:14:14.655] http-in \ static/srv1 10/0/30/69/109 200 2750 - - ---- 1/1/1/1/0 0/0 {1wt.eu} \ {} "GET /index.html HTTP/1.1" ``` Logstash puts this line in a `message` field, so in the filter parameter of the `logstash.yaml` config fragment below, we use the `grok` filter plugin and tell it to parse the message and make all the content available in top-level fields. And, since we do not need it anymore, we tell `grok` to remove the `message` field. The `mutate` filter plugin takes the numeric fields extracted by haproxy and turns them into integers so that Honeycomb can do math on them (later). ```ruby theme={} filter { grok { match => ["message", "%{HAPROXYHTTP}"] remove_field => ["message"] } mutate { convert => { "actconn" => "integer" "backend_queue" => "integer" "beconn" => "integer" "bytes_read" => "integer" "feconn" => "integer" "http_status_code" => "integer" "retries" => "integer" "srv_queue" => "integer" "srvconn" => "integer" "time_backend_connect" => "integer" "time_backend_response" => "integer" "time_duration" => "integer" "time_queue" => "integer" "time_request" => "integer" } } } ``` ## Sending Data to Honeycomb Now that all the fields in the `message` are nicely extracted into events, send them on to Honeycomb! To send events, configure an output plugin. You can use [Logstash's HTTP output plugin](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-http.html) to craft HTTP requests to the Honeycomb API. This configuration example sends the data to a dataset called "logstash." ```ruby theme={} filter { ruby { code => 'event.to_hash.each { |k, v| event.set("[data][" + k + "]" , v) }' } prune { whitelist_names => [ "^data$" ] } } output { http { url => "https://api.honeycomb.io/1/batch/logstash" # US instance #url => "https://api.eu1.honeycomb.io/1/batch/logstash" # EU instance http_method => "post" headers => { "X-Honeycomb-Team" => "YOUR_API_KEY" } format => "json_batch" http_compression => true } } ``` To complete configuration in the example above: * Use `filter` to nest the Logstash JSON fields under a `data` element in the JSON payload to Honeycomb. This filter is **required** for Honeycomb to ingest your Logstash logs. Learn more about `filter` in the [Elastic documentation](https://www.elastic.co/guide/en/logstash/current/filter-plugins.html). * Specify a URL (`url`) to send the data to: * for our US instance: `https://api.honeycomb.io/1/batch/` * for our EU instance: `https://api.eu1.honeycomb.io/1/batch/` * Add your Honeycomb [API key](/configure/environments/manage-api-keys/) to `"X-Honeycomb-Team"` so that Logstash is authorized to send data to Honeycomb. * Specify the output format as JSON batch (`json_batch`). * Specify the use of HTTP compression (`http_compression => true`). Then, restart Logstash. When it is back up, you will find the new dataset on [your landing page](https://ui.honeycomb.io/). ### Set Event Timestamps In Logstash, each event has a special `@timestamp` field. In general, use the [date filter plugin](https://www.elastic.co/guide/en/logstash/current/plugins-filters-date.html) to extract the time attribute from log lines. For example, if you have a JSON log line containing timestamps in the format: ```json theme={} {"timestamp": "2018-02-04T14:55:10Z", "host": "app22", ...} ``` Then, extract the time value using the following Logstash configuration: ```ruby theme={} filter { mutate{ rename => {"timestamp" => "time"} } date { match => ["time", "ISO8601"] } ruby { code => 'event.to_hash.each { |k, v| event.set("[data][" + k + "]" , v) unless k == "time" }' } prune { allowlist_names => [ "^data$", "^time$" ] } } output { http { url => "https://api.honeycomb.io/1/batch/logstash" # US instance #url => "https://api.eu1.honeycomb.io/1/batch/logstash" # EU instance http_method => "post" headers => { "X-Honeycomb-Team" => "YOUR_API_KEY" } format => "json_batch" http_compression => true } } ``` # Core Concepts of Honeycomb MCP Source: https://docs.honeycomb.io/integrations/mcp/concepts Find out what Model Context Protocol is, how it works, and how Honeycomb MCP uses it to let AI agents query and analyze your observability data. Understand how Honeycomb MCP uses Model Context Protocol to let AI agents explore your observability data. ## What is Model Context Protocol? Model Context Protocol (MCP) is a standard that lets AI agents and large language models (LLMs) interact with external tools and services in a consistent, structured way. With MCP, you can enable AI agents to perform specific actions, like browsing the web, editing local files, or fetching GitHub issues and pull requests. ### Why does it matter? You may already use AI tools like Cursor, Claude Code, Codename Goose, or one of the many (many) AI assistants that have emerged in the developer ecosystem since 2024. These tools have empowered developers and operators by expanding what LLMs, such as Anthropic Claude, OpenAI GPT, and DeepSeek R1, can do. Instead of only answering questions and generating text snippets, LLMs can now perform tasks by using tools. MCP provides a standardized way to define and expose those tools, making it easier for AI agents to discover and use them reliably. ### How MCP servers fit in An MCP server is the implementation of the MCP standard. It exposes your tools in a structured, machine-readable format. Think of the server as the bridge between AI agents and the services or data sources they need to interact with. ### Honeycomb MCP Server Honeycomb MCP Server brings Honeycomb's observability investigation approach to LLMs via AI agents. It lets AI agents query, explore, and iterate on telemetry data just like you do in our UI. In practice, we have seen that AI agents using Honeycomb MCP can do meaningful work. They can: * Investigate and diagnose latency or error spikes * Identify performance outliers and suggest optimization opportunities * Translate existing dashboards and alerts into Honeycomb's query language We are excited to see the new ways you will use this integration to enhance your workflows. ## Key concepts Get familiar with how the Honeycomb MCP server works. Understanding these concepts will help you configure the server effectively, write better prompts, and get more useful results from your agents. ### Tools MCP makes Honeycomb functionality available to AI agents by exposing it as discrete tools. Each tool performs a specific task, like running a query, fetching a trace, creating a Board, or starting a Canvas investigation. To explore the full list of tools your agent can call, visit the [MCP Tools Reference](/integrations/mcp/tools/). ### Prompts Prompts give you a quick way to start a multi-step workflow without writing the instructions yourself. Honeycomb MCP provides prompts as pre-written instructions that you run on purpose, usually as a slash command in your AI agent. Your agent decides when to call a tool, but you decide when to run a prompt. Prompts come from the Honeycomb MCP server, so they work as soon as your agent connects and authenticates, with or without the Honeycomb plugin. To explore the prompts your agent can run, visit the [MCP Prompts Reference](/integrations/mcp/prompts/). ## Security model Honeycomb MCP follows the same security standards as the rest of the Honeycomb platform. Most tools are read-only. Tools for Boards, Triggers, SLOs, notification recipients, and Canvas investigations require a scope for that resource. You grant these scopes during OAuth consent or when you configure an API key. During OAuth consent, you can give read-only access to all resources, read and write access to all resources, or choose access for each resource. The [MCP Tools Reference](/integrations/mcp/tools/#required-scopes) lists each tool and the scope it requires. This design limits agent access by default and expands it only when you explicitly grant permission. > [!NOTE] > > The [Activity Log Environment](/configure/teams/investigate-activity/#investigate-team-activity-using-activity-log-datasets) is surfaced through the MCP server only to [Team Owners](/configure/teams/manage-permissions/). > Team members of other roles can access the Activity Log Environment in the Honeycomb UI, but it is not exposed to AI agents acting on their behalf. ## Best practices Getting your agent connected is just the start. How you prompt it, what context you give it, and how you configure your data all affect the quality of what it returns. ### Write effective prompts Your agent is only as good as the context you give it. Without clear direction, it has to guess at what you mean, and in observability, a wrong guess wastes time you don't have during an incident. Some ways to guide your agent effectively include: * **Be specific**: Vague prompts like "Why is the system slow?" leave too much room for guesswork. Instead, try something more focused: "Investigate a latency spike between 12:00 and 13:00 in the `api-gateway` service." Include details like service names, attributes, or signal types. * **Provide context up front**: If you are working with a specific codebase, run the agent from that repo and let it know that it can look at the code for details. Mention relevant services, environments, or datasets in your prompt to narrow its focus. * **Use files to manage context across steps**: For multi-step tasks, like plotting series data or comparing results over time, ask the agent to store responses in files. It can read those files later as it continues to reason or assemble output. ### Customize attribute descriptions The better your agent understands your data, the more useful its analysis will be. Investing time in describing your attributes pays off every time your agent runs a query or writes instrumentation. MCP tools like `find_columns`, `get_dataset_columns`, and `search_semconv` use Honeycomb's attribute registry to describe your data to your agent, so well-described attributes produce better results. You can also [define a custom telemetry schema for your team](/configure/teams/customize-telemetry-schema/) that overlays the standard OpenTelemetry and Honeycomb attribute definitions with your own. This gives agents richer, team-specific context when exploring your telemetry. ### Capture findings with Boards Investigation results are only useful if your team can find them later. Rather than letting findings disappear when a chat session ends, use Boards to capture and share what your agent discovers. The MCP server can create new Boards with `create_board` and edit existing Boards with `update_board`. Agents can also add, remove, update, and reorder query, SLO, and text panels on existing Boards, so you can capture investigation results on a Board you already use. To learn more about managing Boards, visit [Manage Boards](/investigate/observe/boards/manage). ## Next steps Continue your MCP journey with these focused resources: * [Connecting AI Agents to Honeycomb MCP](/integrations/mcp/configuration-guide/): Follow step-by-step instructions to connect common agents to Honeycomb MCP. * [MCP Prompts Reference](/integrations/mcp/prompts/): Run pre-written workflows, like guided onboarding, from your AI agent. * [Example Use Cases](/integrations/mcp/use-cases/): Explore real-world use cases and tips for working with Honeycomb via MCP. * [Troubleshooting](/integrations/mcp/troubleshooting/): Find solutions to common configuration issues and learn how to verify that your agent is connected and working correctly. # Connect to Honeycomb MCP Source: https://docs.honeycomb.io/integrations/mcp/configuration-guide Connect your AI agent to the Honeycomb MCP Server. Connect Honeycomb to any AI agent that supports the Model Context Protocol (MCP) so it can query your telemetry, investigate issues, and answer questions using your live Honeycomb data. This guide covers the fastest way to connect, manual configuration for specific clients, and authentication with an API key. > [!TIP] > > If you need to get data into Honeycomb using sample data, real instrumentation, or connecting to an existing pipeline, start with [Send data with AI](/send-data/ai) instead. ## Before you begin Make sure that: * Your Honeycomb team has [enabled Honeycomb Intelligence](/configure/teams/manage-behavior#enable-honeycomb-intelligence). * Your AI agent supports remote MCP servers or plugins. ## Put your agent to work Run the prompt associated with your region in your AI agent: > [tab] US > > Connect to the Honeycomb MCP server (US) > > Add the Honeycomb MCP server at [https://mcp.honeycomb.io/mcp](https://mcp.honeycomb.io/mcp) and authenticate with OAuth. > [tab] EU > > Connect to the Honeycomb MCP server (EU) > > Add the Honeycomb MCP server at [https://mcp.eu1.honeycomb.io/mcp](https://mcp.eu1.honeycomb.io/mcp) and authenticate with OAuth. Once your agent authenticates, it can query your telemetry, investigate issues, and answer questions using your live Honeycomb data. For the list of tools that Honeycomb MCP exposes to your agent, visit the [MCP Tools Reference](/integrations/mcp/tools). ## Connect manually For step-by-step configuration instructions, select your client: > [tab] Amazon Q > > Connect Amazon Q Developer to Honeycomb MCP using the qchat CLI: > > 1. Run the command associated with your region in your terminal: > > > [tab] US > > > > ```bash wrap theme={} > > qchat mcp add --name honeycomb --command npx --args mcp-remote,https://mcp.honeycomb.io/mcp > > ``` > > > [tab] EU > > > > ```bash wrap theme={} > > qchat mcp add --name honeycomb --command npx --args mcp-remote,https://mcp.eu1.honeycomb.io/mcp > > ``` > > 2. Run any [MCP tool](/integrations/mcp/tools). > Authenticate and grant the requested permissions to finish connecting. > > > [!TIP] > > > > Want your agent to send data too? > > [Send data with AI](/send-data/ai) walks through running guided onboarding to help you instrument your application. > [tab] Auggie CLI > > Connect Augment (Auggie CLI) to Honeycomb MCP by installing the Honeycomb plugin: > > **1. Add the Honeycomb agent skills as a plugin source** > > Run this in your terminal: > > ```bash theme={} > auggie plugin marketplace add honeycombio/agent-skill > ``` > > > [!TIP] > > > > To check out the Honeycomb agent skills, [visit the agent skills repo](https://github.com/honeycombio/agent-skill). > > **2. Install the Honeycomb plugin** > > Run this in your terminal: > > ```bash theme={} > auggie plugin install honeycomb > ``` > > **3. Set up the Honeycomb MCP** > > Run this prompt in Auggie and authenticate with Honeycomb when asked: > > Set up Honeycomb > > /honeycomb-setup > > Your agent connects to Honeycomb MCP: sets your region, authenticates, and verifies access. > > > [!TIP] > > > > Want your agent to send data too? > > [Send data with AI](/send-data/ai) walks through installing Honeycomb's agent skills and running guided onboarding to help you instrument your application. > [tab] ChatGPT > > Connect ChatGPT to Honeycomb MCP by installing the Honeycomb app from ChatGPT's app directory: > > 1. [Go to the Honeycomb plugin page](https://chatgpt.com/plugins/plugin_asdk_app_6a51b29fa2d48191b215ff28f9a64fb4). > > 2. Select **Install plugin**. > > 3. When prompted, sign in to Honeycomb to finish authentication. > > > [!TIP] > > > > Want your agent to send data too? > > [Send data with AI](/send-data/ai) walks through installing Honeycomb's agent skills and running guided onboarding to help you instrument your application. > [tab] Claude Code > > Connect Claude Code to Honeycomb MCP by installing the Honeycomb plugin: > > **1. Install Honeycomb as a Claude Code plugin** > > Run this in your terminal: > > ```bash theme={} > claude plugin marketplace add honeycombio/agent-skill > claude plugin install honeycomb > ``` > > **2. Set up the Honeycomb MCP** > > Run this prompt in Claude Code and authenticate with Honeycomb when asked: > > Set up Honeycomb > > /honeycomb-setup > > Your agent connects to Honeycomb MCP: sets your region, authenticates, and verifies access. > > > [!TIP] > > > > Want your agent to send data too? > > [Send data with AI](/send-data/ai) walks through running guided onboarding to help you instrument your application. > > > [accordion] Set up Claude Code manually > > > > **1. Add the Honeycomb MCP** > > > > Run the command associated with your region in your terminal: > > > > > [tab] US > > > > > > ```bash wrap theme={} > > > claude mcp add honeycomb --transport http https://mcp.honeycomb.io/mcp > > > ``` > > > > > [tab] EU > > > > > > ```bash wrap theme={} > > > claude mcp add honeycomb --transport http https://mcp.eu1.honeycomb.io/mcp > > > ``` > > > > **2. Add the Honeycomb skills** > > > > Download the skills folder from the [Honeycomb agent-skill repo](https://github.com/honeycombio/agent-skill/tree/main/honeycomb/skills) and copy it into your skills directory: > > > > ```bash theme={} > > git clone https://github.com/honeycombio/agent-skill.git /tmp/agent-skill-temp > > cp -r /tmp/agent-skill-temp/honeycomb/skills/* ~/.claude/skills/ > > rm -rf /tmp/agent-skill-temp > > ``` > > > > For details on skill locations and scope, see [Claude Code's Agent Skills documentation](https://docs.claude.com/en/docs/claude-code/skills). > > > > **3. Set up the MCP** > > > > Run this prompt in Claude Code and authenticate with Honeycomb when asked: > > > > Set up Honeycomb > > > > /honeycomb-setup > > > > Your agent connects to Honeycomb MCP: sets your region, authenticates, and verifies access. > > > > > [!TIP] > > > > > > Want your agent to send data too? > > > [Send data with AI](/send-data/ai) walks through running guided onboarding to help you instrument your application. > [tab] Claude Desktop > > Connect Claude Desktop to Honeycomb MCP using the Honeycomb connector: > > 1. Select **Customize** > **Connectors**. > > 2. Select **Add** > **Browse Connectors**. > > 3. Search for `Honeycomb` to go to the [Honeycomb connector](https://claude.ai/directory/connectors/honeycomb) page. > > 4. Select the `+` on the Honeycomb connector to add it. > > 5. When prompted, sign in to Honeycomb and authorize the application. > If no browser window opens to prompt authentication over OAuth, fully quit and reopen Claude Desktop. > > > [!TIP] > > > > Want your agent to send data too? > > [Send data with AI](/send-data/ai) walks through installing Honeycomb's agent skills and running guided onboarding to help you instrument your application. > [tab] Codex > > Connect OpenAI Codex to Honeycomb MCP by installing Honeycomb as a plugin: > > **1. Install the Honeycomb plugin** > > Run this in your terminal: > > ```bash theme={} > codex plugin marketplace add honeycombio/agent-skill > codex plugin add honeycomb@honeycomb-plugins > ``` > > **2. Load the plugin** > > Restart Codex to load the plugin. > This also configures the Honeycomb MCP server for you. > > > [!TIP] > > > > Want your agent to send data too? > > [Send data with AI](/send-data/ai) walks through running guided onboarding to help you instrument your application. > [tab] Copilot > > Connect GitHub Copilot to Honeycomb MCP by installing the Honeycomb plugin: > > **1. Install Honeycomb as a Copilot plugin** > > Run this in your terminal: > > ```bash theme={} > copilot plugin install honeycombio/agent-skill:honeycomb > ``` > > **2. Set up the Honeycomb MCP** > > Run this prompt in Copilot and authenticate with Honeycomb when asked: > > Set up Honeycomb > > /honeycomb-setup > > Your agent connects to Honeycomb MCP: sets your region, authenticates, and verifies access. > > > [!TIP] > > > > Want your agent to send data too? > > [Send data with AI](/send-data/ai) walks through running guided onboarding to help you instrument your application. > [tab] Cursor > > Connect Cursor to Honeycomb MCP using this one-click install link: [Add Honeycomb to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=honeycomb\&config=eyJ1cmwiOiJodHRwczovL21jcC5ob25leWNvbWIuaW8vbWNwIn0=) > > > [!TIP] > > > > Want your agent to send data too? > > [Send data with AI](/send-data/ai) walks through installing Honeycomb's agent skills and running guided onboarding to help you instrument your application. > > > [accordion] Set up Cursor manually > > > > **1. Add the Honeycomb MCP** > > > > 1. Open Cursor and navigate to **Preferences** > **Cursor Settings** > **Customize**. > > > > 2. Select the **MCP** view. > > > > 3. Select **New MCP Server**. > > > > 4. Update `mcp.json` with the configuration for your region: > > > > > [tab] US > > > > > > ```json theme={} > > > { > > > "mcpServers": { > > > "honeycomb": { > > > "url": "https://mcp.honeycomb.io/mcp" > > > } > > > } > > > } > > > ``` > > > > > [tab] EU > > > > > > ```json theme={} > > > { > > > "mcpServers": { > > > "honeycomb": { > > > "url": "https://mcp.eu1.honeycomb.io/mcp" > > > } > > > } > > > } > > > ``` > > > > 5. Save the configuration file and restart Cursor. > > > > **2. Authenticate with the Honeycomb MCP** > > > > Run any [MCP tool](/integrations/mcp/tools). > > Honeycomb opens a browser window to authenticate. > > Grant the requested permissions to finish connecting. > > > > > [!TIP] > > > > > > Want your agent to send data too? > > > [Send data with AI](/send-data/ai) walks through installing Honeycomb's agent skills and running guided onboarding to help you instrument your application. > [tab] VS Code > > Connect VS Code (with GitHub Copilot) to Honeycomb MCP with this one-click install link: [Add Honeycomb to VS Code](vscode:mcp/install?%7B%22name%22%3A%22honeycomb%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.honeycomb.io%2Fmcp%22%7D) > > > [!TIP] > > > > Want your agent to send data too? > > [Send data with AI](/send-data/ai) walks through installing Honeycomb's agent skills and running guided onboarding to help you instrument your application. ## Authenticate with an API key If you are building autonomous or unattended agents and cannot use OAuth, then you can authenticate with an API key. Only team owners can generate an API key. > [!NOTE] > > Prefer OAuth in most use cases. > Use an API key only when your agent cannot support interactive login. ### 1. Generate an API key in Honeycomb 1. Log in to your Honeycomb account. 2. Navigate to **Account** > **Team Settings** > **API Keys**. 3. Select **Create Management API Key**. 4. Name your key (for example, "MCP Integration"). 5. Choose the **Model Context Protocol** and **Environments** scopes, then grant permissions: * **Read**: Required for all Honeycomb MCP operations. Be sure to grant read for both MCP and Environments. * **Write**: Required for tools that create or update Honeycomb resources, including Boards, Triggers, SLOs, notification/alert recipients, and Canvas investigations. To explore the complete list of write tools, visit the [MCP Tools Reference](/integrations/mcp/tools/#required-scopes). 6. Copy the **Key ID** and **Key Secret**, and store them somewhere safe. You will need them later, and you won't be able to see them again. ### 2. Add your API key to your agent The exact configuration process varies by agent, but here is an example configuration `mcp.json` snippet used by agents like Claude Code or Cursor: > [!TIP] > > Be sure to use the appropriate endpoint for your region, and replace `KEY_ID` and `SECRET_KEY` with your actual key values. > [tab] US > > ```json theme={} > { > "mcpServers": { > "honeycomb": { > "command": "npx", > "args": [ > "-y", > "mcp-remote", > "https://mcp.honeycomb.io/mcp", > "--header", > "Authorization: Bearer $HONEYCOMB_API_KEY" > ], > "env": { > "HONEYCOMB_API_KEY": ":" > } > } > } > } > ``` > [tab] EU > > ```json theme={} > { > "mcpServers": { > "honeycomb": { > "command": "npx", > "args": [ > "-y", > "mcp-remote", > "https://mcp.eu1.honeycomb.io/mcp", > "--header", > "Authorization: Bearer $HONEYCOMB_API_KEY" > ], > "env": { > "HONEYCOMB_API_KEY": ":" > } > } > } > } > ``` > [!NOTE] > > Pay attention to formatting, including spacing and colon (`:`) characters. > > If your tool cannot parse the `Authorization` header correctly, try putting the `Bearer` prefix directly in the environment variable: > `"HONEYCOMB_API_KEY": "Bearer KEY_ID:SECRET_KEY"`. As a security best practice, make sure that keys being used for MCP integrations do not carry any other scopes, and that you do not commit them to source control. ### 3. Confirm the connection Once connected, test by asking your agent to list available tools or fetch available teams and environments. You should get results if your key and permissions are set up correctly. ## Limit the tools your agent loads A smaller tool list can help your agent choose the right tool and use less of its context. By default, your agent loads every Honeycomb MCP tool and prompt. To load only part of them, configure your AI tool to send the `X-MCP-Toolset` header with each request to Honeycomb MCP. | Value | What your agent loads | | - | - | | `all` | Every tool and prompt available to you. This is the default. | | `query` | Tools for querying and managing your telemetry, including Boards, Triggers, and SLOs. Includes prompts. | | `canvas` | Only the tools for working with Canvas. Doesn't include prompts or query tools. | The header limits which tools your agent loads but doesn't grant access. Your scopes and plan still control which tools are available. If the header has an unrecognized or empty value, Honeycomb MCP rejects each request that includes it, so your agent can't use Honeycomb MCP until you correct or remove the header. ## Next steps Continue your MCP journey: * [Example Use Cases](/integrations/mcp/use-cases): Explore real-world use cases and tips for working with Honeycomb via MCP. * [Tools Reference](/integrations/mcp/tools): Learn about the tools Honeycomb MCP exposes to AI agents. - [MCP Prompts Reference](/integrations/mcp/prompts/): Run pre-written workflows, like guided onboarding, from your AI agent. * [Troubleshooting](/integrations/mcp/troubleshooting): Fix common MCP configuration and connection issues. # Honeycomb MCP Prompts Reference Source: https://docs.honeycomb.io/integrations/mcp/prompts Reference for the prompts Honeycomb MCP provides to AI agents, including guided onboarding, workspace tours, and OpenTelemetry help ## Overview Run a Honeycomb MCP prompt to start a guided, multi-step workflow in your AI agent without writing the instructions yourself. A prompt is a set of pre-written instructions that your agent follows, often by calling several [MCP tools](/integrations/mcp/tools/) in sequence. Your agent chooses tools on its own based on what you ask, while you run a prompt when you want a specific workflow. ## Syntax AI agents typically display MCP prompts as slash commands, such as `/honeycomb-onboarding`. The exact name can vary by agent. For example, Cursor displays `/honeycomb-onboarding` as `/honeycomb/honeycomb-onboarding`. > [!NOTE] > > Honeycomb MCP prompts differ from commands in the [Honeycomb plugin](/integrations/agent-skills/), such as `/honeycomb-setup`. > Plugin commands exist only when you install the plugin. > MCP prompts come from the Honeycomb MCP server, so they work with or without the plugin. ## Before you begin Prompts run through your Honeycomb MCP connection, so set up that connection first. Make sure that: * Your AI agent connects to Honeycomb MCP and authenticates. To set up a connection, visit [Connect to Honeycomb MCP](/integrations/mcp/configuration-guide/). * Your AI agent supports MCP prompts. Prompts don't require any additional scopes. ## Onboarding and learning prompts These prompts help new users get data into Honeycomb and learn how to work with it. **honeycomb-onboarding** Guides you through getting data into Honeycomb. Your agent asks which path you want to follow: * **Get real data into Honeycomb:** Send telemetry from your app. * **Send sample data:** Generate sample data based on your codebase. * **Analyze existing data:** Explore data already in your environment. On the real data path, your agent reviews your repository and chooses a next step based on what it finds: * **Already sending to Honeycomb:** Your agent confirms that your events arrive. * **Sending OpenTelemetry data somewhere else:** Your agent points your existing exporter at Honeycomb. * **Sending data to Datadog or New Relic:** Your agent adds an OpenTelemetry Collector alongside your existing agent, so Honeycomb receives a copy of your data while your current vendor keeps receiving it. If you prefer, your agent can replace your vendor instrumentation with OpenTelemetry instead. * **Little or no instrumentation:** Your agent offers to add OpenTelemetry to your app. With the [Honeycomb plugin](/integrations/agent-skills/) installed, your agent instruments your app for you. Without the plugin, your agent guides you through instrumenting your app manually. Once your first events arrive, your agent helps you start a [Canvas](/investigate/canvas/) investigation. **honeycomb-learning** Gives you a guided tour of your Honeycomb workspace. This prompt doesn't instrument your app or send data. Your agent asks which path you want to follow: * **Exploring:** Environments, datasets, columns, queries, SLOs, and Triggers. * **Debugging:** Heatmaps, traces, and BubbleUp. * **Reliability:** SLOs and error budgets. ## OpenTelemetry instrumentation prompts These prompts help your agent evaluate and improve the OpenTelemetry instrumentation in your code. Each prompt accepts either a code snippet or a path to a code file. When you provide a file path, your agent reads the file itself, so it needs access to that file. **otel_analysis** Asks your agent to explain your code and suggest OpenTelemetry automatic instrumentation, with links to the OpenTelemetry documentation for your language. This prompt produces guidance and doesn't change your code. **Arguments:** Provide either `code_snippet` (the code as text) or `file_path` (the path to a code file). **otel_custom_instrumentation** Asks your agent to add custom OpenTelemetry spans to your code. **Arguments:** Provide either `code_snippet` (the code as text) or `file_path` (the path to a code file). ## Troubleshooting Running into issues? Here are some common problems and ways to fix them. > [!TIP] > > Still stuck? > Visit the [Support Knowledge Base](/troubleshoot/customer-support/) or post a question in the [Pollinators Community](/troubleshoot/community/). ### Prompts don't appear in your agent When Honeycomb MCP tools work but a prompt like `/honeycomb-onboarding` doesn't appear, the cause is usually how your agent names or loads prompts. Check the following: * **Look for a different name:** Some agents add a prefix to prompt names. For example, Cursor displays `/honeycomb-onboarding` as `/honeycomb/honeycomb-onboarding`. * **Confirm your agent supports MCP prompts:** Agents that support only MCP tools don't display prompts. * **Check your toolset header:** If you configured the `X-MCP-Toolset` header, set it to `all` or `query`, or remove it. A value of `canvas` doesn't include prompts. To learn more, visit [Connect to Honeycomb MCP: Limit the tools your agent loads](/integrations/mcp/configuration-guide#limit-the-tools-your-agent-loads). ## Next steps * [Connect to Honeycomb MCP](/integrations/mcp/configuration-guide/): Set up your AI agent so it can run prompts. * [MCP Tools Reference](/integrations/mcp/tools/): Review the tools prompts call on your behalf. * [Agent Skills](/integrations/agent-skills/): Install the plugin for automatic instrumentation during onboarding. * [Try Honeycomb with data from Datadog or New Relic](/integrations/mcp/use-cases#trying-honeycomb-with-data-from-datadog-or-new-relic): Send data to Honeycomb while keeping your existing vendor setup in place. # Honeycomb MCP Tools Reference Source: https://docs.honeycomb.io/integrations/mcp/tools What each Honeycomb MCP tool does, when an agent uses it, and the scopes and rate limits that apply, from discovery and queries to Canvas Understand what each Honeycomb MCP tool does, when an agent will reach for it, and any requirements that apply. ## How tools are used AI agents discover MCP tools automatically when they connect. Each tool corresponds to a specific Honeycomb capability, like running a query, fetching a trace, or creating a Board. Agents pick which tool to call based on the tool's name, description, and your prompt, so you don't normally have to name a tool yourself. This page documents every tool the Honeycomb MCP server exposes. Use it to understand what your agent can do, to write more directed prompts, or to troubleshoot why an agent did or did not use a particular capability. > [!NOTE] > > Some tools require specific access scopes or are limited to certain plan tiers. > To explore the full matrix, refer to [Rate Limits and Scopes](#rate-limits-and-scopes). > > Your connection settings can also limit which tools your agent loads. > To learn more, visit [Connect to Honeycomb MCP: Limit the tools your agent loads](/integrations/mcp/configuration-guide#limit-the-tools-your-agent-loads). ## Tool surface at a glance Use this table to get a quick overview of what your agent can read and write before diving into the full reference. | Category | Read tools | Write tools | | - | - | - | | [Workspace discovery](#workspace-discovery) | `get_workspace_context`, `get_environment`, `get_dataset`, `get_dataset_columns` | | | [Query and analysis](#query-and-analysis) | `run_query`, `get_query_results`, `find_queries`, `find_columns`, `run_bubbleup` | | | [Traces and spans](#traces-and-spans) | `get_trace`, `list_spans`, `get_span_details` | | | [Service map and anomalies](#service-map-and-anomalies) | `get_service_map`, `get_anomaly_service_profiles` | | | [Semantic conventions](#semantic-conventions) | `search_semconv`, `get_semconv_attribute`, `list_semconv_namespaces` | | | [Boards](#boards) | `list_boards` | `create_board`, `update_board` | | [Triggers](#triggers) | `get_triggers` | `create_trigger`, `update_trigger` | | [Service Level Objectives (SLOs)](#service-level-objectives-slos) | `get_slos` | `create_slo`, `update_slo` | | [Notification recipients](#notification-recipients) | `list_recipients` | `create_recipient` | | [Canvas investigations](#canvas-investigations) | `canvas_agent_poll_response` | `canvas_agent_invoke` | | [Canvas memory](#canvas-memory) | `list_memories`, `read_memory` | | | [AI conversation analysis](#ai-conversation-analysis) | `list_aiconversations`, `get_aiconversation` | | | [Other](#other-tools) | `refinery_docs` | `feedback` | ## Workspace discovery Before your agent can do useful work, it needs to know where it is. These tools help it orient itself within your Honeycomb Team and locate the right environments, datasets, and columns. **get_workspace_context** `read` Returns the Team name, current time, and a list of environments with their slugs and dataset counts. Takes no parameters. Agents call this tool first to orient themselves before doing anything else. Most prompt-driven workflows start here so the agent knows which environments exist before running queries or fetching data. **get_environment** `read` Returns details for a single environment, including its datasets and calculated fields, sorted by most recent activity. Returns up to 100 datasets per call. **get_dataset** `read` Returns metadata and the full column schema for a single dataset, including columns and calculated fields in a unified list sorted by last write time. Returns up to 100 columns per call by default. **get_dataset_columns** `read` Returns the full column schema for a single dataset, with optional sample values for specific columns. For metrics datasets, returns metric names by default. Pass a `metric_name` to discover the attributes available for filtering or grouping a specific metric. ## Query and analysis These tools give your agent the ability to ask questions about your data—running aggregation queries, fetching prior query results, finding existing queries, locating relevant columns, and analyzing query subsets with BubbleUp. **run_query** `read` Runs a time-series aggregation query against a Honeycomb dataset and returns computed results. Supports compound queries ([query math](/investigate/query/math)), per-calculation filters, formulas, breakdowns, [calculated fields](/investigate/query/build/calculated-fields), and [relational trace prefixes](/investigate/query/build#relational-fields) (`root.`, `parent.`, `child.`, `any.`). Agents use this tool to compute custom aggregations that go beyond what simpler discovery tools can answer. When data is sampled, results include sampling metadata. Agents can use the `usage_mode` flag to disable sample-rate correction. **get_query_results** `read` Retrieves results and metadata from a previously executed query run. Accepts a Honeycomb query URL, a query run primary key, or a query ID (which returns the most recent run). Agents use this tool to fetch the output of a saved or earlier query without re-running it. **find_queries** `read` Searches query history and saved queries by intent and returns matching queries with their run primary keys. Pair the result with [`get_query_results`](#param-get-query-results) to fetch the actual data. Useful when you want the agent to learn from prior investigations or reuse a saved query. **find_columns** `read` Searches for columns and calculated fields by intent across one or all datasets in an environment. Agents use this tool to find relevant fields based on natural-language keywords rather than exact column names. Honeycomb's [Weaver registry](/configure/teams/customize-attributes/) feeds richer descriptions into this tool, so well-described attributes produce better matches. **run_bubbleup** `read` Runs a [BubbleUp](/investigate/analyze/identify-outliers) analysis on an existing query result to identify what makes a selected subset of data different from the baseline. BubbleUp compares value distributions across columns and surfaces the statistically significant differences. ## Traces and spans These tools let your agent move from aggregate query results into raw trace data, exploring span names and attributes across trace-aware datasets, so it can follow a request through your system and identify where things went wrong. **get_trace** `read` Retrieves all spans for a specific trace ID and renders them as a waterfall. Agents can use the parameters for this tool to zoom in to specific subtrees of a trace and identify errors. **list_spans** `read` Lists span names in trace data, ranked by count, with how often each is a trace root and which dataset the count came from. **get_span_details** `read` Returns a summary of attributes and their common values observed on spans with a specific name, including which attributes are populated, how many distinct values each has, and the top observed values. ## Service map and anomalies These tools give your agent a higher-level view of your system, so it can understand service dependencies and surface active anomaly detection profiles. **get_service_map** `read` Enterprise Returns a snapshot of service-to-service call dependencies for a specified time range. Powers the same graph as the [Service Map](/investigate/observe/service-map/) view in Honeycomb. **get_anomaly_service_profiles** `read` Returns anomaly detection service profiles for the current Team. > [!NOTE] > > Requires that anomaly detection be enabled for the Team. ## Semantic conventions These tools let your agent search and inspect OpenTelemetry semantic convention attributes, including any Team-specific extensions defined in the Weaver registry, so it can write better instrumentation and more accurate queries. **search_semconv** `read` Searches the semantic convention registry for attributes matching a query. **get_semconv_attribute** `read` Returns full definitions of one or more semantic convention attributes by their exact names. **list_semconv_namespaces** `read` Lists the top-level semantic convention namespaces available in the Team's registry, including any [Team-specific attribute customizations](/configure/teams/customize-attributes/). ## Boards These tools let your agent create and manage Boards, so investigation results can be captured and shared with your team in a format everyone can revisit. **list_boards** `read` Lists Boards in an environment, or returns the full contents of a single Board by ID. Use this before `update_board` to inspect existing panels and IDs. **create_board** `write` Creates a Board with query panels, Service Level Objective (SLO) panels, and text (Markdown) panels. Panels appear in the order you specify them and can include explicit width and height. Supports preset filters that become filter dropdowns on the Board. To learn more about Boards, visit [Customize Boards](/observe/boards/customize/). **update_board** `write` Updates an existing Board. Supports renaming, adding, removing, updating, and reordering panels, plus replacing preset filters and tags. ## Triggers These tools let your agent inspect, create, and update Honeycomb [Triggers](/notify/triggers/), so you can automate alerting based on query thresholds without leaving your workflow. **get_triggers** `read` Lists Triggers for the Team, or returns detailed configuration for a single Trigger, including recipients with their type, name or target, and ID. **create_trigger** `write` Creates a Trigger that fires alerts when query results cross a threshold. To learn more about Triggers, visit [Create a Trigger](/notify/triggers/create/). **update_trigger** `write` Updates an existing Trigger. ## Service Level Objectives (SLOs) These tools let your agent inspect, create, and update Honeycomb Service Level Objectives ([SLOs](/notify/slos/)), so you can establish and maintain reliability targets for your services. **get_slos** `read` Lists SLOs for the Team, or returns detailed status and graphs for a single SLO. **create_slo** `write` Creates an SLO with an auto-created Service Level Indicator (SLI) derived column. Provide the SLI expression and an alias, and the tool creates the derived column if needed, validates the expression, and then creates the SLO. To learn more about SLOs, visit [Create an SLO](/notify/slos/create/). **update_slo** `write` Updates an existing SLO. Partial-update semantics apply; omitted fields keep their current values. Dataset associations are fixed at creation time; create a new SLO to use different datasets. ## Notification recipients These tools let your agent manage the notification destinations that Triggers and Service Level Objective (SLO) burn alerts route to, so alerts reach the right people and systems. **list_recipients** `read` Lists all pre-registered notification recipients for the Team, including email, Slack, PagerDuty, and webhooks, with their IDs. **create_recipient** `write` Creates a notification recipient that can be attached to Triggers and SLO burn alerts. Returns the recipient ID for use with `create_trigger` and `update_trigger`. To learn more about recipients, visit [Recipients for Notifications](/notify/recipients/). ## Canvas investigations These tools let your agent interact with Honeycomb [Canvas](/investigate/canvas) and contribute to collaborative investigations alongside your team, running queries, laying out evidence, and summarizing findings on your team's behalf. **canvas_agent_invoke** `write` Sends a message to the Canvas agent. If an investigation ID is provided, the message is routed to the user's agent in that investigation. Otherwise, a new investigation is created. If granular resources grants are in use, all read and write grants are required to invoke the agent, otherwise the full `mcp:write` grant. **canvas_agent_poll_response** `read` Polls for the result of a previously-issued `canvas_agent_invoke` call. To learn more about Canvas investigations, visit [Canvas](/investigate/canvas/). ## Canvas memory Beta These tools let your agent read the [memories](/investigate/canvas/memory/) Canvas keeps for you, so you don't have to repeat context you already gave Canvas. They return only your memories on the selected Team, never a teammate's. Both tools are read-only. To [change your memories](/investigate/canvas/memory#editing-a-memory), use the Memory page in Canvas or ask Canvas in a chat. The tools appear only on Teams with Canvas Memory enabled. They act as a signed-in user, so connect with OAuth to use them. **list_memories** `read` Lists your memories on the Team, most recently created first, with each memory's name, title, and description. A memory's name is a slug that serves as its permanent ID, made of lowercase letters, numbers, and hyphens, for example `deploy-windows`. Its title is a human-readable label, one line of up to 120 characters. Takes no parameters. It returns the same memories as the Memory page in Canvas, which sorts by **Last updated** by default. **read_memory** `read` Returns the full content of one memory by its name, along with its title, description, and the times it was created and last modified. Call [`list_memories`](#param-list-memories) first to find the name. ## AI conversation analysis These tools let your agent analyze telemetry from other AI agents in your stack that emit OpenTelemetry `gen_ai.*` attributes, answering questions like "which conversations had errors" and "how many tokens did this agent use" without requiring you to compose `run_query` calls. **list_aiconversations** `read` Lists recent AI agent conversations (`gen_ai.conversation.id` values) in an environment, ordered by total event count. Includes a per-conversation breakdown of agents, services, event counts, error counts, and token usage. **get_aiconversation** `read` Returns the full event timeline for a single AI conversation by its `gen_ai.conversation.id` value, including every LLM call, tool call, and related agent event with span name, operation, agent name, model, tool name, duration, and error detail. Also includes an aggregate summary with LLM call count, tool call count, failure count, total tokens, and total duration. ## Other tools These tools cover capabilities that do not fit neatly into the categories above but are still useful for getting the most out of Honeycomb MCP. **refinery_docs** `read` Reads from Honeycomb [Refinery](/manage-data-volume/sample/honeycomb-refinery/) documentation, so your agent can answer Refinery configuration questions without leaving the conversation. **feedback** `write` Submits feedback about the Honeycomb MCP server experience to the Honeycomb Team that maintains it. Ask your agent to "submit feedback to Honeycomb" with your message. ## Rate limits and scopes Understanding rate limits and required scopes helps you configure your agent correctly and avoid unexpected errors during operation. ### Rate limits Honeycomb MCP enforces per-tool rate limits to protect platform stability. Most tools share a default limit of 50 calls per minute, but discovery and metadata tools allow higher limits, and expensive or mutating tools have lower ones. | Tool | Limit per minute | | - | - | | `get_workspace_context`, `get_dataset`, `get_environment`, `list_boards`, `list_recipients`, `find_columns`, `refinery_docs`, `list_memories`, `read_memory` | 200 | | `search_semconv`, `get_semconv_attribute`, `list_semconv_namespaces` | 300 | | `canvas_agent_poll_response` | 300 | | `get_triggers`, `get_anomaly_service_profiles`, `find_queries`, `get_query_results` | 150 | | `run_query`, `get_trace`, `get_dataset_columns`, `get_slos`, `feedback` | 100 | | `update_trigger`, `update_slo` | 30 | | `create_trigger`, `create_slo`, `create_recipient`, `canvas_agent_invoke` | 20 | | `get_service_map` | 10 | | All other tools | 50 (default) | Rate-limit responses include the time at which you can retry. > [!NOTE] > > Rate limits are subject to change. ### Required scopes Some tools require a scope for the resource they read or change. Your agent sees only the tools that its scopes allow. A write scope includes read access to the same resource. | Resource | Read scope and tools | Write scope and tools | | - | - | - | | Boards | `boards:read`: `list_boards` | `boards:write`: `create_board`, `update_board` | | Triggers | `triggers:read`: `get_triggers` | `triggers:write`: `create_trigger`, `update_trigger` | | SLOs | `slos:read`: `get_slos` | `slos:write`: `create_slo`, `update_slo` | | Recipients | `recipients:read`: `list_recipients` | `recipients:write`: `create_recipient` | | Service Maps | `service-maps:read`: `get_service_map` | | | Anomaly Signals | `anomaly-profiles:read`: `get_anomaly_service_profiles` | | | Investigations | | `investigations:write`: `canvas_agent_invoke`, `canvas_agent_poll_response` | Tools that are not in this table, such as workspace discovery, query, and trace tools, need only the `environments:read` and `queries:read` scopes. Every connection gets these two scopes. #### OAuth connections When you connect with OAuth, you choose the scopes on the consent screen: * **Read all**: Read scopes for every resource. * **Read and write all**: Read and write scopes for every resource. * **Customize**: Read or write access for each resource that you select. If you connect more than one team, you choose scopes for each team. Members with a read-only role can choose only read scopes. Connections that you authorized before you could customize access have the `mcp:read` or `mcp:write` scope. `mcp:read` gives every read scope, and `mcp:write` gives every read and write scope. These connections continue to work. To change the access of a connection, connect your MCP client again. To see the scopes of each connection, go to the **Integrations** tab of your Honeycomb account ([US](https://ui.honeycomb.io/account#integrations), [EU](https://ui.eu1.honeycomb.io/account#integrations)). #### API key connections The **Model Context Protocol** permission on an API key gives the same access as `mcp:read` or `mcp:write`. For write tools, your key must have the **Write** permission, and its environment access must include each environment that the agent writes to. To explore full configuration details, visit [Setting Up an API Key](/integrations/mcp/configuration-guide/#setting-up-an-api-key). ## Next steps * [Core Concepts](/integrations/mcp/concepts/): Understand how Honeycomb MCP works. * [MCP Prompts Reference](/integrations/mcp/prompts/): Run pre-written workflows that call these tools on your behalf. * [Example Use Cases](/integrations/mcp/use-cases/): Review real-world examples of prompts and workflows. * [Troubleshooting](/integrations/mcp/troubleshooting/): Diagnose common issues with tool availability or behavior. # Troubleshooting Honeycomb MCP Source: https://docs.honeycomb.io/integrations/mcp/troubleshooting Resolve common configuration errors with the Honeycomb MCP Server and verify that your AI agent is connected and receiving observability data correctly. If you run into issues while integrating with the MCP server, this guide can help. It covers the most common problems you may encounter and offers steps to help you resolve them quickly. ## Authentication and setup issues These problems usually occur early, during initial setup or while trying to connect using OAuth or API keys. ### OAuth errors or failures **What this means:** Some OAuth clients behave inconsistently across environments or platforms, which can interfere with MCP authentication. **What to do:** If you experience unpredictable behavior with OAuth-based setup, [open a support ticket](https://support.honeycomb.io/) or report the issue in the [Pollinators Slack Community](/troubleshoot/community/). We are actively working to improve compatibility and appreciate your input. ### Server connection problems **What this means:** The MCP server is not responding, or you are unable to establish a connection. **What to do:** * Confirm that you are using the correct endpoint: * US: `https://mcp.honeycomb.io/mcp` * EU: `https://mcp.eu1.honeycomb.io/mcp` * Make sure that your network allows outbound HTTPS traffic. * Check whether any proxies or middleware are interfering with HTTPS requests. ### API key authentication failures **What this means:** Your client is attempting to use an API key, but the request is being rejected. This may be due to formatting issues, platform-specific behavior, or missing permissions. **What to do:** * **Check the format**: Make sure your key is in the form `:`. The colon (`:`) is required. * **Try alternative approaches**: API key handling may vary across environments or clients. * If you are using `mcp-remote`, try concatenating the key ID, key secret, and the word `Bearer`, and passing this via environment variable with string expansion. * Try using native HTTP support (in this example, that would mean passing the `:` string directly as the `Authorization` header). * **Check permissions**: Make sure that your API key includes the necessary permissions. * **Confirm the key is active**: Expired or disabled keys will be rejected. ## Connection issues These issues typically occur when your client fails to authenticate, connect, or access MCP tools successfully. ### "Unauthorized" errors **What this means**: Your client attempted to connect to the MCP server but was rejected due to an authentication error. This can happen when: * Your API key is invalid or malformed * Your authentication headers are incorrect * Your OAuth token is expired or missing **What to do:** If you are using OAuth: 1. Check your active sessions on the **Integrations** tab of your Honeycomb account ([US](https://ui.honeycomb.io/account#integrations), [EU](https://ui.eu1.honeycomb.io/account#integrations)), and confirm that your session exists and includes the `mcp:read` scope, or the `environments:read` and `queries:read` scopes. 2. Try re-authenticating through your MCP client to refresh the session. If you are using API keys: 1. Verify both your key ID and key secret. 2. Ensure that your client sets the authentication header correctly. Some clients require the format `Bearer id:secret`, while others expect a concatenated `id:secret` string. ### No tools found or access denied **What this means:** You are authenticated, but none of the tools appear, or all tool calls fail due to authorization errors. This often indicates that Honeycomb Intelligence is not enabled for your Team. **What to do:** Ask your Team Owner to [enable Honeycomb Intelligence](/teams/manage-behavior#enable-honeycomb-intelligence) in your team settings. ### Session timeouts **What this means:** An agent that previously worked is now failing, often after a period of inactivity. MCP agent sessions may time out after 24 hours. If your agent suddenly stops responding or tools begin failing, the session may have expired. **What to do:** Start a new chat with your agent to re-establish the connection. ## Rate limits If your agent returns errors about rate limits, it means you have exceeded the allowed number of requests. ### "Rate Limit Exceeded" error **What this means:** The MCP server is temporarily rejecting requests due to too many recent calls. Per-tool limits vary: most tools share a default of 50 calls per minute, discovery and metadata tools allow higher limits, and expensive or mutating tools (like `get_service_map`, `create_trigger`, and `canvas_agent_invoke`) have lower limits. Rate limits are tied to your authentication method. API key limits apply to all requests made with that key. OAuth limits are per-user, shared across all sessions for that user. To explore the full per-tool matrix, visit [Rate Limits and Scopes](/integrations/mcp/tools/#rate-limits). You might receive an error message like: `Rate limit exceeded, please try again after