Class OciMetricsSupport
java.lang.Object
io.helidon.integrations.oci.metrics.OciMetricsSupport
- All Implemented Interfaces:
HttpService,ServerLifecycle,Supplier<HttpService>
OCI Metrics Support
When used in a NIMA app, ensure that this HttpService implementation is registered on the default routing created via
HttpRouting.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFluent API builder to createOciMetricsSupport.static interfacePrescribes behavior for formatting metric names for use by OCI. -
Method Summary
Modifier and TypeMethodDescriptionvoidAfter server stop.voidBefore server start.static OciMetricsSupport.Builderbuilder()Returns a newBuilderfor creating an instance ofOciMetricsSupport.voidUpdates the routing to add handlers of this service.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.nima.webserver.http.HttpService
get
-
Method Details
-
builder
Returns a newBuilderfor creating an instance ofOciMetricsSupport.- Returns:
- new builder
-
routing
Description copied from interface:HttpServiceUpdates the routing to add handlers of this service.- Specified by:
routingin interfaceHttpService- Parameters:
rules- to update
-
beforeStart
public void beforeStart()Description copied from interface:ServerLifecycleBefore server start.- Specified by:
beforeStartin interfaceServerLifecycle
-
afterStop
public void afterStop()Description copied from interface:ServerLifecycleAfter server stop.- Specified by:
afterStopin interfaceServerLifecycle
-