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

Unable to view all metrics #107

Open
madvimer opened this issue Sep 7, 2018 · 1 comment
Open

Unable to view all metrics #107

madvimer opened this issue Sep 7, 2018 · 1 comment

Comments

@madvimer
Copy link

madvimer commented Sep 7, 2018

I am using mongo exporter to extract metrics in prometheus. However i believe i cannot see all teh metrics( like index_counters_total and many others by going through the collector code). I am just starting the exporter without any additional arguments.
Attaching the stats that got generated. Is there something that i am missing ?

dcuStats.txt

@NTU08
Copy link

NTU08 commented Nov 23, 2018

I found this too using the docker hub eses/mongodb_exporter docker image https://hub.docker.com/r/eses/mongodb_exporter/
looks to me that the code
https://github.com/dcu/mongodb_exporter/blob/master/mongodb_exporter.go
have variable for the various mongodb.collect values
mongodbCollectConnPoolStats = flag.Bool("mongodb.collect.connpoolstats", false, "Collect MongoDB connpoolstats")
but missing some most notably
should add
mongodbCollectIndexCounters = flag.Bool("mongodb.collect.indexcounters", false, "Collect MongoDB indexcounters")
this code is 3 years old so am i missing something?
this fdoes seem to be in the fork:
https://github.com/percona/mongodb_exporter

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

No branches or pull requests

2 participants