mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-05 08:48:13 +00:00
Add compression and histogram metric type for Prometheus (#987)
Fixes #932 Also fixes #966 Decided not to add Summary type because it has the same functionality as Histogram but makes more calculations on client side (Clio side). See https://prometheus.io/docs/practices/histograms for detailed comparison.
This commit is contained in:
@@ -583,12 +583,12 @@ TEST_F(WebServerPrometheusTest, rejectedIfPrometheusIsDisabled)
|
||||
{
|
||||
static auto constexpr JSONServerConfigWithDisabledPrometheus = R"JSON(
|
||||
{
|
||||
"server":{
|
||||
"server": {
|
||||
"ip": "0.0.0.0",
|
||||
"port": 8888,
|
||||
"admin_password": "secret"
|
||||
},
|
||||
"prometheus_enabled": false
|
||||
"prometheus": { "enabled": false }
|
||||
}
|
||||
)JSON";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user