4 releases (breaking)

0.4.0 Nov 6, 2023
0.3.0 Jul 29, 2023
0.2.0 Mar 26, 2023
0.1.0 Sep 13, 2022

#2 in #otlp

Download history 129548/week @ 2023-08-07 131154/week @ 2023-08-14 132777/week @ 2023-08-21 146815/week @ 2023-08-28 115121/week @ 2023-09-04 123122/week @ 2023-09-11 148270/week @ 2023-09-18 144829/week @ 2023-09-25 145072/week @ 2023-10-02 166366/week @ 2023-10-09 171922/week @ 2023-10-16 151933/week @ 2023-10-23 172831/week @ 2023-10-30 156851/week @ 2023-11-06 171069/week @ 2023-11-13 137019/week @ 2023-11-20

641,009 downloads per month
Used in 114 crates (9 directly)

Apache-2.0

1MB
20K 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.

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


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 or gen-grpcio.
  • 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 or gen-grpcio.

Creates used to generate files

  • gen-tonic: generate rs files using tonic and prost.
  • gen-grpcio: generate rs files using grpcio.

Misc

  • full: enabled all features above.

By default, no feature is enabled.

Dependencies

~2–13MB
~161K SLoC