You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/cloud-foundry.adoc
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -40,11 +40,11 @@ If your Cloud Foundry UAA or Cloud Controller services use self-signed certifica
40
40
41
41
[[actuator.cloud-foundry.custom-context-path]]
42
42
=== Custom Context Path
43
-
If the server's context-path has been configured to anything other than `/`, the Cloud Foundry endpoints will not be available at the root of the application.
44
-
For example, if `server.servlet.context-path=/app`, Cloud Foundry endpoints will be available at `/app/cloudfoundryapplication/*`.
43
+
If the server's context-path has been configured to anything other than `/`, the Cloud Foundry endpoints are not available at the root of the application.
44
+
For example, if `server.servlet.context-path=/app`, Cloud Foundry endpoints are available at `/app/cloudfoundryapplication/*`.
45
45
46
-
If you expect the Cloud Foundry endpoints to always be available at `/cloudfoundryapplication/*`, regardless of the server's context-path, you will need to explicitly configure that in your application.
47
-
The configuration will differ depending on the web server in use.
46
+
If you expect the Cloud Foundry endpoints to always be available at `/cloudfoundryapplication/*`, regardless of the server's context-path, you need to explicitly configure that in your application.
47
+
The configuration differs, depending on the web server in use.
48
48
For Tomcat, you can add the following configuration:
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/monitoring.adoc
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ The default convention is to use the `id` of the endpoint with a prefix of `/act
5
5
For example, `health` is exposed as `/actuator/health`.
6
6
7
7
TIP: Actuator is supported natively with Spring MVC, Spring WebFlux, and Jersey.
8
-
If both Jersey and Spring MVC are available, Spring MVC will be used.
8
+
If both Jersey and Spring MVC are available, Spring MVC is used.
9
9
10
10
NOTE: Jackson is a required dependency in order to get the correct JSON responses as documented in the API documentation ({spring-boot-actuator-restapi-docs}[HTML] or {spring-boot-actuator-restapi-pdfdocs}[PDF]).
11
11
@@ -27,7 +27,7 @@ You can use the configprop:management.endpoints.web.base-path[] property to chan
27
27
28
28
The preceding `application.properties` example changes the endpoint from `/actuator/\{id}` to `/manage/\{id}` (for example, `/manage/info`).
29
29
30
-
NOTE: Unless the management port has been configured to <<actuator#actuator.monitoring.customizing-management-server-port,expose endpoints by using a different HTTP port>>, `management.endpoints.web.base-path` is relative to `server.servlet.context-path` (Servlet web applications) or `spring.webflux.base-path` (reactive web applications).
30
+
NOTE: Unless the management port has been configured to <<actuator#actuator.monitoring.customizing-management-server-port,expose endpoints by using a different HTTP port>>, `management.endpoints.web.base-path` is relative to `server.servlet.context-path` (for servlet web applications) or `spring.webflux.base-path` (for reactive web applications).
31
31
If `management.server.port` is configured, `management.endpoints.web.base-path` is relative to `management.server.base-path`.
32
32
33
33
If you want to map endpoints to a different path, you can use the configprop:management.endpoints.web.path-mapping[] property.
@@ -60,15 +60,15 @@ You can set the configprop:management.server.port[] property to change the HTTP
60
60
port: 8081
61
61
----
62
62
63
-
NOTE: On Cloud Foundry, applications only receive requests on port 8080 for both HTTP and TCP routing, by default.
64
-
If you want to use a custom management port on Cloud Foundry, you will need to explicitly set up the application's routes to forward traffic to the custom port.
63
+
NOTE: On Cloud Foundry, by default, applications receive requests only on port 8080 for both HTTP and TCP routing.
64
+
If you want to use a custom management port on Cloud Foundry, you need to explicitly set up the application's routes to forward traffic to the custom port.
65
65
66
66
67
67
68
68
[[actuator.monitoring.management-specific-ssl]]
69
69
=== Configuring Management-specific SSL
70
-
When configured to use a custom port, the management server can also be configured with its own SSL by using the various `management.server.ssl.*` properties.
71
-
For example, doing so lets a management server be available over HTTP while the main application uses HTTPS, as shown in the following property settings:
70
+
When configured to use a custom port, you can also configure the management server with its own SSL by using the various `management.server.ssl.*` properties.
71
+
For example, doing so lets a management server be available over HTTP while the main application uses HTTPS, as the following property settings show:
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/process-monitoring.adoc
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
== Process Monitoring
3
3
In the `spring-boot` module, you can find two classes to create files that are often useful for process monitoring:
4
4
5
-
* `ApplicationPidFileWriter` creates a file containing the application PID (by default, in the application directory with a file name of `application.pid`).
6
-
* `WebServerPortFileWriter` creates a file (or files) containing the ports of the running web server (by default, in the application directory with a file name of `application.port`).
5
+
* `ApplicationPidFileWriter` creates a file that contains the application PID (by default, in the application directory with a file name of `application.pid`).
6
+
* `WebServerPortFileWriter` creates a file (or files) that contain the ports of the running web server (by default, in the application directory with a file name of `application.port`).
7
7
8
-
By default, these writers are not activated, but you can enable:
8
+
By default, these writers are not activated, but you can enable them:
0 commit comments