Skip to content

Exporter cannot fetch collstats data since version 0.43 #1038

@pawellrus

Description

@pawellrus

Describe the bug
Exporter cannot fetch data from collections since version 0.43. Logs are full of messages like cannot get $collstats cursor for collection *.user_info: context deadline exceeded" collector=collstats

To Reproduce
Run in docker-compose with parameters

    command:
      - '--compatible-mode'
      - '--collect-all'
      - '--mongodb.uri=***'

Expected behavior
Exporter is expected to successfully fetch data from MongoDB

Logs
cannot get $collstats cursor for collection *.user_info: context deadline exceeded" collector=collstats

Environment

  • Debian 12, Ubuntu 20,
  • docker-compose
  • MongoDB 6.0, 7.0

Additional context
Rolling back to 0.42 solved the problem. Affected versions 0.43+

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