Loading...
Loading...
Investigates distributed application performance using PostHog APM (OpenTelemetry span) data via MCP. Use when the user asks about service traces, slow HTTP/database spans, error spans, trace IDs, or span attributes — not LLM analytics traces or product logs. Uses posthog:query-apm-spans, posthog:apm-trace-get, posthog:apm-services-list, posthog:apm-attributes-list, and posthog:apm-attribute-values-list.
npx skill4agent add posthog/skills exploring-apm-traces$ai_*posthog:query-logsposthog:logs-*| Tool | Purpose |
|---|---|
| Search and filter spans (analytics-style query; parameters live under |
| Fetch all spans for a hex |
| List distinct service names |
| List span or resource attribute keys |
| List values for a specific attribute key |
posthog:execute-sql| Field | Description |
|---|---|
| Hex ID linking spans in one trace |
| Hex ID for this span |
| Parent span hex ID (null for root) |
| Operation name (e.g. |
| 0=Unspecified, 1=Internal, 2=Server, 3=Client, 4=Producer, 5=Consumer |
| Emitting service |
| 0=Unset, 1=OK, 2=Error |
| Start time (ISO 8601) |
| End time (ISO 8601) |
| Duration in nanoseconds |
| Whether this is the trace entry |
query.filterGroupspantrace_idspan_iddurationnamekindstatus_codespan_attributehttp.methodspan_resource_attributeposthog:apm-services-list{}posthog:query-apm-spansquerydurationposthog:apm-trace-get{ "trace_id": "<hex from step 2>" }posthog:query-apm-spansquery.filterGroupstatus_codeexactposthog:apm-attributes-list"http"posthog:apm-attribute-values-listposthog:query-apm-spansquery-apm-spansqueryquery.dateRange