jenkinsci / opentelemetry-plugin

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

Add step/stage results to span #742

Closed tobyp closed 6 months ago

tobyp commented 8 months ago

What feature do you want to see added?

Jenkins provides more detailed step/stage results than OTEL's Ok/Error/Unset, such as "Not Executed", "Unstable", and more. These statuses are also what Jenkins users are accustomed to seeing in the Jenkins classic/Blue Ocean UIs. Similar information is already provided at a build level (ci.pipeline.run.result).

I propose adding a jenkins.pipeline.step.result attribute to step and stage spans with this information.

Upstream changes

No response