Skip to content

Commit 9e70650

Browse files
committed
📝 Fix metrics configuration in documentation
1 parent 8cc97dd commit 9e70650

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

docs/default-configuration.adoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -538,13 +538,15 @@ logging:
538538

539539
[source,yml]
540540
----
541-
# Metrics
542-
# see https://restheart.org/docs/metrics
541+
# Metrics see https://restheart.org/docs/metrics
542+
metrics:
543+
enabled: true
544+
uri: /metrics
545+
543546
requestsMetricsCollector:
544547
enabled: false
545-
uri: /metrics
546-
include: [ "/*" ]
547-
exclude: [ "/metrics", "/metrics/*" ]
548+
include: ["/*"]
549+
exclude: ["/metrics", "/metrics/*"]
548550
549551
jvmMetricsCollector:
550552
enabled: false

docs/monitoring.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ With the given `RHO` env variable, the configuration is:
2929
----
3030
ping:
3131
uri: /acme/ping # change the ping service uri for testing purposes
32-
requestsMetricsCollector:
32+
metrics:
3333
enabled: true
3434
uri: /metrics
35+
requestsMetricsCollector:
36+
enabled: true
3537
include:
3638
- /{tenant}/*
3739
exclude:

0 commit comments

Comments
 (0)