open-telemetry / opentelemetry-rust-contrib

OpenTelemetry Contrib Packages for Rust
Apache License 2.0
32 stars 33 forks source link

Implement support for exporting metrics to stackdriver #10

Open thomaseizinger opened 1 year ago

thomaseizinger commented 1 year ago

As far as I can tell, exporting metrics via opentelemetry-stackdriver is not (yet) supported. Opening this issue to coordinate its implementation.

cijothomas commented 12 months ago

Is it needed or the native OTLP capability is sufficient? https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/otlp#otlp-metrics

thomaseizinger commented 12 months ago

Unfortunately, GCP does not support running the OpsAgent on container-optimised OS so we can't use the OTLP exporter :(

cijothomas commented 12 months ago

Got it. Is the current crate supported by Google? I am asking because in other languages, dedicated exporters are not supported by Google (https://github.com/open-telemetry/opentelemetry-dotnet-contrib/tree/main/src/OpenTelemetry.Exporter.Stackdriver#stackdriver-exporter-for-opentelemetry-net) and is usually unmaintained...

thomaseizinger commented 12 months ago

I am not affiliated with this crate in any way, just a user myself but I think it is not officially supported.

djc commented 12 months ago

The crate is not supported by Google, but we as users are maintaining it. @thomaseizinger happy to review a PR!

thomaseizinger commented 12 months ago

@thomaseizinger happy to review a PR!

I'll see what I can do. We are first integrating structured logging. Metrics will come after that :)