6 releases (breaking)

new 0.6.0 May 15, 2024
0.5.0 Feb 25, 2024
0.4.0 Nov 6, 2023
0.3.0 Jul 29, 2023
0.1.0 Sep 13, 2022

#388 in Profiling

Download history 168410/week @ 2024-01-28 173482/week @ 2024-02-04 196772/week @ 2024-02-11 201655/week @ 2024-02-18 222274/week @ 2024-02-25 200380/week @ 2024-03-03 204516/week @ 2024-03-10 205953/week @ 2024-03-17 216858/week @ 2024-03-24 229546/week @ 2024-03-31 192656/week @ 2024-04-07 207992/week @ 2024-04-14 224964/week @ 2024-04-21 217095/week @ 2024-04-28 226759/week @ 2024-05-05 294099/week @ 2024-05-12

968,315 downloads per month
Used in 154 crates (15 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.


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
~133K SLoC