diff --git a/docs/default-configuration.adoc b/docs/default-configuration.adoc index e634eb61..19024414 100644 --- a/docs/default-configuration.adoc +++ b/docs/default-configuration.adoc @@ -538,13 +538,15 @@ logging: [source,yml] ---- -# Metrics -# see https://restheart.org/docs/metrics +# Metrics see https://restheart.org/docs/metrics +metrics: + enabled: true + uri: /metrics + requestsMetricsCollector: enabled: false - uri: /metrics - include: [ "/*" ] - exclude: [ "/metrics", "/metrics/*" ] + include: ["/*"] + exclude: ["/metrics", "/metrics/*"] jvmMetricsCollector: enabled: false diff --git a/docs/monitoring.adoc b/docs/monitoring.adoc index 224c40df..0e9b5a61 100644 --- a/docs/monitoring.adoc +++ b/docs/monitoring.adoc @@ -29,9 +29,11 @@ With the given `RHO` env variable, the configuration is: ---- ping: uri: /acme/ping # change the ping service uri for testing purposes -requestsMetricsCollector: +metrics: enabled: true uri: /metrics +requestsMetricsCollector: + enabled: true include: - /{tenant}/* exclude: