java.lang.Object
io.helidon.nima.observe.info.InfoObserveProvider
- All Implemented Interfaces:
ObserveProvider
ServiceLoader provider implementation for application information observe provider.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConfiguration key of this provider.Default endpoint of this provider.voidregister(Config config, String componentPath, HttpRouting.Builder routing) Register the provider's services and handlers to the routing builder.
-
Constructor Details
-
InfoObserveProvider
public InfoObserveProvider()Required byServiceLoader.
-
-
Method Details
-
configKey
Description copied from interface:ObserveProviderConfiguration key of this provider. The following keys are reserved by Observe support:enabled- enable/disable the serviceendpoint- endpoint, if starts with/then absolute, otherwise relative to observe endpoint
- Specified by:
configKeyin interfaceObserveProvider- Returns:
- configuration key of this provider (such as
health)
-
defaultEndpoint
Description copied from interface:ObserveProviderDefault endpoint of this provider. To define a relative path, do not include forward slash (such ashealthwould resolve into/observe/health).- Specified by:
defaultEndpointin interfaceObserveProvider- Returns:
- default endpoint under
/observe
-
register
Description copied from interface:ObserveProviderRegister the provider's services and handlers to the routing builder. The component MUST honor the provided component path.- Specified by:
registerin interfaceObserveProvider- Parameters:
config- configuration of this providercomponentPath- component path to register under (such as/observe/health, based on configured endpoint andObserveProvider.defaultEndpoint())routing- routing builder
-