Skip to content

Commit

Permalink
📝 Fix metrics configuration in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ujibang committed Dec 11, 2024
1 parent 8cc97dd commit 9e70650
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 7 additions & 5 deletions docs/default-configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion docs/monitoring.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9e70650

Please sign in to comment.