jenkinsci / opentelemetry-plugin

Monitor and observe Jenkins with OpenTelemetry.
https://plugins.jenkins.io/opentelemetry/
Apache License 2.0
100 stars 53 forks source link

Propagate trace context to Jenkins build agents #908

Closed cyrille-leclerc closed 3 months ago

cyrille-leclerc commented 4 months ago

Propagate trace context to Jenkins build agents so plugins that execute code in the build agent have end to end view on their code execution.

It's disabled by default, to enable it, set the following configuration options through the Jenkins OTel Plugin Config screen:

otel.instrumentation.jenkins.remoting.enabled=true
otel.instrumentation.jenkins.agent.enabled=true

image

Testing done

Submitter checklist

cyrille-leclerc commented 3 months ago

@timja FYI I just need to add documentation on the feature flags otel.instrumentation.jenkins.agent.enabled=true|false and otel.instrumentation.jenkins.remoting.enabled=true|false and it will be ready for review.

cyrille-leclerc commented 3 months ago

@kuisathaverat please review