mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-10 06:52:55 +00:00
+ neondatabase/cloud#1103 This adds a couple of control endpoints to simplify compute state discovery for control-plane. For example, now we may figure out that Postgres wasn't able to start or basebackup failed within seconds instead of just blindly polling the compute readiness for a minute or two. Also we now expose startup metrics (time of the each step: basebackup, sync safekeepers, config, total). Console grabs them after each successful start and report as histogram to prometheus and grafana. OpenAPI spec is added and up-tp date, but is not currently used in the console yet.
15 lines
261 B
Rust
15 lines
261 B
Rust
//!
|
|
//! Various tools and helpers to handle cluster / compute node (Postgres)
|
|
//! configuration.
|
|
//!
|
|
pub mod checker;
|
|
pub mod config;
|
|
pub mod http;
|
|
#[macro_use]
|
|
pub mod logger;
|
|
pub mod compute;
|
|
pub mod monitor;
|
|
pub mod params;
|
|
pub mod pg_helpers;
|
|
pub mod spec;
|