apache / incubator-kie-kogito-runtimes

Kogito Runtimes - Kogito is a cloud-native business automation technology for building cloud-ready business applications.
http://kogito.kie.org
Apache License 2.0
536 stars 206 forks source link

Opentelemetry for Kogito Workflows #3156

Open tech-bee-10 opened 1 year ago

tech-bee-10 commented 1 year ago

Description

I have created Kogito Workflow which involved AsyncAPI operators using Kafka for publishing and subscribing. I have integrated Opentelemetry following this doc: https://quarkus.io/guides/opentelemetry#cdi

What is happening is, when the workflow transitions from one step to another, the tracing context is not being carried forward and it uses different context at different steps. It would be good to have option to have same tracing context throughout the workflow which makes it easy to track the full execution flow traces using same trace_id.

Implementation ideas

No response

radtriste commented 1 year ago

@fjtirado @cristianonicolai

fjtirado commented 6 months ago

@rand-guy sorry for the delay on taking a look into this. The tracing context is not the same one once the workflow is resumed after receiving an event? Can you provide a simple reproducer to be sure we address the same issue?