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

Apply included/excluded job filters when publishing queue metrics #380

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 publishes metrics related to the Jenkins queue. The plugin config has inputs to specify job names that should be included/excluded from tracking. The queue monitoring logic is updated to consider these filters when publishing metrics for specific jobs.

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)