9 breaking releases

0.27.0 Nov 12, 2024
0.25.0 Sep 9, 2024
0.7.0 Jul 15, 2024
0.5.0 Feb 25, 2024
0.1.0 Sep 13, 2022

#2 in #otlp

Download history 222591/week @ 2024-07-30 230419/week @ 2024-08-06 251246/week @ 2024-08-13 271467/week @ 2024-08-20 264715/week @ 2024-08-27 330518/week @ 2024-09-03 327186/week @ 2024-09-10 267726/week @ 2024-09-17 324392/week @ 2024-09-24 387768/week @ 2024-10-01 386851/week @ 2024-10-08 450581/week @ 2024-10-15 459418/week @ 2024-10-22 434833/week @ 2024-10-29 426576/week @ 2024-11-05 389466/week @ 2024-11-12

1,791,600 downloads per month
Used in 278 crates (17 directly)

Apache-2.0

1MB
23K 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–7.5MB
~66K SLoC