|
88 | 88 | //! See the [`metrics`] module docs for more information on creating and
|
89 | 89 | //! managing instruments.
|
90 | 90 | //!
|
| 91 | +//! |
| 92 | +//! //! # Logs |
| 93 | +//! |
| 94 | +//! The [`logs`] module contains the Logs Bridge API. It is not intended to be |
| 95 | +//! called by application developers directly. It is provided for logging |
| 96 | +//! library authors to build log appenders, that bridges existing logging |
| 97 | +//! systems with OpenTelemetry. Bridges for |
| 98 | +//! [`log`](https://crates.io/crates/log) and |
| 99 | +//! [`tracing`](https://crates.io/crates/tracing) libraries are provided via |
| 100 | +//! the |
| 101 | +//! [`opentelemetry-appender-log`](https://crates.io/crates/opentelemetry-appender-log) |
| 102 | +//! and |
| 103 | +//! [`opentelemetry-appender-tracing`](https://crates.io/crates/opentelemetry-appender-tracing) |
| 104 | +//! crates. |
| 105 | +//! |
91 | 106 | //! ## Crate Feature Flags
|
92 | 107 | //!
|
93 | 108 | //! The following core crate feature flags are available:
|
|
106 | 121 | //!
|
107 | 122 | //! In addition to `opentelemetry`, the [`open-telemetry/opentelemetry-rust`]
|
108 | 123 | //! repository contains several additional crates designed to be used with the
|
109 |
| -//! `opentelemetry` ecosystem. This includes a collection of trace |
110 |
| -//! `SpanExporter` and metrics pull and push controller implementations, as well |
111 |
| -//! as utility and adapter crates to assist in propagating state and |
| 124 | +//! `opentelemetry` ecosystem. This includes exporters, samplers, as well as |
| 125 | +//! utility and adapter crates to assist in propagating context and |
112 | 126 | //! instrumenting applications.
|
113 | 127 | //!
|
114 | 128 | //! In particular, the following crates are likely to be of interest:
|
115 | 129 | //!
|
116 |
| -//! - [`opentelemetry_sdk`] provides the SDK used to configure providers. |
| 130 | +//! - [`opentelemetry_sdk`] provides the OpenTelemetry SDK used to configure providers. |
117 | 131 | //! - [`opentelemetry-http`] provides an interface for injecting and extracting
|
118 | 132 | //! trace information from [`http`] headers.
|
119 |
| -//! - [`opentelemetry-jaeger`] provides a pipeline and exporter for sending |
120 |
| -//! trace information to [`Jaeger`]. |
121 |
| -//! - [`opentelemetry-otlp`] exporter for sending trace and metric data in the |
122 |
| -//! OTLP format to the OpenTelemetry collector. |
| 133 | +//! - [`opentelemetry-otlp`] exporter for sending telemetry in the |
| 134 | +//! OTLP format. |
123 | 135 | //! - [`opentelemetry-prometheus`] provides a pipeline and exporter for sending
|
124 | 136 | //! metrics information to [`Prometheus`].
|
125 | 137 | //! - [`opentelemetry-zipkin`] provides a pipeline and exporter for sending
|
126 | 138 | //! trace information to [`Zipkin`].
|
127 |
| -//! - [`opentelemetry-datadog`] provides additional exporters to [`Datadog`]. |
128 |
| -//! - [`opentelemetry-aws`] provides unofficial propagators for AWS X-ray. |
129 |
| -//! - [`opentelemetry-contrib`] provides additional exporters and propagators that are |
130 |
| -//! experimental. |
131 |
| -//! - [`opentelemetry-semantic-conventions`] provides standard names and |
132 |
| -//! semantic otel conventions. |
133 |
| -//! - [`opentelemetry-stackdriver`] provides an exporter for Google's [Cloud Trace] |
134 |
| -//! (which used to be called StackDriver). |
135 |
| -//! |
136 |
| -//! Additionally, there are also several third-party crates which are not |
137 |
| -//! maintained by the `opentelemetry` project. These include: |
138 |
| -//! |
139 |
| -//! - [`tracing-opentelemetry`] provides integration for applications |
140 |
| -//! instrumented using the [`tracing`] API and ecosystem. |
141 |
| -//! - [`actix-web-opentelemetry`] provides integration for the [`actix-web`] web |
142 |
| -//! server and ecosystem. |
143 |
| -//! - [`opentelemetry-application-insights`] provides an unofficial [Azure |
144 |
| -//! Application Insights] exporter. |
145 |
| -//! - [`opentelemetry-tide`] provides integration for the [`Tide`] web server |
146 |
| -//! and ecosystem. |
147 |
| -//! |
148 |
| -//! If you're the maintainer of an `opentelemetry` ecosystem crate not listed |
149 |
| -//! above, please let us know! We'd love to add your project to the list! |
150 |
| -//! |
151 |
| -//! [`actix-web-opentelemetry`]: https://crates.io/crates/actix-web-opentelemetry |
152 |
| -//! [`actix-web`]: https://crates.io/crates/actix-web |
153 |
| -//! [`Datadog`]: https://www.datadoghq.com |
| 139 | +//! |
| 140 | +//! In addition, there are several other useful crates in the [OTel Rust |
| 141 | +//! Contrib |
| 142 | +//! repo](https://github.com/open-telemetry/opentelemetry-rust-contrib). A lot |
| 143 | +//! of crates maintained outside OpenTelemetry owned repos can be found in the |
| 144 | +//! [OpenTelemetry |
| 145 | +//! Registry](https://opentelemetry.io/ecosystem/registry/?language=rust). |
| 146 | +//! |
154 | 147 | //! [`http`]: https://crates.io/crates/http
|
155 |
| -//! [`Jaeger`]: https://www.jaegertracing.io |
156 | 148 | //! [`open-telemetry/opentelemetry-rust`]: https://github.com/open-telemetry/opentelemetry-rust
|
157 | 149 | //! [`opentelemetry_sdk`]: https://crates.io/crates/opentelemetry_sdk
|
158 |
| -//! [`opentelemetry-application-insights`]: https://crates.io/crates/opentelemetry-application-insights |
159 |
| -//! [`opentelemetry-aws`]: https://crates.io/crates/opentelemetry-aws |
160 |
| -//! [`opentelemetry-contrib`]: https://crates.io/crates/opentelemetry-contrib |
161 |
| -//! [`opentelemetry-datadog`]: https://crates.io/crates/opentelemetry-datadog |
162 | 150 | //! [`opentelemetry-http`]: https://crates.io/crates/opentelemetry-http
|
163 |
| -//! [`opentelemetry-jaeger`]: https://crates.io/crates/opentelemetry-jaeger |
164 | 151 | //! [`opentelemetry-otlp`]: https://crates.io/crates/opentelemetry-otlp
|
165 | 152 | //! [`opentelemetry-prometheus`]: https://crates.io/crates/opentelemetry-prometheus
|
166 |
| -//! [`opentelemetry-semantic-conventions`]: https://crates.io/crates/opentelemetry-semantic-conventions |
167 |
| -//! [`opentelemetry-stackdriver`]: https://crates.io/crates/opentelemetry-stackdriver |
168 |
| -//! [`opentelemetry-tide`]: https://crates.io/crates/opentelemetry-tide |
169 | 153 | //! [`opentelemetry-zipkin`]: https://crates.io/crates/opentelemetry-zipkin
|
170 | 154 | //! [`Prometheus`]: https://prometheus.io
|
171 |
| -//! [`Tide`]: https://crates.io/crates/tide |
172 |
| -//! [`tracing-opentelemetry`]: https://crates.io/crates/tracing-opentelemetry |
173 |
| -//! [`tracing`]: https://crates.io/crates/tracing |
174 | 155 | //! [`Zipkin`]: https://zipkin.io
|
175 |
| -//! [Azure Application Insights]: https://docs.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview |
176 |
| -//! [Cloud Trace]: https://cloud.google.com/trace/ |
177 | 156 | //!
|
178 | 157 | //! ## Supported Rust Versions
|
179 | 158 | //!
|
|
0 commit comments