1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

Bump dependencies

This commit is contained in:
Quentin Gliech
2022-02-04 10:18:01 +01:00
parent e4277180e5
commit 26a340d5dc
11 changed files with 101 additions and 92 deletions

View File

@ -9,7 +9,7 @@ license = "Apache-2.0"
tokio = { version = "1.16.1", features = ["full"] }
futures = "0.3.19"
anyhow = { version = "1.0.53", features = ["backtrace"] }
clap = { version = "3.0.13", features = ["derive"] }
clap = { version = "3.0.14", features = ["derive"] }
dotenv = "0.15.0"
schemars = { version = "0.8.8", features = ["url", "chrono"] }
tower = { version = "0.4.11", features = ["full"] }
@ -23,16 +23,16 @@ reqwest = { version = "0.11.9", features = ["rustls-tls"], default-features = fa
watchman_client = "0.7.1"
atty = "0.2.14"
tracing = "0.1.29"
tracing = "0.1.30"
tracing-appender = "0.2.0"
tracing-subscriber = { version = "0.3.7", features = ["env-filter"] }
tracing-opentelemetry = "0.16.0"
opentelemetry = { version = "0.16.0", features = ["trace", "metrics", "rt-tokio"] }
opentelemetry-http = "0.5.0"
opentelemetry-semantic-conventions = "0.8.0"
opentelemetry-jaeger = { version = "0.15.0", features = ["rt-tokio", "reqwest_collector_client"], optional = true }
opentelemetry-otlp = { version = "0.9.0", features = ["trace", "metrics"], optional = true }
opentelemetry-zipkin = { version = "0.14.0", features = ["reqwest-client", "reqwest-rustls"], default-features = false, optional = true }
tracing-opentelemetry = "0.17.0"
opentelemetry = { version = "0.17.0", features = ["trace", "metrics", "rt-tokio"] }
opentelemetry-http = "0.6.0"
opentelemetry-semantic-conventions = "0.9.0"
opentelemetry-jaeger = { version = "0.16.0", features = ["rt-tokio", "reqwest_collector_client"], optional = true }
opentelemetry-otlp = { version = "0.10.0", features = ["trace", "metrics"], optional = true }
opentelemetry-zipkin = { version = "0.15.0", features = ["reqwest-client", "reqwest-rustls"], default-features = false, optional = true }
mas-config = { path = "../config" }
mas-handlers = { path = "../handlers" }

View File

@ -206,9 +206,7 @@ fn otlp_meter(_endpoint: &Option<url::Url>) -> anyhow::Result<()> {
}
fn stdout_meter() {
sdk::export::metrics::stdout(tokio::spawn, interval)
.with_pretty_print(true)
.init();
sdk::export::metrics::stdout(tokio::spawn, interval).init();
}
fn meter(config: &MetricsExporterConfig) -> anyhow::Result<()> {