-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support "ignore_tags" configuration #9392
Conversation
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more.
|
datadog_checks_base/datadog_checks/base/checks/openmetrics/mixins.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also update this: https://github.com/Datadog/integrations-core/blob/54232b69009a38e7f530c5b4c97ec89857df0215/datadog_checks_dev/datadog_checks/dev/tooling/templates/configuration/instances/openmetrics.yaml
And run ddev validate config -s
for syncing everything
Oh and style is failing as well:
|
618c4ce
to
7ea3f2c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 for docs
f9b4aa9
to
23f8539
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should have regex for v2 and wildcard for v1. This makes it confusing for users once we upgrade older openmetrics integration.
Also let's update the conf.yaml description to mention these are regexes
gitlab_runner/datadog_checks/gitlab_runner/config_models/defaults.py
Outdated
Show resolved
Hide resolved
gitlab_runner/datadog_checks/gitlab_runner/config_models/instance.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good,
Just a small comment about some changes that doesn't seem to be linked to the feature.
e3b6624
to
aee9171
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
What does this PR do?
Introduce a new config
ignore_tags
in theopenmetrics
check.Motivation
openmetrics
check is configured to collect custom metricsAdditional Notes
Review checklist (to be filled by reviewers)
changelog/
andintegration/
labels attached