Class OtlpPublisherProvider
java.lang.Object
io.helidon.metrics.providers.micrometer.OtlpPublisherProvider
- All Implemented Interfaces:
ConfiguredProvider<MetricsPublisher>,MetricsPublisherProvider
Provider for an OTLP publisher.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OtlpPublisherProvider
public OtlpPublisherProvider()Creates a new provider for service loading.
-
-
Method Details
-
configKey
Description copied from interface:ConfiguredProviderKey this service implementation is stored under. This is also considered the service "type" when used in a list in configuration, to allow the same service defined more than once.- Specified by:
configKeyin interfaceConfiguredProvider<MetricsPublisher>- Returns:
- key of this implementation
-
create
Description copied from interface:ConfiguredProviderCreate a new instance from the configuration located on the provided node.- Specified by:
createin interfaceConfiguredProvider<MetricsPublisher>- Parameters:
config- located atConfiguredProvider.configKey()nodename- name of the configured implementation- Returns:
- a new instance created from this config node
-