30
30
//! See the [examples](https://github.com/open-telemetry/opentelemetry-rust/tree/master/examples)
31
31
//! directory for different integration patterns.
32
32
//!
33
+ //! ## Related Crates
34
+ //!
35
+ //! In addition to `opentelemetry`, the [`open-telemetry/opentelemetry-rust`]
36
+ //! repository contains several additional crates designed to be used with the
37
+ //! `opentelemetry` ecosystem. This includes a collection of trace
38
+ //! `SpanExporter` and metrics pull and push controller implementations, as well
39
+ //! as utility and adapter crates to assist in propagating state and
40
+ //! instrumenting applications.
41
+ //!
42
+ //! In particular, the following crates are likely to be of interest:
43
+ //!
44
+ //! - [`opentelemetry-jaeger`] provides a pipeline and exporter for sending
45
+ //! trace information to [`Jaeger`].
46
+ //! - [`opentelemetry-otlp`] exporter for sending trace and metric data in the
47
+ //! OTLP format to the OpenTelemetry collector.
48
+ //! - [`opentelemetry-prometheus`] provides a pipeline and exporter for sending
49
+ //! metrics information to [`Prometheus`].
50
+ //! - [`opentelemetry-zipkin`] provides a pipeline and exporter for sending
51
+ //! trace information to [`Zipkin`].
52
+ //! - [`opentelemetry-contrib`] provides additional exporters to vendors like
53
+ //! [`Datadog`].
54
+ //! - [`opentelemetry-semantic-conventions`] provides standard names and
55
+ //! semantic otel conventions.
56
+ //!
57
+ //! Additionally, there are also several third-party crates which are not
58
+ //! maintained by the `opentelemetry` project. These include:
59
+ //!
60
+ //! - [`tracing-opentelemetry`] provides integration for applications
61
+ //! instrumented using the [`tracing`] API and ecosystem.
62
+ //! - [`actix-web-opentelemetry`] provides integration for the [`actix-web`] web
63
+ //! server and ecosystem.
64
+ //! - [`opentelemetry-application-insights`] provides an unofficial [Azure
65
+ //! Application Insights] exporter.
66
+ //! - [`opentelemetry-tide`] provides integration for the [`Tide`] web server
67
+ //! and ecosystem.
68
+ //!
69
+ //! If you're the maintainer of an `opentelemetry` ecosystem crate not listed
70
+ //! above, please let us know! We'd love to add your project to the list!
71
+ //!
72
+ //! [`open-telemetry/opentelemetry-rust`]: https://github.com/open-telemetry/opentelemetry-rust
73
+ //! [`opentelemetry-jaeger`]: https://crates.io/crates/opentelemetry-jaeger
74
+ //! [`Jaeger`]: https://www.jaegertracing.io
75
+ //! [`opentelemetry-otlp`]: https://crates.io/crates/opentelemetry-otlp
76
+ //! [`opentelemetry-prometheus`]: https://crates.io/crates/opentelemetry-prometheus
77
+ //! [`Prometheus`]: https://prometheus.io
78
+ //! [`opentelemetry-zipkin`]: https://crates.io/crates/opentelemetry-zipkin
79
+ //! [`Zipkin`]: https://zipkin.io
80
+ //! [`opentelemetry-contrib`]: https://crates.io/crates/opentelemetry-contrib
81
+ //! [`Datadog`]: https://www.datadoghq.com
82
+ //! [`opentelemetry-semantic-conventions`]: https://crates.io/crates/opentelemetry-semantic-conventions
83
+ //!
84
+ //! [`tracing-opentelemetry`]: https://crates.io/crates/tracing-opentelemetry
85
+ //! [`tracing`]: https://crates.io/crates/tracing
86
+ //! [`actix-web-opentelemetry`]: https://crates.io/crates/actix-web-opentelemetry
87
+ //! [`actix-web`]: https://crates.io/crates/actix-web
88
+ //! [`opentelemetry-application-insights`]: https://crates.io/crates/opentelemetry-application-insights
89
+ //! [Azure Application Insights]: https://docs.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview
90
+ //! [`opentelemetry-tide`]: https://crates.io/crates/opentelemetry-tide
91
+ //! [`Tide`]: https://crates.io/crates/tide
92
+ //!
33
93
//! ## Supported Rust Versions
34
94
//!
35
95
//! OpenTelemetry is built against the latest stable release. The minimum
@@ -70,6 +130,9 @@ pub mod sdk;
70
130
#[ cfg( test) ]
71
131
pub mod testing;
72
132
133
+ #[ cfg( feature = "metrics" ) ]
134
+ #[ cfg_attr( docsrs, doc( cfg( feature = "metrics" ) ) ) ]
135
+ pub use api:: labels;
73
136
#[ cfg( feature = "metrics" ) ]
74
137
#[ cfg_attr( docsrs, doc( cfg( feature = "metrics" ) ) ) ]
75
138
pub use api:: metrics;
@@ -80,5 +143,5 @@ pub use api::{
80
143
baggage,
81
144
context:: { Context , ContextGuard } ,
82
145
core:: { Key , KeyValue , Unit , Value } ,
83
- labels , propagation,
146
+ propagation,
84
147
} ;
0 commit comments