Skip to content

Add workflow_job.{queued,waiting,in_progress} spans to github receiver to allow measuring queueing latency #39081

Open
@arianvp

Description

@arianvp

Component(s)

receiver/github

Is your feature request related to a problem? Please describe.

Currently the webhook receiver only handles workflow_job.completed event
however it would be very useful to also handle the workflow_job.queued, workflow_job.waiting and workflow_job.in_progress transitions

as with this we can measure the latency of how long it took for a job to be picked up by a runner. This is a useful signal for self-hosted runners as you can detect under-provisioning.

Similarly there is also workflow_run.{requested,in_progress,completed} that would be useful.

Describe the solution you'd like

the code is extended to also add spans for the periods where the workflow job is in queued, waiting and in_progress state.

Describe alternatives you've considered

None

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions