Skip to content

Integrating Honeycomb with AWS DevOps Agent for Automated Investigations

9 minute read
Content level: Advanced
1

AWS DevOps Agent ships native telemetry integrations for CloudWatch, Datadog, Dynatrace, New Relic, Splunk, and Grafana, but not Honeycomb. This article shows how to connect Honeycomb anyway, in both directions: registering Honeycomb's MCP server so the agent can query your Honeycomb telemetry during an investigation, and wiring a Honeycomb Trigger to automatically start a DevOps Agent investigation when an alert fires.

Overview

Honeycomb is a high-cardinality, event- and trace-first observability platform. Because it is not one of AWS DevOps Agent's native integrations, you connect it through two open extension points:

  1. Custom MCP server (pull): Register Honeycomb's Model Context Protocol (MCP) server as a capability provider. During an investigation, the agent discovers Honeycomb's tools and queries your live telemetry.
  2. Generic webhook (push): A Honeycomb Trigger fires a webhook at the DevOps Agent webhook endpoint, which starts an autonomous investigation.

These two paths are independent, so you can set up either or both. The MCP integration gives the agent access to Honeycomb data; the webhook gives Honeycomb the ability to trigger the agent.

Architecture diagram: Honeycomb and AWS DevOps Agent, showing the push path and the pull path

Two independent paths: push (Honeycomb Trigger fires a webhook to start an investigation) and pull (the agent queries the Honeycomb MCP server during an investigation).

Prerequisites

AWS side

  • An AWS DevOps Agent Agent Space and access to the DevOps Agent console.
  • For the MCP integration, the Agent Space's source account must be able to register a third-party / custom MCP server (see the authorization note in Part 1).

Honeycomb side

  • A Honeycomb team with Honeycomb Intelligence enabled (required for MCP).
  • Team-owner access (only team owners can create a Management API key).
  • Your region's MCP endpoint:
    • US: https://mcp.honeycomb.io/mcp
    • EU: https://mcp.eu1.honeycomb.io/mcp

Part 1: Connect Honeycomb's MCP server to DevOps Agent

This lets the agent query Honeycomb during investigations.

Step 1.1: Enable Honeycomb Intelligence and create a Management API key

First, confirm Honeycomb Intelligence is enabled for your team, under Team Settings → Team Details.

Honeycomb Team Details page showing Honeycomb Intelligence enabled

Honeycomb Intelligence must be enabled before the MCP server will work.

Next, create the Management API key:

  1. Go to Account → Team Settings → API Keys → Create Management API Key.
  2. Name it (for example, devops-agent-mcp).
  3. Under Permissions, grant the scopes the MCP server needs, then create the key.
  4. Copy the Key ID and Key Secret; you cannot view them again.

The credential value is the concatenation <KEY_ID>:<SECRET_KEY>, sent as Authorization: Bearer <KEY_ID>:<SECRET_KEY>.

Honeycomb Create Management API key dialog with Model Context Protocol scope

Grant the Model Context Protocol scope so the key can drive MCP operations.

Step 1.2: Register the MCP server in DevOps Agent

  1. DevOps Agent console → Capability Providers → find MCP Server → Register.
  2. Name: honeycomb
  3. Endpoint URL: https://mcp.honeycomb.io/mcp (or the EU endpoint)
  4. Choose Next.

DevOps Agent MCP server details step with name honeycomb and the Honeycomb MCP endpoint URL

Step 1 of registration: name the server and enter the Honeycomb MCP endpoint.

Step 1.3: Authorization with an API key

On the Authorization Flow step, select API Key.

DevOps Agent Authorization Flow step with API Key selected

Choose API Key as the authorization flow.

On the Authorization Configuration step, enter:

  • API Key Name: a label such as honeycomb
  • API Key Header: Authorization
  • API Key Value: Bearer <KEY_ID>:<SECRET_KEY>

DevOps Agent Authorization Configuration step with the Authorization header and Bearer value

Honeycomb expects the credential in the Authorization header as a Bearer value.

Review the configuration and submit.

DevOps Agent Review and submit step showing the MCP server and authorization configuration

Review and submit to register the MCP server.

Step 1.4: Confirm tools and allowlist read-only tools per Agent Space

