Skip to content

Commit aa3bda3

Browse files
authored
chore(zipkin): deprecate opentelemetry-zipkin crate (#3492)
1 parent b04a7e1 commit aa3bda3

5 files changed

Lines changed: 18 additions & 0 deletions

File tree

opentelemetry-zipkin/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## vNext
44

5+
- **Deprecated**: The `opentelemetry-zipkin` crate is now deprecated. Use the OTLP exporter (`opentelemetry-otlp`) instead. Zipkin supports native OTLP ingestion. This crate will be removed in a future release.
56
- `reqwest`'s crypto backend has changed from `ring` to `aws-lc-sys`.
67

78
## 0.31.0

opentelemetry-zipkin/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ edition = "2021"
1616
rust-version = "1.75.0"
1717
autobenches = false
1818

19+
[badges]
20+
maintenance = { status = "deprecated" }
21+
1922
[package.metadata.docs.rs]
2023
all-features = true
2124
rustdoc-args = ["--cfg", "docsrs"]

opentelemetry-zipkin/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# OpenTelemetry Zipkin Exporter
22

3+
## ⚠️ Deprecation Notice
4+
5+
**This crate is deprecated.** Use the [OTLP exporter](https://crates.io/crates/opentelemetry-otlp) instead. Zipkin supports [native OTLP ingestion](https://zipkin.io/pages/architecture.html). This crate will be removed in a future release.
6+
37
![OpenTelemetry — An observability framework for cloud-native software.][splash]
48

59
[splash]: https://raw.githubusercontent.com/open-telemetry/opentelemetry-rust/main/assets/logo-text.png

opentelemetry-zipkin/examples/zipkin.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(deprecated)]
12
use opentelemetry::{
23
global::{self},
34
trace::{Span, Tracer},

opentelemetry-zipkin/src/lib.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
//! # OpenTelemetry Zipkin
22
//!
3+
//! **⚠️ This crate is deprecated.** Use the [OTLP exporter](https://crates.io/crates/opentelemetry-otlp)
4+
//! instead. Zipkin supports [native OTLP ingestion](https://zipkin.io/pages/architecture.html).
5+
//! This crate will be removed in a future release.
6+
//!
37
//! Collects OpenTelemetry spans and reports them to a given Zipkin collector
48
//! endpoint. See the [Zipkin Docs] for details and deployment information.
59
//!
@@ -232,6 +236,11 @@
232236
//! increased past 1.46, three minor versions prior. Increasing the minimum
233237
//! supported compiler version is not considered a semver breaking change as
234238
//! long as doing so complies with this policy.
239+
#![deprecated(
240+
since = "0.32.0",
241+
note = "Zipkin exporter is deprecated. Use the OTLP exporter instead. Refer to https://zipkin.io/pages/architecture.html for Zipkin's native OTLP support."
242+
)]
243+
#![allow(deprecated)]
235244
#![warn(
236245
future_incompatible,
237246
missing_debug_implementations,

0 commit comments

Comments
 (0)