use of io.micrometer.core.instrument.binder.system.UptimeMetrics in project micrometer by micrometer-metrics.
the class UptimeMetricsSample method main.
public static void main(String[] args) {
MeterRegistry registry = SampleConfig.myMonitoringSystem();
registry.config().commonTags("instance", "sample-host");
new UptimeMetrics().bindTo(registry);
}
Aggregations