honeycomb-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and authenticate Honeycomb webhooks. Use when setting up a Honeycomb webhook recipient for Triggers, SLO burn alerts or Anomaly Detection, checking…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Honeycomb Webhooks
Honeycomb (observability) can notify a webhook when a Trigger fires, an SLO burn alert fires or
Anomaly Detection raises a signal. Webhooks are not signed. Every request carries the webhook
integration's Shared Secret as plain text in the X-Honeycomb-Webhook-Token header, and your
endpoint authenticates the request by comparing that header with the secret you stored.
Hookdeck setup note: Set a Shared Secret on the Honeycomb webhook. Webhooks without one send nothing to verify.
A static shared credential authenticates the sender, not the body, and gives no replay protection (no signature, no timestamp). Use HTTPS and rotate the Shared Secret if it leaks.
When to Use This Skill
- How do I receive Honeycomb webhooks?
- How do I verify the
X-Honeycomb-Webhook-Tokenheader? - Does Honeycomb sign webhook payloads? (No: use the Shared Secret)
- How do I handle Honeycomb trigger, SLO burn alert or anomaly notifications?
- How do I deduplicate Honeycomb deliveries with
X-Honeycomb-Webhook-Delivery-ID? - Why does my Honeycomb webhook endpoint return 401?
Verification (core)
const crypto = require('crypto');
// Hash both sides: equal-length buffers, so timingSafeEqual never throws.
function safeEqual(a, b) {
const ha = crypto.createHash('sha256').update(String(a)).digest();
const hb = crypto.createHash('sha256').update(String(b)).digest();
return crypto.timingSafeEqual(ha, hb);
}
function verifyHoneycombRequest(headers, secret = process.env.HONEYCOMB_WEBHOOK_SECRET) {
if (!secret) return false; // never accept when unconfigured
const received = headers['x-honeycomb-webhook-token']; // whole value, no prefix
return Boolean(received) && safeEqual(received, secret);
}
- Header:
X-Honeycomb-Webhook-Token: <Shared Secret>, sent on every request when a secret is set. Look it up case-insensitively and compare the whole value. - Return
401on a missing header or mismatch, for every HTTP method, before touching the body. - Read the body raw (
express.raw({ type: '*/*' })) and parse it only after the check. The body isapplication/json, but an empty body must not break the handler. - Python:
hmac.compare_digeston bytes (encode both sides; never passstr, which raises on non-ASCII).
For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.
HTTP Methods
Honeycomb's docs don't name the HTTP method, so the examples accept GET, POST, PUT, PATCH and DELETE on the webhook route and check the credential first for each. Hookdeck's Honeycomb source accepts only the methods you allow (custom methods), so any other method Honeycomb uses must also be allowed on the source.
Alert Types
Honeycomb has no event-type field or header. The notification kind comes from where the webhook is attached:
Kind (kind in the examples) |
.Alert.Status values |
|---|---|
Trigger (trigger) |
TRIGGERED, OK |
SLO Budget Rate burn alert (budget_rate) |
TRIGGERED, OK |
SLO Exhaustion Time burn alert (exhaustion_time) |
TRIGGERED, OK |
Anomaly Detection (anomaly) |
Detected, Resolved |
The standard payload carries the result of the alert as JSON but isn't documented field by field.
To get a body you can rely on, enable a custom payload template for each alert type on the
webhook's Payload tab and put a constant kind in each one. The examples classify on that
field and treat anything else as unknown. A Trigger template, using Honeycomb's documented
variables:
{
"kind": "trigger",
"status": "{{ .Alert.Status }}",
"summary": "{{ .Alert.Summary }}",
"instance_id": "{{ .Alert.InstanceID }}",
"is_test": {{ .Alert.IsTest }}
}
Wrap array variables such as .Datasets in toJson, or the send fails. A webhook with custom
payloads can only be used by the alert types it has a template for.
Idempotency and Timeouts
X-Honeycomb-Webhook-Delivery-IDis unique per delivery and stable across retries: use it to deduplicate.- Respond within 15 seconds; a timeout fails the delivery with no retry. Do slow work asynchronously.
- Honeycomb retries up to three times on 408, 502, 429/503 with
Retry-After, and connection failures. Other 4xx and 5xx fail without a retry, so a401is not retried.
Environment Variables
HONEYCOMB_WEBHOOK_SECRET=your-shared-secret # Shared Secret from the Honeycomb webhook integration
Local Development
Honeycomb can't reach localhost. Tunnel with the Hookdeck CLI (no account required):
npx hookdeck-cli listen 3000 honeycomb --path /webhooks/honeycomb
Use the printed URL as the Webhook URL in Honeycomb.
Resources
- references/overview.md - What Honeycomb webhooks are, alert kinds
Установить honeycomb-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл honeycomb-webhooks?
Receive and authenticate Honeycomb webhooks. Use when setting up a Honeycomb webhook recipient for Triggers, SLO burn alerts or Anomaly Detection, checking the X-Honeycomb-Webhook-Token Shared Secret, debugging 401s, or deduplicating deliveries with X-Honeycomb-Webhook-Delivery-ID.
Как установить скилл honeycomb-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл honeycomb-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic