Skip to content

Commit 75bc4b2

Browse files
committed
Merge branch '3.4.x'
Closes gh-45048
2 parents 12e7d97 + 87cd1bb commit 75bc4b2

File tree

2 files changed

+6
-2
lines changed
  • spring-boot-project
    • spring-boot-actuator-autoconfigure/src/docs/antora/modules/api/pages/rest/actuator
    • spring-boot-docs/src/docs/antora/modules/reference/pages/actuator

2 files changed

+6
-2
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/docs/antora/modules/api/pages/rest/actuator/metrics.adoc

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
[[metrics]]
22
= Metrics (`metrics`)
33

4-
The `metrics` endpoint provides access to application metrics.
4+
The `metrics` endpoint provides access to application metrics to diagnose the metrics the application has recorded.
5+
This endpoint should not be "scraped" or used as a metrics backend in production.
6+
Its purpose is to show the currently registered metrics so users can see what metrics are available, what their current values are, and if triggering certain operations cause any change in certain values.
7+
If you want to diagnose your applications through the metrics they collect, you should use an external metrics backend.
8+
In this case, the `metrics` endpoint can still be useful.
59

610

711

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Subject to xref:actuator/endpoints.adoc#actuator.endpoints.sanitization[sanitiza
6666
Requires one or more javadoc:{url-liquibase-javadoc}/liquibase.Liquibase[] beans.
6767

6868
| `metrics`
69-
| Shows "`metrics`" information for the current application.
69+
| Shows "`metrics`" information for the current application to diagnose the metrics the application has recorded.
7070

7171
| `mappings`
7272
| Displays a collated list of all javadoc:org.springframework.web.bind.annotation.RequestMapping[format=annotation] paths.

0 commit comments

Comments
 (0)