After registration, the Honeycomb MCP server appears under Sources with its tools connected. Open your Agent Space and allowlist only the read-only Honeycomb tools you need (see Honeycomb's MCP Tools Reference). Tool names are capped at 64 characters, and there is a per-Agent-Space tool quota.

DevOps Agent MCP Server sources list showing the honeycomb server with connected tools

The registered Honeycomb MCP server with its tools connected.


Part 2: Have data to test against

Most teams adopting this integration already send telemetry to Honeycomb. If so, skip this section and point your test Trigger (Part 3) at an existing dataset.

If you need test data purely to exercise the integration (for example, in a sandbox environment with no live telemetry), generate a small sample dataset the fastest way, via Honeycomb's "Send Data with AI" flow:

  1. Connect an MCP client (Amazon Q, Claude Code, Cursor, VS Code, etc.) to the Honeycomb MCP. Example (Claude Code): claude mcp add honeycomb --transport http https://mcp.honeycomb.io/mcp
  2. Run Begin Honeycomb onboarding and choose sample data.

This gives you a dataset with events you can build a Trigger on. For a production-realistic test, instrument a sample app with OpenTelemetry instead.


Part 3: Trigger an automated investigation from Honeycomb

This is the push direction: a Honeycomb Trigger fires a webhook that starts a DevOps Agent investigation.

Step 3.1: Create the DevOps Agent webhook (use API key, not HMAC)

  1. DevOps Agent console → your Agent Space → Capabilities tab → Agent Space Webhook table → Add webhook.
  2. Authentication type: API key (bearer token), not HMAC.
  3. Copy the webhook URL and token (shown once).

Why not HMAC? A DevOps Agent HMAC webhook requires the sender to compute a per-request SHA-256 signature over the timestamp and payload and send it in x-amzn-event-signature. Honeycomb's webhook recipients send static headers and templated JSON, and do not compute an HMAC signature. So Honeycomb can only authenticate with a static bearer token. An Agent Space allows one HMAC and one API-key webhook simultaneously, so you can keep both.

DevOps Agent Agent Space Webhook configured with API key auth type and a Connected status

The Agent Space webhook using API-key authentication, connected.

Step 3.2: Create the Honeycomb webhook recipient

  1. Honeycomb → Team Settings → Integrations → Trigger and SLO Recipients → Add Integration.
  2. Provider: Webhook.
  3. Name: devops-agent.
  4. Webhook URL: the DevOps Agent API-key webhook URL (make sure it is the API-key one, not the HMAC one).
  5. Leave Shared Secret blank, because DevOps Agent checks the Authorization header, not Honeycomb's X-Honeycomb-Webhook-Token.

Step 3.3: Add the Authorization header

On the recipient's Headers tab, add a header:

  • Name: Authorization
  • Value: Bearer <token> (the DevOps Agent webhook token)

Content-Type, User-Agent, and X-Honeycomb-Webhook-Token are reserved and cannot be used; Authorization is allowed. You can add up to 5 custom headers.

Step 3.4: Define the payload template

On the recipient's Payload tab, enable Triggers and paste this template. It maps Honeycomb Trigger variables to DevOps Agent's required schema:

{
  "eventType": "incident",
  "incidentId": "{{ .Alert.InstanceID }}",
  "action": "created",
  "priority": "HIGH",
  "title": "Honeycomb Trigger: {{ .Name }}",
  "description": "{{ .Alert.Description }}",
  "timestamp": "{{ .Alert.Timestamp }}",
  "service": "<your-service-name>"
}

Field notes:

  • incidentId uses {{ .Alert.InstanceID }}, the unique ID for this firing, so each firing maps to a distinct investigation and de-duplicates correctly. Do not use {{ .ID }} (the trigger definition ID, which is identical across firings).
  • priority must be one of CRITICAL | HIGH | MEDIUM | LOW | MINIMAL; action one of created | updated | closed | resolved.
  • Replace <your-service-name> with a real service label.

Honeycomb webhook recipient Payload tab with the DevOps Agent JSON templat

The recipient's Payload tab with the DevOps Agent template. Redact the webhook URL before publishing.

Step 3.5: Attach the recipient to a Trigger

  1. Honeycomb → Triggers → New Trigger.
  2. Define a query on your dataset (for example, COUNT of error events) with a threshold you can breach on demand.
  3. In Recipients, Add Recipient → select the devops-agent webhook → Save Trigger.

Step 3.6: Fire it

Drive data past the threshold. The Trigger fires, POSTs the templated payload with the bearer header, and DevOps Agent starts an investigation, visible in the Incident Response tab of the Agent Space web app.

DevOps Agent Incident Response Dashboard showing an investigation triggered by the Honeycomb event channel

The investigation opened automatically, triggered by the Honeycomb webhook (Event Channel).

Opening the investigation shows the agent's timeline and findings.

DevOps Agent investigation timeline for the Honeycomb-triggered incident

The investigation timeline. In this sandbox run the test environment had no telemetry, so the agent correctly reported that there was no data to investigate; the trigger-to-webhook-to-investigation path still fired end to end.


Troubleshooting

SymptomLikely causeFix
Honeycomb test returns 4xxRecipient points at the HMAC webhook URL, or wrong/garbled tokenConfirm the URL is the API-key webhook; re-copy Authorization: Bearer <token> with no stray spaces
200 but no investigationMisformatted or duplicate payloadEnsure incidentId and timestamp are unique; the Honeycomb UI Test may render variables empty or constant, so trigger a real threshold breach instead

To isolate whether a problem is on the Honeycomb side or the agent side, send the documented bearer-token request to the webhook yourself with a unique incidentId and timestamp. If that opens an investigation, the agent side is fine and the issue is in the Honeycomb Trigger rendering.

Security considerations

  • Read-only: allowlist only read-only Honeycomb MCP tools and use a Read-scoped Management key.
  • Scope isolation: the Honeycomb key should carry no scopes beyond what MCP needs.
  • Secret handling: DevOps Agent shows webhook and MCP secrets once, so store them securely.
  • Auditability: the MCP endpoint URL appears in your account's CloudTrail logs.

What this pattern does and does not do

Does: lets DevOps Agent query Honeycomb telemetry during investigations, and lets Honeycomb alerts start investigations automatically. Does not: replace Honeycomb, perform application-level remediation, or migrate historical data. Honeycomb licensing and any compliance approvals remain your responsibility.

References