-
-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathCargo.toml
More file actions
67 lines (64 loc) · 2.1 KB
/
Cargo.toml
File metadata and controls
67 lines (64 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "tonic-tracing-opentelemetry"
description = "Middlewares and tools to integrate tonic + tracing + opentelemetry."
readme = "README.md"
keywords = ["tonic", "tracing", "opentelemetry"]
categories = [
"development-tools::debugging",
"development-tools::profiling",
"web-programming",
]
homepage = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/tree/main/tonic-tracing-opentelemetry"
edition.workspace = true
version = "0.38.0"
repository.workspace = true
license.workspace = true
[dependencies]
futures-core = "0.3"
futures-util = { version = "0.3", default-features = false, features = [] }
http = { workspace = true }
http-body = "1"
hyper = { workspace = true }
opentelemetry = { workspace = true }
pin-project-lite = "0.2"
tonic = { workspace = true, default-features = false }
tower = { workspace = true }
tracing = { workspace = true }
tracing-opentelemetry = { workspace = true }
tracing-opentelemetry-instrumentation-sdk = { path = "../tracing-opentelemetry-instrumentation-sdk", features = [
"http",
], version = "0.38" }
[dev-dependencies]
axum = { workspace = true }
testing-tracing-opentelemetry = { path = "../testing-tracing-opentelemetry" }
fake-opentelemetry-collector = { path = "../fake-opentelemetry-collector" }
assert2 = { workspace = true }
insta = { workspace = true }
opentelemetry-otlp = { workspace = true, features = [
"http-proto",
"reqwest-client",
"reqwest-rustls",
] }
opentelemetry-proto = { workspace = true, features = ["gen-tonic"] }
rstest = { workspace = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { workspace = true, features = ["full"] }
tracing-subscriber = { version = "0.3", default-features = false, features = [
"env-filter",
"fmt",
"json",
] }
tokio-stream = { workspace = true, features = ["net"] }
# need tokio runtime to run smoke tests.
opentelemetry_sdk = { workspace = true, features = [
"trace",
"rt-tokio",
"testing",
] }
[features]
default = []
# to use level `info` instead of `trace` to create otel span
tracing_level_info = [
"tracing-opentelemetry-instrumentation-sdk/tracing_level_info",
]