mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 15:21:24 +01:00
set up opentelemetry for metrics
Also adds an `allow_prometheus` option (disabled by default) to expose a `/metrics` endpoint that returns Prometheus data.
This commit is contained in:
parent
94fda7c875
commit
a0b92c82e8
5 changed files with 97 additions and 2 deletions
|
|
@ -106,12 +106,15 @@ image = { version = "0.25.1", default-features = false, features = ["jpeg", "png
|
|||
jsonwebtoken = "9.3.0"
|
||||
lru-cache = "0.1.2"
|
||||
num_cpus = "1.16.0"
|
||||
once_cell = "1.19.0"
|
||||
opentelemetry = "0.23.0"
|
||||
opentelemetry-jaeger-propagator = "0.2.0"
|
||||
opentelemetry-otlp = "0.16.0"
|
||||
opentelemetry-prometheus = "0.16.0"
|
||||
opentelemetry_sdk = { version = "0.23.0", features = ["rt-tokio"] }
|
||||
parking_lot = { version = "0.12.3", optional = true }
|
||||
phf = { version = "0.11.2", features = ["macros"] }
|
||||
prometheus = "0.13.4"
|
||||
rand = "0.8.5"
|
||||
regex = "1.10.4"
|
||||
reqwest = { version = "0.12.4", default-features = false, features = ["http2", "rustls-tls-native-roots", "socks"] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue