[package] name = "telemetry-subscribers" version = "0.4.1" license = "Apache-2.0" authors = ["Evan Chan "] description = "Library for common telemetry and observability functionality" repository = "https://github.com/velvia/telemetry-subscribers" edition = "2021" publish = ["crates-io"] [dependencies] console-subscriber = { version = "0.1.6", optional = true } crossterm = "0.25.0" once_cell = "1.13.0" opentelemetry = { version = "0.18.0", features = ["rt-tokio"], optional = true } opentelemetry-jaeger = { version = "0.17.0", features = [ "rt-tokio", ], optional = true } prometheus = "0.13.1" tokio = { version = "1.21.2", features = [ "sync", "macros", "rt", "rt-multi-thread", ] } tracing = "0.1.37" tracing-appender = "0.2.2" tracing-chrome = { version = "0.7.0", optional = true } tracing-opentelemetry = { version = "0.18.0", optional = true } tracing-subscriber = { version = "0.3.15", features = [ "std", "time", "registry", "env-filter", "json", ] } [features] default = ["jaeger"] tokio-console = ["console-subscriber"] jaeger = ["tracing-opentelemetry", "opentelemetry", "opentelemetry-jaeger"] chrome = ["tracing-chrome"] [dev-dependencies] camino = "1.0.9"