7 releases

new 0.4.2 May 11, 2025
0.4.1 May 8, 2025
0.3.1 May 1, 2025
0.3.0 Dec 1, 2024
0.2.1 Oct 19, 2024

#430 in Profiling

Download history 10/week @ 2025-02-18 1/week @ 2025-04-08 1/week @ 2025-04-15 235/week @ 2025-04-29 291/week @ 2025-05-06

527 downloads per month

MIT license

105KB
2K SLoC

crates.io Documentation

Dependencies

spring-opentelemetry = "<version>"

OTEL uses the W3C format to propagate context information for tracing by default.

Optional features:

  • jaeger: Use jaeger format to propagate context
  • zipkin: Use zipkin format to propagate context
  • more-resource: Add more resource information, such as host Host, operating system, process information

Configuration

[opentelemetry]
enable = false    # Whether to enable the plugin at runtime

For other configurations, it is recommended to use the environment variables in the OTEL specification. For details, please refer to the OpenTelemetry SDK documentation:

For complete code, refer to opentelemetry-example

Note: opentelemetry-rust is not stable yet, and some features of tracing need to be integrated. The plugin will continue to track the relevant dynamics of opentelemetry-rust and tracing, and update them in a timely manner.

Dependencies

~17–31MB
~450K SLoC