8 breaking releases

new 0.26.0 Oct 1, 2024
0.7.0 Jul 15, 2024
0.5.0 Feb 25, 2024
0.4.0 Nov 6, 2023
0.1.0 Sep 13, 2022

#1 in #otlp

Download history 237800/week @ 2024-06-13 243410/week @ 2024-06-20 260588/week @ 2024-06-27 230970/week @ 2024-07-04 240443/week @ 2024-07-11 234680/week @ 2024-07-18 236624/week @ 2024-07-25 215996/week @ 2024-08-01 248602/week @ 2024-08-08 255777/week @ 2024-08-15 276542/week @ 2024-08-22 273375/week @ 2024-08-29 339819/week @ 2024-09-05 297983/week @ 2024-09-12 294773/week @ 2024-09-19 283085/week @ 2024-09-26

1,284,299 downloads per month
Used in 259 crates (16 directly)

Apache-2.0

1MB
22K SLoC

OpenTelemetry — An observability framework for cloud-native software.

OpenTelemetry Proto

This crate contains generated files from opentelemetry-proto repository and transformation between types from generated files and types defined in opentelemetry.

*Compiler support: [requires rustc 1.71.1+]


lib.rs:

This crate contains generated files from opentelemetry-proto repository and transformation between types from generated files and types defined in opentelemetry

Based on the build tool needed, users can choose to generate files using tonic or grpcio.

Feature flags

Opentelemetry-proto includes a set of feature flags to avoid pull in unnecessary dependencies. The following is the full list of currently supported features:

Signals

  • trace: generate types that used in traces. Currently supports gen-tonic.
  • metrics: generate types that used in metrics. Currently supports gen-tonic.
  • logs: generate types that used in logs. Currently supports gen-tonic.
  • zpages: generate types that used in zPages. Currently only tracez related types will be generated. Currently supports gen-tonic.

Creates used to generate files

  • gen-tonic-messages: generate rs files using tonic and prost.
  • gen-tonic: adding tonic transport to "`gen-tonic-messages"

Misc

  • full: enabled all features above.

By default, no feature is enabled.

Dependencies

~1–8.5MB
~67K SLoC