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
The parameters passed to endpoint operation methods are, if necessary, automatically converted to the required type.
535
535
Before calling an operation method, the input received via JMX or an HTTP request is converted to the required types using an instance of `ApplicationConversionService` as well as any `Converter` or `GenericConverter` beans qualified with `@EndpointConverter`.
536
536
@@ -633,7 +633,7 @@ The latter is typically used to perform authorization checks using its `isUserIn
633
633
634
634
635
635
[[production-ready-endpoints-custom-servlet]]
636
-
==== Servlet endpoints
636
+
==== Servlet Endpoints
637
637
A `Servlet` can be exposed as an endpoint by implementing a class annotated with `@ServletEndpoint` that also implements `Supplier<EndpointServlet>`.
638
638
Servlet endpoints provide deeper integration with the Servlet container but at the expense of portability.
639
639
They are intended to be used to expose an existing `Servlet` as an endpoint.
@@ -642,7 +642,7 @@ For new endpoints, the `@Endpoint` and `@WebEndpoint` annotations should be pref
642
642
643
643
644
644
[[production-ready-endpoints-custom-controller]]
645
-
==== Controller endpoints
645
+
==== Controller Endpoints
646
646
`@ControllerEndpoint` and `@RestControllerEndpoint` can be used to implement an endpoint that is only exposed by Spring MVC or Spring WebFlux.
647
647
Methods are mapped using the standard annotations for Spring MVC and Spring WebFlux such as `@RequestMapping` and `@GetMapping`, with the endpoint's ID being used as a prefix for the path.
648
648
Controller endpoints provide deeper integration with Spring's web frameworks but at the expense of portability.
@@ -1033,7 +1033,7 @@ In this case, a probe check could be successful even if the main application doe
==== Checking external state with Kubernetes Probes
1036
+
==== Checking External State with Kubernetes Probes
1037
1037
Actuator configures the "liveness" and "readiness" probes as Health Groups; this means that all the <<production-ready-health-groups, Health Groups features>> are available for them.
1038
1038
You can, for example, configure additional Health Indicators:
1039
1039
@@ -1070,7 +1070,7 @@ Also, if an application is using Kubernetes https://kubernetes.io/docs/tasks/run
1070
1070
1071
1071
1072
1072
[[production-ready-kubernetes-probes-lifecycle]]
1073
-
==== Application lifecycle and Probes states
1073
+
==== Application Lifecycle and Probe States
1074
1074
An important aspect of the Kubernetes Probes support is its consistency with the application lifecycle.
1075
1075
There is a significant difference between the `AvailabilityState` which is the in-memory, internal state of the application
1076
1076
and the actual Probe which exposes that state: depending on the phase of application lifecycle, the Probe might not be available.
@@ -1653,7 +1653,7 @@ Spring Boot also <<production-ready-metrics-meter,configures built-in instrument
1653
1653
1654
1654
1655
1655
[[production-ready-metrics-export]]
1656
-
=== Supported monitoring systems
1656
+
=== Supported Monitoring Systems
1657
1657
1658
1658
1659
1659
@@ -2488,7 +2488,7 @@ To disable the auto-configured connection pool metrics, set the following proper
2488
2488
2489
2489
2490
2490
[[production-ready-metrics-custom]]
2491
-
=== Registering custom metrics
2491
+
=== Registering Custom Metrics
2492
2492
To register custom metrics, inject `MeterRegistry` into your component, as shown in the following example:
2493
2493
2494
2494
[source,java,indent=0]
@@ -2510,7 +2510,7 @@ A `MeterBinder` implementation can also be useful if you find that you repeatedl
2510
2510
2511
2511
2512
2512
[[production-ready-metrics-per-meter-properties]]
2513
-
=== Customizing individual metrics
2513
+
=== Customizing Individual Metrics
2514
2514
If you need to apply customizations to specific `Meter` instances you can use the `io.micrometer.core.instrument.config.MeterFilter` interface.
2515
2515
By default, all `MeterFilter` beans will be automatically applied to the micrometer `MeterRegistry.Config`.
Common tags are generally used for dimensional drill-down on the operating environment like host, instance, region, stack, etc.
2529
2529
Commons tags are applied to all meters and can be configured as shown in the following example:
2530
2530
@@ -2544,7 +2544,7 @@ As the order of common tags cannot be guaranteed using this approach, Graphite u
2544
2544
2545
2545
2546
2546
2547
-
==== Per-meter properties
2547
+
==== Per-meter Properties
2548
2548
In addition to `MeterFilter` beans, it's also possible to apply a limited set of customization on a per-meter basis using properties.
2549
2549
Per-meter customizations apply to any all meter IDs that start with the given name.
2550
2550
For example, the following will disable any meters that have an ID starting with `example.remote`
@@ -2585,7 +2585,7 @@ For more details on concepts behind `percentiles-histogram`, `percentiles` and `
2585
2585
2586
2586
2587
2587
[[production-ready-metrics-endpoint]]
2588
-
=== Metrics endpoint
2588
+
=== Metrics Endpoint
2589
2589
Spring Boot provides a `metrics` endpoint that can be used diagnostically to examine the metrics collected by an application.
2590
2590
The endpoint is not available by default and must be exposed, see <<production-ready-endpoints-exposing-endpoints,exposing endpoints>> for more details.
2591
2591
@@ -2726,7 +2726,7 @@ If your Cloud Foundry UAA or Cloud Controller services use self-signed certifica
2726
2726
2727
2727
2728
2728
2729
-
=== Custom context path
2729
+
=== Custom Context Path
2730
2730
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.
2731
2731
For example, if `server.servlet.context-path=/app`, Cloud Foundry endpoints will be available at `/app/cloudfoundryapplication/*`.
0 commit comments