Architecture
TealTiger emits traces, metrics, and logs via OTLP. The OpenTelemetry Collector routes them to your SIEM/APM platform.Datadog
Step 1: Configure TealTiger OTLP export
Step 2: Configure OTel Collector for Datadog
Step 3: Run the Collector
Datadog Dashboard
Once data flows, you’ll see in Datadog:- APM Traces: Each
teal.evaluate()call appears as a span with decision, reason codes, and risk score - Custom Metrics:
tealtiger.decisions.total,tealtiger.decisions.denied,tealtiger.cost.total - Logs: Audit events with full decision context
- Decision rate (ALLOW vs DENY over time)
- P95 evaluation latency
- Cost per provider/model
- Top reason codes for denials
- Risk score distribution
Splunk
Step 1: Configure TealTiger OTLP export
Same as Datadog — TealTiger exports to the OTel Collector.Step 2: Configure OTel Collector for Splunk
Step 3: Run the Collector
Splunk Queries
Search for TealTiger governance events:What TealTiger exports via OTLP
Traces (Spans)
Everyteal.evaluate() call emits a span:
| Attribute | Example | Description |
|---|---|---|
tealtiger.decision | ALLOW / DENY | Policy decision |
tealtiger.reason_codes | ["BUDGET_EXCEEDED"] | Why the decision was made |
tealtiger.risk_score | 75 | Computed risk score |
tealtiger.policy_id | budget.daily.v1 | Policy that triggered |
tealtiger.mode | ENFORCE | Policy mode |
tealtiger.provider | openai | LLM provider |
tealtiger.model | gpt-4 | Model used |
tealtiger.cost | 0.05 | Estimated cost |
Metrics
| Metric | Type | Description |
|---|---|---|
tealtiger.decisions.total | Counter | Total decisions made |
tealtiger.decisions.allowed | Counter | Allowed decisions |
tealtiger.decisions.denied | Counter | Denied decisions |
tealtiger.evaluation.duration_ms | Histogram | Evaluation latency |
tealtiger.cost.total | Counter | Total estimated cost |
tealtiger.tokens.input | Counter | Input tokens processed |
tealtiger.tokens.output | Counter | Output tokens generated |
Logs
Audit events are exported as structured logs with the full decision payload.Other Platforms
The same OTLP pattern works for any platform with an OTel Collector exporter:| Platform | Exporter | Docs |
|---|---|---|
| New Relic | otlp exporter | New Relic OTLP |
| Elastic | elasticsearch exporter | Elastic OTel |
| Grafana Cloud | otlp exporter | Grafana OTLP |
| Honeycomb | otlp exporter | Honeycomb OTel |
| Dynatrace | otlphttp exporter | Dynatrace OTel |
Next Steps
OpenTelemetry
Core OTLP integration details
Audit Schema
Full audit event format
Slack / Discord
Real-time alert webhooks
All Integrations
View all integrations

