-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLATFORM-1112]: Check country tag not appearing in traces (#60)
- Loading branch information
1 parent
14187ed
commit 3405761
Showing
3 changed files
with
30 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[package] | ||
name = "prima-tracing" | ||
version = "0.6.0" | ||
license = "MIT OR Apache-2.0" | ||
readme = "README.md" | ||
authors = ["Enrico Risa <[email protected]>"] | ||
edition = "2021" | ||
description = "Prima.it opentelemetry standard library" | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
name = "prima-tracing" | ||
readme = "README.md" | ||
repository = "https://github.com/primait/prima_tracing.rs" | ||
version = "0.6.1" | ||
|
||
[features] | ||
default = [] | ||
|
@@ -15,13 +15,13 @@ prima-logger-datadog = ["datadog"] | |
prima-logger-json = ["json-logger"] | ||
prima-telemetry = ["traces"] | ||
|
||
json-logger = [] | ||
datadog = ["json-logger", "opentelemetry", "tracing-opentelemetry"] | ||
json-logger = [] | ||
traces = ["tracing-opentelemetry", "opentelemetry", "opentelemetry-otlp"] | ||
|
||
# feature sets most likely used in given environment | ||
live = [ "json-logger", "datadog", "traces" ] | ||
dev = [ "traces" ] | ||
dev = ["traces"] | ||
live = ["json-logger", "datadog", "traces"] | ||
|
||
rt-tokio-current-thread = ["opentelemetry/rt-tokio-current-thread"] | ||
|
||
|
@@ -37,23 +37,23 @@ required-features = ["json-logger"] | |
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
[dependencies] | ||
opentelemetry = { version = "0.19", features = ["rt-tokio"], optional = true } | ||
opentelemetry-otlp = { version = "0.12", features = ["http-proto", "reqwest-client"], default-features = false, optional = true } | ||
tracing = { version = "0.1", features = ["max_level_debug", "release_max_level_info"] } | ||
tracing-opentelemetry = { version = "0.19", optional = true } | ||
tracing-subscriber = { version = "0.3", features = ["env-filter"] } | ||
tracing-log = { version = "0.1" } | ||
opentelemetry = {version = "0.19", features = ["rt-tokio"], optional = true} | ||
opentelemetry-otlp = {version = "0.12", features = ["http-proto", "reqwest-client"], default-features = false, optional = true} | ||
tracing = {version = "0.1", features = ["max_level_debug", "release_max_level_info"]} | ||
tracing-log = {version = "0.1"} | ||
tracing-opentelemetry = {version = "0.19", optional = true} | ||
tracing-subscriber = {version = "0.3", features = ["env-filter"]} | ||
|
||
# serialization/deserialization | ||
serde = { version = "^1.0", features = ["derive"] } | ||
serde = {version = "^1.0", features = ["derive"]} | ||
# json serialization | ||
serde_json = "^1.0" | ||
|
||
# dates | ||
chrono = { version = "^0.4", default-features = false, features = ["serde", "clock"] } | ||
chrono = {version = "^0.4", default-features = false, features = ["serde", "clock"]} | ||
|
||
[dev-dependencies] | ||
actix-web = "4.0.1" | ||
tracing-actix-web = { version = "0.7.0", features = ["opentelemetry_0_19"] } | ||
prima_bridge = "0.13" | ||
tokio = { version = "1.17", features = ["rt", "macros", "rt-multi-thread"] } | ||
tokio = {version = "1.17", features = ["rt", "macros", "rt-multi-thread"]} | ||
tracing-actix-web = {version = "0.7.0", features = ["opentelemetry_0_19"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters