Skip to content

Commit a505dba

Browse files
authored
Merge branch 'main' into cijothomas/knownbugtest
2 parents d5f02aa + da2029e commit a505dba

File tree

52 files changed

+279
-75
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+279
-75
lines changed

.github/workflows/benchmark.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
- uses: actions/checkout@v4
3333
with:
3434
fetch-depth: 10 # Fetch current commit and its parent
35+
- name: "Show change commit"
36+
run: git log -1
3537
- uses: arduino/setup-protoc@v3
3638
with:
3739
repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -42,11 +44,15 @@ jobs:
4244
with:
4345
cwd: opentelemetry
4446
branchName: ${{ env.BRANCH_NAME }}
47+
- name: "Checkout change commit"
48+
run: git checkout $GITHUB_SHA
4549
- uses: boa-dev/criterion-compare-action@v3
4650
with:
4751
cwd: opentelemetry-appender-tracing
4852
features: spec_unstable_logs_enabled
4953
branchName: ${{ env.BRANCH_NAME }}
54+
- name: "Checkout change commit"
55+
run: git checkout $GITHUB_SHA
5056
- uses: boa-dev/criterion-compare-action@v3
5157
with:
5258
cwd: opentelemetry-sdk

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
continue-on-error: true # Prevent sudden announcement of a new advisory from failing ci
107107
steps:
108108
- uses: actions/checkout@v4
109-
- uses: EmbarkStudios/cargo-deny-action@v1
109+
- uses: EmbarkStudios/cargo-deny-action@v2
110110
with:
111111
command: check advisories
112112
docs:

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "opentelemetry-proto/src/proto/opentelemetry-proto"]
22
path = opentelemetry-proto/src/proto/opentelemetry-proto
33
url = https://github.com/open-telemetry/opentelemetry-proto
4-
branch = tags/v1.0.0
4+
branch = tags/v1.5.0

Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ exclude = ["opentelemetry-prometheus"]
1919
debug = 1
2020

2121
[workspace.dependencies]
22-
async-std = "1.13"
2322
async-trait = "0.1"
2423
bytes = "1"
2524
criterion = "0.5"
@@ -42,8 +41,8 @@ serde = { version = "1.0", default-features = false }
4241
serde_json = "1.0"
4342
temp-env = "0.3.6"
4443
thiserror = { version = "2", default-features = false }
45-
tonic = { version = "0.12.3", default-features = false }
46-
tonic-build = "0.12"
44+
tonic = { version = "0.13", default-features = false }
45+
tonic-build = "0.13"
4746
tokio = { version = "1", default-features = false }
4847
tokio-stream = "0.1"
4948
# Using `tracing 0.1.40` because 0.1.39 (which is yanked) introduces the ability to set event names in macros,

deny.toml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
exclude=[
2-
"actix-http",
3-
"actix-http-tracing",
4-
"actix-udp",
5-
"actix-udp-example",
6-
"tracing-grpc",
7-
"http"
8-
]
1+
[graph]
2+
exclude=[]
93

104
[licenses]
11-
unlicensed = "deny"
125
allow = [
136
"MIT",
147
"Apache-2.0",
@@ -29,5 +22,5 @@ license-files = [
2922
]
3023

3124
[advisories]
32-
unmaintained = "allow"
25+
unmaintained = "none"
3326
yanked = "allow"

examples/logs-basic/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ version = "0.1.0"
44
edition = "2021"
55
license = "Apache-2.0"
66
publish = false
7+
autobenches = false
8+
9+
[[bin]]
10+
name = "logs-basic"
11+
path = "src/main.rs"
12+
bench = false
713

814
[dependencies]
915
opentelemetry_sdk = { path = "../../opentelemetry-sdk", features = ["logs"] }

examples/metrics-advanced/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ version = "0.1.0"
44
edition = "2021"
55
license = "Apache-2.0"
66
publish = false
7+
autobenches = false
8+
9+
[[bin]]
10+
name = "metrics-advanced"
11+
path = "src/main.rs"
12+
bench = false
713

814
[dependencies]
915
opentelemetry = { path = "../../opentelemetry", features = ["metrics"] }

examples/metrics-basic/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ version = "0.1.0"
44
edition = "2021"
55
license = "Apache-2.0"
66
publish = false
7+
autobenches = false
8+
9+
[[bin]]
10+
name = "metrics-basic"
11+
path = "src/main.rs"
12+
bench = false
713

814
[dependencies]
915
opentelemetry = { path = "../../opentelemetry", features = ["metrics"] }

examples/tracing-grpc/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@ version = "0.1.0"
44
edition = "2021"
55
license = "Apache-2.0"
66
publish = false
7+
autobenches = false
78

89
[[bin]] # Bin to run the gRPC server
910
name = "grpc-server"
1011
path = "src/server.rs"
12+
bench = false
1113

1214
[[bin]] # Bin to run the gRPC client
1315
name = "grpc-client"
1416
path = "src/client.rs"
17+
bench = false
1518

1619
[dependencies]
1720
opentelemetry = { path = "../../opentelemetry" }

examples/tracing-http-propagator/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,19 @@ version = "0.1.0"
44
edition = "2021"
55
license = "Apache-2.0"
66
publish = false
7+
autobenches = false
78

89
[[bin]] # Bin to run the http server
910
name = "http-server"
1011
path = "src/server.rs"
1112
doc = false
13+
bench = false
1214

1315
[[bin]] # Bin to run the client
1416
name = "http-client"
1517
path = "src/client.rs"
1618
doc = false
19+
bench = false
1720

1821
[dependencies]
1922
http-body-util = { workspace = true }

0 commit comments

Comments
 (0)