Class MetricsObserveProvider
java.lang.Object
io.helidon.webserver.observe.metrics.MetricsObserveProvider
- All Implemented Interfaces:
ConfiguredProvider<Observer>
,ObserveProvider
Deprecated.
ServiceLoader
provider implementation for metrics observe provider.-
Constructor Details
-
MetricsObserveProvider
Deprecated.only forServiceLoader
Default constructor required byServiceLoader
. Do not use.
-
-
Method Details
-
configKey
Deprecated.Description copied from interface:ObserveProvider
Configuration key of this provider. The following keys must be honored by Observe support:enabled
- enable/disable the serviceendpoint
- endpoint, if starts with/
then absolute, otherwise relative to observe endpointcors
- CORS setup for this endpoint
- Specified by:
configKey
in interfaceConfiguredProvider<Observer>
- Specified by:
configKey
in interfaceObserveProvider
- Returns:
- configuration key of this provider (such as
health
)
-
create
Deprecated.Description copied from interface:ObserveProvider
Create a new observer from the provided configuration.- Specified by:
create
in interfaceConfiguredProvider<Observer>
- Specified by:
create
in interfaceObserveProvider
- Parameters:
config
- configuration of this providername
- name of the instance- Returns:
- a new observer to be registered with routing
-
ServiceLoader