Is your feature request related to a problem? Please describe.
The MongoDB exporter works fine with AWS DocDB. However the collStats and indexStats collectors are failing. The reason seems to be a query which fails on AWS side:
2026-03-30T14:36:59.957272165Z time=2026-03-30T14:36:59.957Z level=ERROR source=indexstats_collector.go:82 msg="cannot list collections" collector=indexstats error="cannot list the collections for \"database1\": cannot get the list of collections for discovery: Field 'type' is currently not supported"
This happens both with --discovering-mode, or --no-discovering-mode with --mongodb.collstats-colls and --mongodb.indexstats-colls
Describe the solution you'd like
The MongoDB exporter should be able to export collStats and indexStats from a AWS DocDB, at least with --no-discovering-mode
Is your feature request related to a problem? Please describe.
The MongoDB exporter works fine with AWS DocDB. However the collStats and indexStats collectors are failing. The reason seems to be a query which fails on AWS side:
2026-03-30T14:36:59.957272165Z time=2026-03-30T14:36:59.957Z level=ERROR source=indexstats_collector.go:82 msg="cannot list collections" collector=indexstats error="cannot list the collections for \"database1\": cannot get the list of collections for discovery: Field 'type' is currently not supported"This happens both with
--discovering-mode, or--no-discovering-modewith--mongodb.collstats-collsand--mongodb.indexstats-collsDescribe the solution you'd like
The MongoDB exporter should be able to export collStats and indexStats from a AWS DocDB, at least with
--no-discovering-mode