[package]
name = "observability"
version.workspace = true
edition.workspace = true
authors.workspace = true
description.workspace = true
repository.workspace = true
readme.workspace = true
homepage.workspace = true
license.workspace = true
keywords.workspace = true
categories.workspace = true
documentation.workspace = true

[dependencies]
actix-web = { workspace = true }
futures = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
chrono = { workspace = true }
once_cell = { workspace = true }
hostname = { workspace = true }
serde_json = { workspace = true }
serde = { workspace = true, features = ["derive"] }
tokio = { workspace = true, features = ["rt"] }
anyhow = { workspace = true }

# Redis (for metrics exporter)
redis = { workspace = true }
deadpool-redis = { workspace = true, features = ["cluster"] }

# Prometheus metrics export
metrics = "0.22"
metrics-exporter-prometheus = "0.13"

# OTLP tracing (Phase 6)
opentelemetry = { workspace = true }
opentelemetry_sdk = { workspace = true }
opentelemetry-otlp = { workspace = true, features = ["reqwest"] }
opentelemetry-http = { workspace = true }
tracing-opentelemetry = { workspace = true }
thiserror = { workspace = true }
reqwest = { workspace = true }

[lints]
workspace = true
