Back to videos
Integrations

OpenTelemetry in DecisionRules: send traces, logs and metrics to Grafana or Datadog

This demonstration configures OpenTelemetry in a self-hosted DecisionRules deployment and inspects metrics, logs and traces in Grafana.

DecisionRules exports traces, logs and metrics over OTLP, so you can send observability data from your self-hosted deployment to Grafana, Datadog, an OpenTelemetry Collector or another OTLP-compatible platform. Jaeger can be used for distributed traces. Configuration happens entirely through environment variables on the server container, with no agent to install and no changes to your rules.

In this video Jakub sets it up on a local Docker deployment, runs a travel insurance Decision Flow, and then follows that request through Grafana: first the environment metrics, then the structured request and response logs from the Solver, then the trace for the flow execution.

Chapters

  • 0:00 Observability in a rules engine
  • 0:23 Docker and OTLP configuration
  • 1:10 Running a Decision Flow with child rules
  • 2:05 Metrics, logs and traces
  • 2:54 Solver logs and data sanitization
  • 3:15 Reading a full trace

Available since DecisionRules 1.25.2. Requires a license with telemetry enabled.

Frequently asked questions

How are Event Logs different from Audit Logs and Service Logs?

Event Logs show who changed what in your rules and when. Audit Logs show how each individual decision was made and what data was used and what the rule returned. Service Logs show all requests your systems sent to DecisionRules, including any errors.

Which observability platforms are supported?

Any OTLP-compatible platform. Grafana and Datadog are shown here, OpenTelemetry Collectors and existing enterprise monitoring stacks work the same way, and Jaeger can be used for distributed traces.

Do I need to change my rules?

No. Configuration happens on the server container through environment variables.

Can I follow one request across signals?

Traces, access logs and audit logs can share the same traceId and spanId. Metrics are exported as aggregate runtime measurements and are not tied to an individual request.