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
30 stars 48 forks source link

Refactor Datadog clients #408

Open nikita-tkachenko-datadog opened 3 months ago

nikita-tkachenko-datadog commented 3 months ago

Requirements for Contributing to this repository

What does this PR do?

Refactors the "client" classes that the plugin uses to interact with Datadog Agent or Datadog backend: the code is simplified, some redundant state is being removed, client singleton instance now lives inside a dedicated holder class (that used to be client factory).

Description of the Change

Alternate Designs

Possible Drawbacks

Verification Process

Additional Notes

Release Notes

Review checklist (to be filled by reviewers)