Skip to content

OpenTelemetry Instrumentation Support for Drools Rule Execution LifecycleΒ #6594

@Subhanshu20135

Description

@Subhanshu20135

Hi Maintainers,

I am currently using Drools v10.1.0 in a Spring Boot microservices architecture and wanted native support for OpenTelemetry instrumentation to improve observability of rule execution.

While OpenTelemetry integration exists for common components (HTTP, JDBC, Kafka, etc.), we could not find any official or community-supported instrumentation for Drools rule execution lifecycle (e.g., KieSession.execute(), rule firing, agenda events).

Since rule evaluation is a critical part of our business logic, the lack of tracing support makes it difficult to:

  • Measure rule execution latency
  • Identify which rules fired during a request
  • Correlate rule behavior with distributed traces
  • Debug production issues related to rule evaluation

Understand if there are recommended extension points for instrumentation in v10.2.0.

I would be happy to contribute my implementation if it aligns with the project direction.

21-02: Added a PR for this Change: #6595

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    πŸ“‹ Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions