GoogleCloudPlatform / opentelemetry-operations-go

Apache License 2.0
127 stars 99 forks source link

Collector Metric exporter will continue to attempt to send MetricDescriptors even if permissions are unavailable. #765

Closed jsuereth closed 7 months ago

jsuereth commented 8 months ago

Today, the code to create metric descriptors is not resolving "recoverable" errors from "non-recoverable" errors. If a service account does not have access to create metric descriptors, then the collector will attempt to create new metric descriptors every time that metric is encountered, not just once-per-instantiation.

Suggest the following: