Class PrometheusExpositionServiceBuilder
java.lang.Object
com.linecorp.armeria.server.metric.PrometheusExpositionServiceBuilder
- All Implemented Interfaces:
TransientServiceBuilder
public final class PrometheusExpositionServiceBuilder
extends Object
implements TransientServiceBuilder
Builds a
PrometheusExpositionService.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns a newly-createdPrometheusExpositionServicebased on the properties of this builder.transientServiceOptions(TransientServiceOption... transientServiceOptions) Enables the specifiedTransientServiceOptions forTransientService.transientServiceOptions(Iterable<TransientServiceOption> transientServiceOptions) Enables the specifiedTransientServiceOptions forTransientService.
-
Method Details
-
transientServiceOptions
public PrometheusExpositionServiceBuilder transientServiceOptions(TransientServiceOption... transientServiceOptions) Description copied from interface:TransientServiceBuilderEnables the specifiedTransientServiceOptions forTransientService. AllTransientServiceOptions are disabled by default if unspecified.- Specified by:
transientServiceOptionsin interfaceTransientServiceBuilder
-
transientServiceOptions
public PrometheusExpositionServiceBuilder transientServiceOptions(Iterable<TransientServiceOption> transientServiceOptions) Description copied from interface:TransientServiceBuilderEnables the specifiedTransientServiceOptions forTransientService. AllTransientServiceOptions are disabled by default if unspecified.- Specified by:
transientServiceOptionsin interfaceTransientServiceBuilder
-
build
Returns a newly-createdPrometheusExpositionServicebased on the properties of this builder.
-