You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After the creation of an index with a field:1 and then the same field:-1, the -1 index is not shown in mongodb_collstats_storageStats_indexSizes_
When the $indextstas is run inside mongo shell, it shows the index
Describe the bug
After the creation of an index with a
field:1
and then the samefield:-1
, the -1 index is not shown in mongodb_collstats_storageStats_indexSizes_When the $indextstas is run inside mongo shell, it shows the index
But the metric does not exist
To Reproduce
Steps to reproduce the behavior:
db.MyColForExporter.createIndex({"foo":1})
db.MyColForExporter.createIndex({"foo":-1})
$indexStats
and metrics generated by the exporterExpected behavior
To have one metric
mongodb_collstats_storageStats_indexSizes_foo_1
and anothermongodb_collstats_storageStats_indexSizes_foo_-1
Logs
NA
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: