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
Describe the bug
For metrics that have several datapoints identified by attributes, like mongodbatlas.process.asserts, the datapoints are spread across duplicate metrics rather than all bundled under a single metric. This is causing an issue specifically in the googlecloudexporter as Stackdriver is detecting these as duplicate metrics, since they all have the same timestamp, and rejecting them.
Steps to reproduce
Configure mongodbatlas receiver with googlecloudexporter and wait a few collections.
What did you expect to see?
No errors during the process with a valid config.
What did you see instead?
Getting export errors like this:
Exporting failed. Try enabling retry_on_failure config option. {"kind": "exporter", "name": "googlecloud", "error": "[rpc error: code = InvalidArgument desc = One or more TimeSeries could not be written: Field timeSeries[100] had an invalid value: Duplicate TimeSeries encountered.
Environment
OS: MacOS 12.2.1
Compiler(if manually compiled): go 1.17.8
Additional context
This should be an implementation fix only. I also saw this receiver was not using the --experimental-gen flag for mdatagen which would likely make solving this issues easier.
I am happy to volunteer to make these changes if the owner does not want too.
The text was updated successfully, but these errors were encountered:
Describe the bug
For metrics that have several datapoints identified by attributes, like mongodbatlas.process.asserts, the datapoints are spread across duplicate metrics rather than all bundled under a single metric. This is causing an issue specifically in the googlecloudexporter as Stackdriver is detecting these as duplicate metrics, since they all have the same timestamp, and rejecting them.
Steps to reproduce
Configure
mongodbatlas
receiver withgooglecloudexporter
and wait a few collections.What did you expect to see?
No errors during the process with a valid config.
What did you see instead?
Getting export errors like this:
What version did you use?
Version: v0.45.1
What config did you use?
Config:
Environment
OS: MacOS 12.2.1
Compiler(if manually compiled): go 1.17.8
Additional context
This should be an implementation fix only. I also saw this receiver was not using the
--experimental-gen
flag for mdatagen which would likely make solving this issues easier.I am happy to volunteer to make these changes if the owner does not want too.
The text was updated successfully, but these errors were encountered: