mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-25 11:56:50 +00:00
add configuration option to enable/disable monitoring bucket in web metrics
This commit is contained in:
@@ -183,6 +183,9 @@ pub struct WebConfig {
|
||||
pub bind_addr: UnixOrTCPSocketAddress,
|
||||
/// Suffix to remove from domain name to find bucket
|
||||
pub root_domain: String,
|
||||
/// Whether to add the requested domain to exported Prometheus metrics
|
||||
#[serde(default)]
|
||||
pub add_host_to_metrics: bool,
|
||||
}
|
||||
|
||||
/// Configuration for the admin and monitoring HTTP API
|
||||
|
||||
Reference in New Issue
Block a user