Error collecting stats, unmarshalling error
Cod3N3rd opened this issue · comments
I get the following error when running with latest version of couchdb. I have not tried with other versions.
E1119 17:31:30.366886 1 collector.go:186] Error collecting stats: error collecting couchdb stats: error unmarshalling stats: json: cannot unmarshal array into Go value of type lib.StatsResponse
Can you give the example at https://github.com/gesellix/couchdb-prometheus-exporter/blob/e30eef6193baf8267438b26c1833bc0deae87ed9/examples/compose/docker-compose-integrationtest.yml a try?
I cannot reproduce the error message locally, can you try to find other error messages or share a bit more of your config?
Closing due to missing feedback - feel free to re-open providing more details.