-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Labels
area/collectorsEverything related to data collectionEverything related to data collectionbugcollectors/go.dneeds triageIssues which need to be manually labelledIssues which need to be manually labelled
Description
Bug description
In some older versions of RabbitMQ (e.g. v3.8.2) the response from /api/whoami API call has a single string instead of a list of strings. E.g.:
{"name": "myuser", "tags": "administrator"}This causes the unmarshalling to the Go struct apiWhoamiResp to fail.
It appears that newer versions, including 3.9.16, don't have this problem.
Expected behavior
Also accept single strings.
Steps to reproduce
- Run an old enough version of RabbitMQ
- Attempt to configure the RabbitMQ collector
- See it fail to parse the response
Installation method
kickstart.sh
System info
n/aNetdata build info
n/aAdditional info
No response
Copilot
Metadata
Metadata
Assignees
Labels
area/collectorsEverything related to data collectionEverything related to data collectionbugcollectors/go.dneeds triageIssues which need to be manually labelledIssues which need to be manually labelled