5 releases (breaking)

0.5.0 Feb 25, 2024
0.4.0 Nov 6, 2023
0.3.0 Jul 29, 2023
0.2.0 Mar 26, 2023
0.1.0 Sep 13, 2022

#344 in Profiling

Download history 37694/week @ 2023-12-23 84459/week @ 2023-12-30 125550/week @ 2024-01-06 139474/week @ 2024-01-13 160395/week @ 2024-01-20 168076/week @ 2024-01-27 171827/week @ 2024-02-03 196673/week @ 2024-02-10 201329/week @ 2024-02-17 222418/week @ 2024-02-24 201049/week @ 2024-03-02 204077/week @ 2024-03-09 207199/week @ 2024-03-16 214521/week @ 2024-03-23 237649/week @ 2024-03-30 187456/week @ 2024-04-06

881,199 downloads per month
Used in 139 crates (12 directly)

Apache-2.0

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


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–14MB
~136K SLoC