Exposes param/metric declarations and derived bucket data over HTTP: POST /api/params and POST /api/metrics validate and declare against the engine, persisting into the active profile (if any) so declarations survive a restart; GET /api/metrics lists declarations; GET /api/metrics/:name queries bucket values with label, time-range, sequence, and limit filters. Adds a new EngineQuery::BucketValues variant that layers this filtering on top of ticket 003's bucket_values helper. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XFUNZwCvz3kcod3352ZR2o
24 lines
558 B
TOML
24 lines
558 B
TOML
[package]
|
|
name = "ottyl"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
axum = { version = "0.8.9", features = ["json"] }
|
|
tokio = { version = "1.53.1", features = ["full"] }
|
|
tower-http = { version = "0.6", features = ["fs", "cors"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
clap = { version = "4", features = ["derive"] }
|
|
regex = "1"
|
|
pest = "2"
|
|
pest_derive = "2"
|
|
chrono = "0.4"
|
|
humantime = "2"
|
|
directories = "6.0.0"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.27.0"
|
|
tower = { version = "0.5", features = ["util"] }
|
|
http-body-util = "0.1"
|