Skip to content

Commit

Permalink
feat: add provisioning dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterPtato committed Apr 24, 2024
1 parent 65bd2a9 commit b84eaf2
Show file tree
Hide file tree
Showing 18 changed files with 12,682 additions and 31 deletions.
1,601 changes: 1,601 additions & 0 deletions infra/tf/k8s_infra/grafana_dashboards/provisioning.json

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions lib/metrics/src/buckets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@ pub const BUCKETS: &[f64] = &[
0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0, 10.0, // Added
25.0, 50.0, 100.0, 250.0, 500.0,
];

pub const PROVISION_BUCKETS: &[f64] = &[
0.5,
1.0, 2.5, 5.0,
10.0, 25.0, 35.0, 50.0, 75.0,
100.0, 125.0, 250.0, 500.0,
1000.0,
];
1 change: 1 addition & 0 deletions lib/metrics/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ mod registry;
mod server;

pub use buckets::BUCKETS;
pub use buckets::PROVISION_BUCKETS;
pub use prometheus;
pub use registry::REGISTRY;
pub use server::run_standalone;
Loading

0 comments on commit b84eaf2

Please sign in to comment.