-
Notifications
You must be signed in to change notification settings - Fork 263
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
feature(prometheus.exporter.mongodb_): Add compatible_mode param for integration #2611
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Alexander Mukhin <67650646+lomobot@users.noreply.github.com>
Signed-off-by: Alexander Mukhin <67650646+lomobot@users.noreply.github.com>
Signed-off-by: Alexander Mukhin <67650646+lomobot@users.noreply.github.com>
docs/sources/reference/components/prometheus/prometheus.exporter.mongodb.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/prometheus/prometheus.exporter.mongodb.md
Outdated
Show resolved
Hide resolved
…er.mongodb.md Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
…er.mongodb.md Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Docs are OK. Over to @grafana/grafana-alloy-maintainers for code review :-) |
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.
In my usecase i need to enable --compatible-mode flag for mongodb_exporter to get old metrics naming.
@lomobot I don't see a problem with making this configurable, but I don't understand why you need it if you need the old metric names. IIUC, when compatible_mode
is true
, the exporter uses the old names. And at the moment in Alloy it is always true
? Do you mean that you need to use the new metric names?
docs/sources/reference/components/prometheus/prometheus.exporter.mongodb.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/prometheus/prometheus.exporter.mongodb.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/prometheus/prometheus.exporter.mongodb.md
Outdated
Show resolved
Hide resolved
…er.mongodb.md Co-authored-by: Paulin Todev <paulin.todev@gmail.com>
…er.mongodb.md Co-authored-by: Paulin Todev <paulin.todev@gmail.com>
…er.mongodb.md Co-authored-by: Paulin Todev <paulin.todev@gmail.com>
Hi! Yes, the defenition of my first issue was incorrect. Current goal of this PR is to add parameterisation for this option. |
PR Description
New parameter compatible_mode were added for mongodb_exporter integration to have an opportunity to disable or enable this exporter's option.
Which issue(s) this PR fixes
Fixes #1510
PR Checklist