Skip to main content
Complete reference for all span attributes and metrics emitted by the aip-otel-exporter. These attributes follow OpenTelemetry Semantic Conventions for span naming and attribute structure.

Span attributes

aip.integrity_check — 22 attributes + 2 GenAI SIG aliases

The primary span for AIP integrity checkpoint results. Events emitted on this span:
  • aip.concern — One event per concern detected. Includes category, severity, description, and evidence.
  • aip.drift_alert — Emitted when a drift alert is active. Includes drift_direction and integrity_similarity.

aap.verify_trace — 8 attributes

Span for AAP trace verification results. Events emitted on this span:
  • aap.violation — One event per violation. Includes type, severity, description, and field.

aap.check_coherence — 5 attributes

Span for AAP value coherence check results (used in multi-agent coordination).

aap.detect_drift — 2 attributes

Span for AAP behavioral drift detection results. Events emitted on this span:
  • aap.drift_alert — One event per alert. Includes drift_direction, integrity_similarity, and sustained_checks.

policy.evaluate — 8 attributes

Span for policy evaluation results. Created when the Policy Engine evaluates a request against the active policy. Events emitted on this span:
  • policy.violation — One event per violation. Includes type (forbidden/capability_exceeded/unmapped_denied), tool, severity, and reason.

reclassification.process — 8 attributes

Span for violation reclassification. Created when a checkpoint is reclassified via the Reclassification API.

Span hierarchy

Spans are created as children of the current active span via context.active():

Metrics

13 metric instruments for aggregate monitoring:

AIP metrics

AAP metrics

Policy metrics

Reclassification metrics

GenAI SIG forward compatibility

The exporter includes forward-compatible aliases that track the emerging OTel GenAI SIG conventions for AI/ML observability: These aliases are emitted alongside the aip.* attributes on every aip.integrity_check span, ensuring forward compatibility as the OTel GenAI SIG conventions stabilize.

Dashboard templates

Pre-built Grafana and Datadog dashboards that consume these attributes and metrics are available in the aip-otel-exporter repository:
  • grafana-aip-overview.json — Fleet-wide integrity monitoring using aip.integrity_checks.total, aip.concerns.total, and aip.window.integrity_ratio
  • grafana-aip-detail.json — Per-agent deep-dive using all aip.integrity.* span attributes
  • datadog-aip-overview.json — Datadog importable dashboard

See also