Overview
OpenSRE queries Honeycomb for distributed traces during alert investigations — identifying slow spans, high-error services, and query patterns correlated with incidents.Prerequisites
- Honeycomb account (classic or environments-based)
- API key with query access
Setup
Option 1: Interactive CLI
__all__), and API URL.
Option 2: Environment variables
Add to your.env:
Option 3: Persistent store
base_url (not HONEYCOMB_API_URL).
Option 4: Multi-instance
For multiple Honeycomb environments or keys, use multi-instance withHONEYCOMB_INSTANCES:
HONEYCOMB_INSTANCES is set, the single-instance HONEYCOMB_* variables are ignored.
Credentials
- In Honeycomb, go to Account → API Keys
- Click Create API Key
- Set the environment and enable Query Data permission
- Copy the key
Investigation tools
Arguments the planner commonly supplies:
Verify
Troubleshooting
Security
- Use a dedicated read-only API key scoped to query access.
- Store the API key in
.envor your secret manager — not in source control.