GoogleCloudPlatform / opentelemetry-operations-go

Apache License 2.0
127 stars 99 forks source link

Add support for createservicetimeseries to the SDK metrics exporter #820

Closed dashpole closed 2 months ago

dashpole commented 3 months ago

Similar to the collector exporter, add config that enables CSTS:

https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/blob/5476951d36f08da48cbcd8e50070ed72ca95cb21/exporter/collector/config.go#L122-L124

(handle compression, if applicable) https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/blob/5476951d36f08da48cbcd8e50070ed72ca95cb21/exporter/collector/metrics.go#L236-L237

Skip creating metric descriptors if set https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/blob/5476951d36f08da48cbcd8e50070ed72ca95cb21/exporter/collector/metrics.go#L350-L353

Use this instead of CreateTimeSeries if set https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/blob/5476951d36f08da48cbcd8e50070ed72ca95cb21/exporter/collector/metrics.go#L425-L429

frankyn commented 2 months ago

Hi @dashpole is there someone that help pick up this request on your team?

psx95 commented 2 months ago

Hi @frankyn, I am picking this up.