Closed
Description
Describe the bug
Partial errors are not properly recorded if the payload returned by couchdb does not contain an expected metric.
This is because the scraper passes the ScrapeErrors struct into functions, instead of a pointer to the ScrapeErrors.
See:
opentelemetry-collector-contrib/receiver/couchdbreceiver/scraper.go
Lines 73 to 81 in d117c67