Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
a6b223c1
Commit
a6b223c1
authored
Sep 16, 2017
by
Michael J. Simons
Committed by
Stephane Nicoll
Sep 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix names of metrics properties
See gh-10316
parent
e47d868f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
production-ready-features.adoc
...oot-docs/src/main/asciidoc/production-ready-features.adoc
+4
-4
No files found.
spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
View file @
a6b223c1
...
@@ -876,12 +876,12 @@ its https://micrometer.io/docs[reference documentation].
...
@@ -876,12 +876,12 @@ its https://micrometer.io/docs[reference documentation].
[[production-ready-metrics-spring-mvc]]
[[production-ready-metrics-spring-mvc]]
=== Spring MVC metrics
=== Spring MVC metrics
Auto-configuration will enable the instrumentation of requests handled by Spring MVC.
Auto-configuration will enable the instrumentation of requests handled by Spring MVC.
When `metrics.web.server.auto-time-requests` is `true`, this instrumentation will occur
When `
spring.
metrics.web.server.auto-time-requests` is `true`, this instrumentation will occur
for all requests. Alternatively, when set to `false`, instrumentation can be enabled
for all requests. Alternatively, when set to `false`, instrumentation can be enabled
by adding `@Timed` to a request-handling method.
by adding `@Timed` to a request-handling method.
Metrics will, by default, be generated with the name `http.server.requests`. The name
Metrics will, by default, be generated with the name `http.server.requests`. The name
can be customized using the `metrics.web.server.requests-metrics-name` property.
can be customized using the `
spring.
metrics.web.server.requests-metrics-name` property.
...
@@ -904,7 +904,7 @@ controllers. A helper class, `RouterFunctionMetrics`, is also provided that can
...
@@ -904,7 +904,7 @@ controllers. A helper class, `RouterFunctionMetrics`, is also provided that can
used to instrument applications using WebFlux's funtional programming model.
used to instrument applications using WebFlux's funtional programming model.
Metrics will, by default, be generated with the name `http.server.requests`. The name
Metrics will, by default, be generated with the name `http.server.requests`. The name
can be customized using the `metrics.web.server.requests-metrics-name` property.
can be customized using the `
spring.
metrics.web.server.requests-metrics-name` property.
...
@@ -939,7 +939,7 @@ instrumentation of its requests. `MetricsRestTemplateCustomizer` can be used to
...
@@ -939,7 +939,7 @@ instrumentation of its requests. `MetricsRestTemplateCustomizer` can be used to
customize your own `RestTemplate` instances.
customize your own `RestTemplate` instances.
Metrics will, by default, be generated with the name `http.client.requests`. The name
Metrics will, by default, be generated with the name `http.client.requests`. The name
can be customized using the `metrics.web.client.requests-metrics-name` property.
can be customized using the `
spring.
metrics.web.client.requests-metrics-name` property.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment