Appearance
OTLP Ingestion & Export
Blackspool ingests standard OpenTelemetry traces over HTTP so you can instrument LangGraph, CrewAI, PydanticAI, OpenAI Agents, Vercel AI SDK, or custom Python/TypeScript agents without vendor lock-in.
Endpoints & transport
- OTLP/HTTP:
POST /v1/traces- Content types:
application/json(http/json) andapplication/x-protobuf(http/protobuf) - Compression: optional
Content-Encoding: gzip - Authentication:
Authorization: Bearer <your-api-key>
- Content types:
- Structured JSON events:
POST /v1/events- Accepts a single span object, an array of spans, or
{ events, trace_complete }with optionalContent-Encoding: gzip.
- Accepts a single span object, an array of spans, or
Supported attribute conventions
Blackspool automatically normalizes span attributes from common AI agent libraries:
| Convention | Model | Tokens | Payloads |
|---|---|---|---|
| OpenTelemetry GenAI SemConv | gen_ai.request.model | gen_ai.usage.input_tokens, gen_ai.usage.output_tokens | gen_ai.prompt, gen_ai.completion |
| OpenInference | llm.model_name | llm.token_count.prompt, llm.token_count.completion | input.value, output.value |
| Vercel AI SDK | ai.model.id | ai.usage.promptTokens, ai.usage.completionTokens | ai.prompt.messages, ai.response.text |
- Agent name:
service.nameon the resource (oragent.name) - Environment:
deployment.environment.name(ordeployment.environment) — supportsproduction,staging, andunspecified - Explicit cost:
gen_ai.cost.usdorcost_usd; when omitted, Blackspool automatically estimates USD cost for recognized OpenAI, Anthropic, and Gemini models.
Retention & anomaly filtering
Every run is evaluated as a complete trace before long-term retention:
- Always retained in full: errors, timeouts, repeated tool loops, slow runs, and token spikes.
- Routine healthy runs: automatically sampled so high-volume production fleets stay fast and cost-effective without turning tracing off.
Data export & Grafana
Your data is never locked in. From any workspace, you can:
- Export Parquet (Zstd-compressed) for offline analysis in DuckDB, Pandas, or Polars
- Export Apache Arrow IPC streams for programmatic pipelines
- Connect Grafana via the built-in time-series endpoint for latency, token volume, and spend dashboards