1 unstable release
0.3.0-beta.1 | Jun 19, 2023 |
---|
#6 in #otlp
Used in ts_opentelemetry_otlp
1MB
23K
SLoC
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
traces
: generate types that used in traces. Currently supportsgen-tonic
orgen-protoc
.metrics
: generate types that used in metrics. Currently supportsgen-tonic
.logs
: generate types that used in logs. Currently supportsgen-tonic
.zpages
: generate types that used in zPages. Currently only tracez related types will be generated. Currently supportsgen-tonic
orgen-protoc
.
Creates used to generate files
Additional configurations
with-serde
: add serde annotations to generated types. Only applicable togen-protoc
.
Misc
full
: enabled all features above.
By default, no feature is enabled.
Dependencies
~6–20MB
~286K SLoC