Architecture
All telemetry flows through the OpenTelemetry Collector, then routes to dedicated backends:- Data Sources
- Collection & Storage
- Data Flow
Automatic Instrumentation
The Hexr SDK instruments everything without extra code:@hexr_agent at decoration time.
Trace Spans
LLM Guard Span Attributes
When LLM Guard blocks a prompt or response, additional attributes are set on the parenthexr.llm.chat span:
Blocked requests set the span status to
ERROR with "Blocked by LLM Guard" or "Output blocked by LLM Guard".
Metrics
Agent Metrics
Tool & Credential Metrics
LLM Metrics
A2A Metrics
LLM Guard Metrics
Grafana Dashboards
Hexr ships with two pre-built Grafana dashboards:Platform Overview (23 panels)
Covers system-wide health:- Agent pod status and container health
- Credential exchange rates and cache hit ratios
- mTLS connection counts and TLS handshake latency
- SPIRE entry counts and SVID rotation rates
- OTel Collector throughput (traces/sec, metrics/sec)
- Vault operation rates and latency
- Gateway tool invocation rates
A2A Communication (19 panels)
Covers inter-agent messaging:- Task lifecycle (submitted → working → completed/failed)
- Message throughput per agent pair
- Task duration histograms
- SSE streaming connection counts
- Valkey task store operations
- Error rates by task state transition
- Cross-namespace communication patterns
GenAI Semantic Conventions
hexr_llm() follows the OpenTelemetry GenAI semantic conventions:
This means your Hexr traces are compatible with any OTel-native LLM observability tool.