use of io.datarouter.instrumentation.metric.MetricLinkBuilder 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);
}
Aggregations