OpenTelemetry Configuration

OpenTelemetry gives kprobe application context. It tells kprobe which request, service, span, or transaction was active when a kernel event occurred.

Enable correlation

otel:
  enabled: true
  endpoint: otel-collector.observability.svc.cluster.local:4317

Emit these attributes when possible:

AttributeExample
service.nameledger-service
service.namespacepayments
deployment.environmentproduction
kprobe.transaction_idpay_123
http.route/payments/{id}/capture
db.operationwrite

Searchable business IDs

For incident response, the most useful field is the one operators already know:

payment_id
query_id
order_id
job_id
transaction_id

Map that value to kprobe.transaction_id or configure a custom transaction field.