Skip to content

Commit b5c8413

Browse files
authored
chore: bump opentelemetry-rust version to 0.31.0 (#135)
Signed-off-by: tison <[email protected]>
1 parent 4621ec7 commit b5c8413

File tree

7 files changed

+53
-36
lines changed

7 files changed

+53
-36
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124

125125
- Add `Event` type to represent single points in time during the span's lifetime.
126126
- Add `fastrace-opentelementry` reporter that reports spans to OpenTelemetry collector.
127-
- Removed `Collector` and raplaced it with `Reporter`.
127+
- Removed `Collector` and replaced it with `Reporter`.
128128
- The macro arguments must be named if any, e.g. `#[trace(name="name")]`.
129129
- Allow to statically opt-out of tracing by not setting `enable` feature.
130130

Cargo.lock

Lines changed: 32 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,26 @@ repository = "https://github.com/fast/fastrace"
2121
rust-version = "1.80.0"
2222

2323
[workspace.dependencies]
24-
# workspace dependencies
24+
# Workspace dependencies
2525
fastrace = { version = "0.7.14", path = "fastrace" }
2626
fastrace-macro = { version = "=0.7.14", path = "fastrace-macro" }
2727

28-
# workspace leaves
28+
# Workspace leaves
2929
fastrace-datadog = { path = "fastrace-datadog" }
3030
fastrace-futures = { path = "fastrace-futures" }
3131
fastrace-jaeger = { path = "fastrace-jaeger" }
3232
fastrace-opentelemetry = { path = "fastrace-opentelemetry" }
3333

3434
# crates.io dependencies
3535
log = { version = "0.4.27" }
36-
opentelemetry = { version = "0.30.0", default-features = false, features = [
36+
opentelemetry = { version = "0.31.0", default-features = false, features = [
3737
"trace",
3838
] }
39-
opentelemetry-otlp = { version = "0.30.0", default-features = false, features = [
39+
opentelemetry-otlp = { version = "0.31.0", default-features = false, features = [
4040
"trace",
4141
"grpc-tonic",
4242
] }
43-
opentelemetry_sdk = { version = "0.30.0", default-features = false, features = [
43+
opentelemetry_sdk = { version = "0.31.0", default-features = false, features = [
4444
"trace",
4545
] }
4646
serde = { version = "1.0", features = ["derive"] }

fastrace-opentelemetry/CHANGELOG.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,35 @@
22

33
## Unreleased
44

5+
## v0.14.0
6+
7+
* Upgrade opentelemtry to 0.31.0.
8+
59
## v0.13.0
610

7-
- Recognise `Status` from the `span.status_code` and `span.status_description` properties on spans.
11+
* Recognise `Status` from the `span.status_code` and `span.status_description` properties on spans.
812

913
## v0.12.0
1014

11-
- Remove `SpanKind` argument from `OpenTelemetryReporter::new()`.
12-
- Recognise `SpanKind` from the `span.kind` property on spans.
15+
* Remove `SpanKind` argument from `OpenTelemetryReporter::new()`.
16+
* Recognise `SpanKind` from the `span.kind` property on spans.
1317

1418
## v0.11.0
1519

16-
- Upgrade opentelemtry to 0.30.0.
20+
* Upgrade opentelemtry to 0.30.0.
1721

1822
## v0.10.0
1923

20-
- Upgrade opentelemtry to 0.29.0.
24+
* Upgrade opentelemtry to 0.29.0.
2125

2226
## v0.9.0
2327

24-
- Upgrade opentelemtry to 0.28.0.
28+
* Upgrade opentelemtry to 0.28.0.
2529

2630
## v0.8.1
2731

28-
- Reduce dependencies to futures 0.3.
32+
* Reduce dependencies to futures 0.3.
2933

3034
## v0.8.0
3135

32-
- Upgrade opentelemtry to 0.27.0.
36+
* Upgrade opentelemtry to 0.27.0.

fastrace-opentelemetry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fastrace-opentelemetry"
3-
version = "0.13.0"
3+
version = "0.14.0"
44

55
categories = ["development-tools::debugging"]
66
description = "Opentelemetry reporter for fastrace"

fastrace-opentelemetry/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ impl OpenTelemetryReporter {
157157
SpanData {
158158
span_context,
159159
parent_span_id,
160+
parent_span_is_remote: false,
160161
span_kind,
161162
name,
162163
start_time,

fastrace/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ rand = "0.9"
4343
serial_test = "3.1"
4444
tokio = { workspace = true }
4545
tracing = { version = "0.1" }
46-
tracing-opentelemetry = { version = "0.31.0" }
46+
tracing-opentelemetry = { version = "0.32.0" }
4747
tracing-subscriber = { version = "0.3.19" }
4848

4949
[[bench]]

0 commit comments

Comments
 (0)