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

Exporter cannot fetch collstats data since version 0.43 #1038

Open
pawellrus opened this issue Feb 26, 2025 · 0 comments
Open

Exporter cannot fetch collstats data since version 0.43 #1038

pawellrus opened this issue Feb 26, 2025 · 0 comments

Comments

@pawellrus
Copy link

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+

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

No branches or pull requests

1 participant