0dbac480ae
- Add OpenTelemetry SDK, OTLP exporter, Prometheus integration - Implement connection tracking with active/total/disconnection metrics - Add health endpoint with uptime and connection counts - Integrate tracing spans for socket events and engine messages - Add metrics collection for event handling duration - Update health endpoint to include live runtime state - Add graceful telemetry shutdown in main function - Implement engine session active metrics tracking - Add namespace-specific attributes to connection metrics - Introduce message edit history retrieval endpoint - Add scheduled message CRUD operations and dispatcher - Update Socket.IO event registration with observability - Refactor component update to remove dead code allowance - Add comprehensive environment variables documentation - Implement detailed development guidelines in AGENTS.md
56 lines
1.6 KiB
TOML
56 lines
1.6 KiB
TOML
[package]
|
|
name = "imks"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
name = "imks"
|
|
|
|
[[bin]]
|
|
path = "main.rs"
|
|
name = "imks"
|
|
|
|
|
|
[dependencies]
|
|
tonic = { version = "0.14.6", features = ["tls-ring"] }
|
|
prost = "0.14.3"
|
|
prost-types = "0.14"
|
|
tonic-build = "0.14.6"
|
|
tonic-health = "0.14.6"
|
|
tonic-prost = "0.14.6"
|
|
tokio = { version = "1.52.3", features = ["full"] }
|
|
actix-web = { version = "4.13.0", features = [] }
|
|
actix-ws = { version = "0.4.0", features = [] }
|
|
actix-rt = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { version = "1" }
|
|
sqlx = { version = "0.9", features = ["postgres", "runtime-tokio", "chrono", "uuid", "json", "migrate"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
uuid = { version = "1", features = ["v4", "v7", "serde"] }
|
|
base64 = "0.22"
|
|
rand = "0.9"
|
|
wtransport = "0.7"
|
|
dashmap = "6"
|
|
thiserror = "2"
|
|
async-trait = "0.1"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "json", "fmt", "registry"] }
|
|
opentelemetry = { version = "0.32", features = ["trace", "metrics", "logs"] }
|
|
opentelemetry_sdk = { version = "0.32", features = ["trace", "metrics", "logs", "rt-tokio"] }
|
|
opentelemetry-otlp = { version = "0.32", features = ["trace", "metrics", "logs", "grpc-tonic", "http-proto", "tls-ring"] }
|
|
tracing-opentelemetry = "0.33"
|
|
opentelemetry-appender-tracing = "0.32"
|
|
opentelemetry-prometheus = "0.32"
|
|
prometheus = "0.14"
|
|
fred = { version = "10", features = ["subscriber-client"] }
|
|
async-nats = "0.38"
|
|
futures-util = "0.3"
|
|
jsonwebtoken = "9"
|
|
arc-swap = "1"
|
|
|
|
|
|
[build-dependencies]
|
|
tonic-prost-build = "0.14.6"
|
|
walkdir = "2.5.0" |