Skip to content

Support collStats and indexStats on AWS DocDB #1264

Description

@MatthiasDrewsCS

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions