Search in sources :

Example 1 with MetricBlobPublishingSettings

use of io.datarouter.metric.counter.MetricBlobPublishingSettings in project datarouter by hotpads.

the class DatarouterMetricsPlugin method configure.

@Override
public void configure() {
    bind(CountPublisher.class).to(countPublisher);
    bind(CountBlobDirectorySupplier.class).to(countBlobDirectorySupplier);
    bind(MetricBlobPublishingSettings.class).to(metricBlobPublishingSettings);
    bind(GaugePublisher.class).to(gaugePublisher);
    bind(GaugeBlobDirectorySupplier.class).to(gaugeBlobDirectorySupplier);
    bindActual(Gauges.class, DatabeanGauges.class);
    bind(MetricNameRegistry.class).toInstance(new MetricNameRegistry(metricNames));
    bind(MetricDashboardRegistry.class).toInstance(new MetricDashboardRegistry(dashboards));
    bind(MiscMetricsLinksRegistry.class).toInstance(new MiscMetricsLinksRegistry(miscMetricLinks));
    bind(MetricLinkBuilder.class).to(metricLinkBuilder);
}
Also used : NoOpCountPublisher(io.datarouter.metric.counter.collection.CountPublisher.NoOpCountPublisher) CountPublisher(io.datarouter.metric.counter.collection.CountPublisher) NoOpCountBlobDirectorySupplier(io.datarouter.metric.counter.CountBlobDirectorySupplier.NoOpCountBlobDirectorySupplier) CountBlobDirectorySupplier(io.datarouter.metric.counter.CountBlobDirectorySupplier) MetricBlobPublishingSettings(io.datarouter.metric.counter.MetricBlobPublishingSettings) MetricNameRegistry(io.datarouter.metric.links.MetricNameRegistry) MiscMetricsLinksRegistry(io.datarouter.metric.links.MiscMetricsLinksRegistry) MetricDashboardRegistry(io.datarouter.metric.links.MetricDashboardRegistry) NoOpMetricLinkBuilder(io.datarouter.instrumentation.metric.MetricLinkBuilder.NoOpMetricLinkBuilder) MetricLinkBuilder(io.datarouter.instrumentation.metric.MetricLinkBuilder) GaugeBlobDirectorySupplier(io.datarouter.metric.gauge.GaugeBlobDirectorySupplier) NoOpGaugeBlobDirectorySupplier(io.datarouter.metric.gauge.GaugeBlobDirectorySupplier.NoOpGaugeBlobDirectorySupplier) GaugePublisher(io.datarouter.instrumentation.gauge.GaugePublisher) NoOpGaugePublisher(io.datarouter.instrumentation.gauge.GaugePublisher.NoOpGaugePublisher)

Aggregations

GaugePublisher (io.datarouter.instrumentation.gauge.GaugePublisher)1 NoOpGaugePublisher (io.datarouter.instrumentation.gauge.GaugePublisher.NoOpGaugePublisher)1 MetricLinkBuilder (io.datarouter.instrumentation.metric.MetricLinkBuilder)1 NoOpMetricLinkBuilder (io.datarouter.instrumentation.metric.MetricLinkBuilder.NoOpMetricLinkBuilder)1 CountBlobDirectorySupplier (io.datarouter.metric.counter.CountBlobDirectorySupplier)1 NoOpCountBlobDirectorySupplier (io.datarouter.metric.counter.CountBlobDirectorySupplier.NoOpCountBlobDirectorySupplier)1 MetricBlobPublishingSettings (io.datarouter.metric.counter.MetricBlobPublishingSettings)1 CountPublisher (io.datarouter.metric.counter.collection.CountPublisher)1 NoOpCountPublisher (io.datarouter.metric.counter.collection.CountPublisher.NoOpCountPublisher)1 GaugeBlobDirectorySupplier (io.datarouter.metric.gauge.GaugeBlobDirectorySupplier)1 NoOpGaugeBlobDirectorySupplier (io.datarouter.metric.gauge.GaugeBlobDirectorySupplier.NoOpGaugeBlobDirectorySupplier)1 MetricDashboardRegistry (io.datarouter.metric.links.MetricDashboardRegistry)1 MetricNameRegistry (io.datarouter.metric.links.MetricNameRegistry)1 MiscMetricsLinksRegistry (io.datarouter.metric.links.MiscMetricsLinksRegistry)1