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

[receiver/mongodb] Add missing replication lag metrics #36375

Open
RutvikS-crest opened this issue Nov 14, 2024 · 2 comments · May be fixed by #36440
Open

[receiver/mongodb] Add missing replication lag metrics #36375

RutvikS-crest opened this issue Nov 14, 2024 · 2 comments · May be fixed by #36440
Labels

Comments

@RutvikS-crest
Copy link
Contributor

RutvikS-crest commented Nov 14, 2024

Component(s)

receiver/mongodb

Is your feature request related to a problem? Please describe.

Currently mongodb receiver doesn't have any metric that can be used to get the replication lag stats among replica sets.

Describe the solution you'd like

Utilise flowcontrol document under serverStatus to expose a new metric.

Describe alternatives you've considered

No response

Additional context

No response

@RutvikS-crest RutvikS-crest added enhancement New feature or request needs triage New item requiring triage labels Nov 14, 2024
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@VihasMakwana
Copy link
Contributor

This sounds like a valid enhancement. We already have ServerStatus command in mongodb receiver and we can extend that command to include the flowControl block to metrics.
I'd love to get feedback from codeowners.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants