Skip to content

Pass opentelemetry tracing context to jobsink #8607

@cobyge

Description

@cobyge

I would be willing to implement this, I would like to know if this is something you are willing to accept.

Problem
I have a chain of Jobsinks which I want to instrument with opentelemetry and link each of their spans together
Today, knative-eventing does not pass tracing parameters to jobsinks, and so there is no way to connect the traces.

I think the correct thing to do here would be propagating the ce-traceparent and ce-tracestate from within the jobsink HTTP handler, before the event is saved as a secret. This would allow adding the current span and instrumenting through multiple jobsinks one after the other (or in parallel)

Exit Criteria
Jobsinks able to link themselves to the span of the jobsink binary

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions