Package io.helidon.metrics.prometheus
Class PrometheusSupport.Builder
java.lang.Object
io.helidon.webserver.servicecommon.HelidonFeatureSupport.Builder<PrometheusSupport.Builder,PrometheusSupport>
io.helidon.metrics.prometheus.PrometheusSupport.Builder
- All Implemented Interfaces:
Builder<PrometheusSupport.Builder,,PrometheusSupport> Supplier<PrometheusSupport>
- Enclosing class:
PrometheusSupport
@Deprecated(since="4.5.0",
forRemoval=true)
public static final class PrometheusSupport.Builder
extends HelidonFeatureSupport.Builder<PrometheusSupport.Builder,PrometheusSupport>
Deprecated, for removal: This API element is subject to removal in a future version.
use Helidon's built-in metrics implementation, which already supports
Prometheus/OpenMetrics output, instead
A builder of
PrometheusSupport.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated, for removal: This API element is subject to removal in a future version.Build the instance from this builder.collectorRegistry(CollectorRegistry registry) Deprecated, for removal: This API element is subject to removal in a future version.Sets collector registry to use, default isCollectorRegistry.defaultRegistry.Deprecated, for removal: This API element is subject to removal in a future version.Sets path of the metrics resource, default is/metrics.Methods inherited from class io.helidon.webserver.servicecommon.HelidonFeatureSupport.Builder
config, config, config, crossOriginConfig, restServiceSettings, webContext, webContextConfig
-
Method Details
-
collectorRegistry
Deprecated, for removal: This API element is subject to removal in a future version.Sets collector registry to use, default isCollectorRegistry.defaultRegistry.- Parameters:
registry- a registry to use- Returns:
- updated builder
-
path
Deprecated, for removal: This API element is subject to removal in a future version.Sets path of the metrics resource, default is/metrics.- Parameters:
path- a resource path- Returns:
- updated builder
-
build
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BuilderBuild the instance from this builder.- Returns:
- instance of the built type
-