Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prefer distribution metrics options #1100

Merged
merged 3 commits into from
Apr 21, 2024
Merged

Add prefer distribution metrics options #1100

merged 3 commits into from
Apr 21, 2024

Conversation

int128
Copy link
Owner

@int128 int128 commented Apr 20, 2024

Problem to solve

Since v1.74.0, some distribution metrics have been added. It may increase the custom metrics cost of Datadog. I think the gauge metrics are enough for analysis in the most cases.

⚠️ Breaking changes

Add prefer-distribution- options

By default, the gauge metrics are enabled, and the distribution metrics are disabled.

To enable the distribution metrics,

      prefer-distribution-workflow-run-metrics: true
      prefer-distribution-job-metrics: true
      prefer-distribution-step-metrics: true

Remove disable-distribution-metrics option

For consistency, disable-distribution-metrics is removed.

Related issues

@int128 int128 changed the title add prefer Add prefer distribution metrics options Apr 20, 2024
@int128 int128 marked this pull request as ready for review April 21, 2024 00:58
@int128 int128 merged commit 4eca8c3 into main Apr 21, 2024
3 checks passed
@int128 int128 deleted the add-prefer branch April 21, 2024 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant