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
A scraper error is being emitted while collecting index stats on local database, reporting an Unauthorized error. Adding in the clusterMonitor role and even trying clusterAdmin role does not solve this problem. This error has also been reported here.
Steps to Reproduce
Run the collector and scrape mongodb metrics with a replica set. Every scrape reports an Unauthorized error.
Component(s)
receiver/mongodb
What happened?
Description
A scraper error is being emitted while collecting index stats on
local
database, reporting anUnauthorized
error. Adding in theclusterMonitor
role and even tryingclusterAdmin
role does not solve this problem. This error has also been reported here.Steps to Reproduce
Run the collector and scrape mongodb metrics with a replica set. Every scrape reports an Unauthorized error.
Expected Result
To not get any errors.
Actual Result
Collector version
0.73.0
Environment information
Environment
A MongoDB env with a replica set.
OpenTelemetry Collector configuration
Log output
Additional context
I can work on this.
The text was updated successfully, but these errors were encountered: