#open-telemetry #spans #google #trace #exporter #tracing #grpc

opentelemetry-stackdriver

A Rust opentelemetry exporter that uploads traces to Google Stackdriver trace

30 releases (breaking)

0.23.0 Oct 7, 2024
0.21.0 Jul 21, 2024
0.19.1 Mar 19, 2024
0.18.0 Nov 6, 2023
0.4.0 Mar 30, 2020

#180 in Web programming

Download history 641/week @ 2024-07-09 466/week @ 2024-07-16 609/week @ 2024-07-23 614/week @ 2024-07-30 454/week @ 2024-08-06 584/week @ 2024-08-13 389/week @ 2024-08-20 305/week @ 2024-08-27 387/week @ 2024-09-03 311/week @ 2024-09-10 313/week @ 2024-09-17 523/week @ 2024-09-24 750/week @ 2024-10-01 469/week @ 2024-10-08 456/week @ 2024-10-15 199/week @ 2024-10-22

2,000 downloads per month
Used in 2 crates (via opinionated_telemetry)

Apache-2.0

190KB
2.5K SLoC

opentelemetry-stackdriver

Documentation

This crate provides an opentelemetry exporter for use with Google StackDriver trace. It uses gRPC to send tracing spans.

It is licensed under the Apache 2.0 license. Contributions are welcome.

Propagator

Feature flag propagator will enable the GoogleTraceContextPropagator which implements the TextMapPropagator trait for Google X-Cloud-Trace-Context Trace Context format.

Example usage:

opentelemetry::global::set_text_map_propagator(GoogleTraceContextPropagator::new());

Dependencies

~15–26MB
~462K SLoC