Class MonitoringSubscriptionMetricsProvider.MetricsBuilder
java.lang.Object
pl.allegro.tech.hermes.management.infrastructure.metrics.MonitoringSubscriptionMetricsProvider.MetricsBuilder
- Enclosing interface:
- MonitoringSubscriptionMetricsProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withCode4xx(pl.allegro.tech.hermes.api.MetricDecimalValue code4xx) withCode5xx(pl.allegro.tech.hermes.api.MetricDecimalValue code5xx) withCodes2xx(pl.allegro.tech.hermes.api.MetricDecimalValue codes2xx) withMetricPathBatchRate(pl.allegro.tech.hermes.api.MetricDecimalValue metricPathBatchRate) withOtherErrors(pl.allegro.tech.hermes.api.MetricDecimalValue otherErrors) withRate(pl.allegro.tech.hermes.api.MetricDecimalValue rate) withRetries(pl.allegro.tech.hermes.api.MetricDecimalValue retries) withThroughput(pl.allegro.tech.hermes.api.MetricDecimalValue throughput) withTimeouts(pl.allegro.tech.hermes.api.MetricDecimalValue timeouts)
-
Constructor Details
-
MetricsBuilder
public MetricsBuilder()
-
-
Method Details
-
withRate
public MonitoringSubscriptionMetricsProvider.MetricsBuilder withRate(pl.allegro.tech.hermes.api.MetricDecimalValue rate) -
withTimeouts
public MonitoringSubscriptionMetricsProvider.MetricsBuilder withTimeouts(pl.allegro.tech.hermes.api.MetricDecimalValue timeouts) -
withThroughput
public MonitoringSubscriptionMetricsProvider.MetricsBuilder withThroughput(pl.allegro.tech.hermes.api.MetricDecimalValue throughput) -
withOtherErrors
public MonitoringSubscriptionMetricsProvider.MetricsBuilder withOtherErrors(pl.allegro.tech.hermes.api.MetricDecimalValue otherErrors) -
withCodes2xx
public MonitoringSubscriptionMetricsProvider.MetricsBuilder withCodes2xx(pl.allegro.tech.hermes.api.MetricDecimalValue codes2xx) -
withCode4xx
public MonitoringSubscriptionMetricsProvider.MetricsBuilder withCode4xx(pl.allegro.tech.hermes.api.MetricDecimalValue code4xx) -
withCode5xx
public MonitoringSubscriptionMetricsProvider.MetricsBuilder withCode5xx(pl.allegro.tech.hermes.api.MetricDecimalValue code5xx) -
withRetries
public MonitoringSubscriptionMetricsProvider.MetricsBuilder withRetries(pl.allegro.tech.hermes.api.MetricDecimalValue retries) -
withMetricPathBatchRate
public MonitoringSubscriptionMetricsProvider.MetricsBuilder withMetricPathBatchRate(pl.allegro.tech.hermes.api.MetricDecimalValue metricPathBatchRate) -
build
-