-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
108 lines (95 loc) · 3.57 KB
/
Cargo.toml
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[package]
name = "opentelemetry-application-insights"
version = "0.37.0"
authors = ["Jan Kuehle <[email protected]>"]
edition = "2018"
description = "OpenTelemetry exporter for Azure Application Insights"
readme = "README.md"
repository = "https://github.com/frigus02/opentelemetry-application-insights"
license = "MIT"
keywords = ["opentelemetry", "tracing"]
categories = [
"development-tools::debugging",
"development-tools::profiling",
"asynchronous",
]
exclude = [
".github/*",
"README.tpl",
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["trace", "metrics", "logs"]
trace = ["opentelemetry_sdk/trace"]
metrics = ["opentelemetry_sdk/metrics"]
logs = ["opentelemetry_sdk/logs"]
live-metrics = ["trace", "futures-util", "sysinfo"]
# Deprecated features: These don't enable anything in
# opentelemetry-application-insights. They only enable features in dependency
# crates.
reqwest-blocking-client = ["reqwest-client"]
reqwest-blocking-client-rustls = ["reqwest-client-rustls"]
reqwest-client = ["opentelemetry-http/reqwest", "reqwest/native-tls"]
reqwest-client-vendored-tls = ["opentelemetry-http/reqwest", "reqwest/native-tls-vendored"]
reqwest-client-rustls = ["opentelemetry-http/reqwest", "reqwest/rustls-tls"]
[dependencies]
async-trait = "0.1"
bytes = "1"
chrono = "0.4"
flate2 = "1"
futures-util = { version = "0.3", default-features = false, optional = true }
http = "1"
once_cell = "1"
opentelemetry = "0.27"
opentelemetry-http = "0.27"
opentelemetry-semantic-conventions = { version = "0.27", features = ["semconv_experimental"] }
opentelemetry_sdk = "0.27"
reqwest = { version = "0.12", default-features = false, features = ["blocking"], optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_repr = "0.1"
sysinfo = { version = "0.30", optional = true }
thiserror = "2"
[dev-dependencies]
async-std = { version = "1.13.0", features = ["attributes"] }
doc-comment = "0.3.3"
env_logger = "0.11.3"
insta = "1.39.0"
log = { version = "0.4", features = ["kv", "kv_sval"] }
opentelemetry_sdk = { version = "0.27", features = ["rt-async-std", "rt-tokio", "rt-tokio-current-thread", "spec_unstable_logs_enabled"] }
opentelemetry-http = { version = "0.27", features = ["reqwest"] }
opentelemetry-appender-log = { version = "0.27", features = ["with-serde"] }
rand = "0.8.5"
regex = "1.10.5"
reqwest = { version = "0.12", features = ["blocking"] }
test-case = "3.3.1"
tokio = { version = "1.38.0", features = ["rt-multi-thread", "macros", "process", "time"] }
version-sync = { version = "0.9.5", default-features = false, features = ["html_root_url_updated", "contains_regex"] }
[badges]
github = { repository = "frigus02/opentelemetry-application-insights", workflow = "CI" }
[[example]]
name = "attributes"
required-features = ["opentelemetry-http/reqwest"]
[[example]]
name = "http_client_reqwest"
required-features = ["opentelemetry_sdk/rt-tokio", "opentelemetry-http/reqwest"]
[[example]]
name = "http_client_reqwest_blocking"
required-features = ["opentelemetry-http/reqwest"]
[[example]]
name = "live_metrics"
required-features = ["live-metrics", "opentelemetry_sdk/rt-tokio", "opentelemetry-http/reqwest"]
[[example]]
name = "logs"
required-features = ["logs", "opentelemetry_sdk/rt-tokio"]
[[example]]
name = "metrics"
required-features = ["metrics", "opentelemetry_sdk/rt-tokio"]
[[example]]
name = "opentelemetry"
required-features = ["opentelemetry_sdk/rt-tokio", "opentelemetry-http/reqwest"]
[[example]]
name = "stress_test"
required-features = ["opentelemetry_sdk/rt-tokio", "opentelemetry-http/reqwest"]