Class OciMetricsSupport
- java.lang.Object
-
- io.helidon.integrations.oci.metrics.OciMetricsSupport
-
- All Implemented Interfaces:
Service
public class OciMetricsSupport extends Object implements Service
OCI Metrics SupportEven though this service does not create an endpoint, a calling SE app should still register it by invoking
Routing.Rules.register(io.helidon.webserver.Service...)
, as it should with any service it uses. That allows this service to detect when the webserver shuts down so it can shut down as well.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OciMetricsSupport.Builder
Fluent API builder to createOciMetricsSupport
.static interface
OciMetricsSupport.NameFormatter
Prescribes behavior for formatting metric names for use by OCI.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OciMetricsSupport.Builder
builder()
Returns a newBuilder
for creating an instance ofOciMetricsSupport
.void
update(Routing.Rules rules)
UpdatesRouting.Rules
withhandlers
representing this service.
-
-
-
Method Detail
-
builder
public static OciMetricsSupport.Builder builder()
Returns a newBuilder
for creating an instance ofOciMetricsSupport
.- Returns:
- new builder
-
update
public void update(Routing.Rules rules)
Description copied from interface:Service
UpdatesRouting.Rules
withhandlers
representing this service.
-
-