Integrating Honeycomb with AWS DevOps Agent for Automated Investigations
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:
- 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.
- 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.
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
- US:
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 Intelligence must be enabled before the MCP server will work.
Next, create the Management API key:
- Go to Account → Team Settings → API Keys → Create Management API Key.
- Name it (for example,
devops-agent-mcp). - Under Permissions, grant the scopes the MCP server needs, then create the key.
- 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>.
Grant the Model Context Protocol scope so the key can drive MCP operations.
Step 1.2: Register the MCP server in DevOps Agent
- DevOps Agent console → Capability Providers → find MCP Server → Register.
- Name:
honeycomb - Endpoint URL:
https://mcp.honeycomb.io/mcp(or the EU endpoint) - Choose Next.
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.
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>
Honeycomb expects the credential in the Authorization header as a Bearer value.
Review the configuration and submit.
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.
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:
- 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 - Run
Begin Honeycomb onboardingand 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)
- DevOps Agent console → your Agent Space → Capabilities tab → Agent Space Webhook table → Add webhook.
- Authentication type: API key (bearer token), not HMAC.
- 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.
The Agent Space webhook using API-key authentication, connected.
Step 3.2: Create the Honeycomb webhook recipient
- Honeycomb → Team Settings → Integrations → Trigger and SLO Recipients → Add Integration.
- Provider: Webhook.
- Name:
devops-agent. - Webhook URL: the DevOps Agent API-key webhook URL (make sure it is the API-key one, not the HMAC one).
- Leave Shared Secret blank, because DevOps Agent checks the
Authorizationheader, not Honeycomb'sX-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:
incidentIduses{{ .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).prioritymust be one ofCRITICAL | HIGH | MEDIUM | LOW | MINIMAL;actionone ofcreated | updated | closed | resolved.- Replace
<your-service-name>with a real service label.
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
- Honeycomb → Triggers → New Trigger.
- Define a query on your dataset (for example,
COUNTof error events) with a threshold you can breach on demand. - In Recipients, Add Recipient → select the
devops-agentwebhook → 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.
The investigation opened automatically, triggered by the Honeycomb webhook (Event Channel).
Opening the investigation shows the agent's timeline and findings.
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
| Symptom | Likely cause | Fix |
|---|---|---|
| Honeycomb test returns 4xx | Recipient points at the HMAC webhook URL, or wrong/garbled token | Confirm the URL is the API-key webhook; re-copy Authorization: Bearer <token> with no stray spaces |
| 200 but no investigation | Misformatted or duplicate payload | Ensure 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
- AWS: Connecting MCP Servers
- AWS: Invoking DevOps Agent through Webhook
- AWS: Autonomous incident response
- AWS: Connecting to privately hosted tools
- Honeycomb: Connect to Honeycomb MCP
- Honeycomb: Send Data with AI Agent
- Honeycomb: Send Alerts to Webhooks
- Honeycomb: Custom Webhook Variables
- Language
- English
Relevant content
- Accepted Answer
asked 5 months ago
- Accepted Answer
asked 11 days ago
- Accepted Answer
AWS OFFICIALUpdated 3 months ago