Package io.helidon.microprofile.metrics
Class MetricsMpService
- java.lang.Object
-
- io.helidon.microprofile.metrics.MetricsMpService
-
- All Implemented Interfaces:
MpService
public class MetricsMpService extends Object implements MpService
Extension of microprofileServerto enable support for metrics and metrics REST API. This handles only API of metrics. CDI support is in a separate module.To use metrics system, you can either use static methods on (proprietary)
RegistryFactoryor use CDI annotations.
-
-
Constructor Summary
Constructors Constructor Description MetricsMpService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(MpServiceContext serviceContext)Allow the service to add configuration through the context.
-
-
-
Method Detail
-
configure
public void configure(MpServiceContext serviceContext)
Description copied from interface:MpServiceAllow the service to add configuration through the context.
-
-