jenkinsci / datadog-plugin

A Jenkins plugin used to forward metrics, events, and service checks to an account at Datadog, automatically.
https://plugins.jenkins.io/datadog/
MIT License
34 stars 48 forks source link

Update queue metrics to correctly calculate pipeline names #378

Closed nikita-tkachenko-datadog closed 8 months ago

nikita-tkachenko-datadog commented 9 months ago

Requirements for Contributing to this repository

What does this PR do?

Updates logic that calculates queue metrics. Queue metrics are tagged with job name. In case the queued item was a pipeline in a quiet period, the logic was not calculating the name correctly.

Description of the Change

Alternate Designs

Possible Drawbacks

Verification Process

Added an integration test.

Additional Notes

Release Notes

Review checklist (to be filled by reviewers)