All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.quickmsg.common.metric.MetricBean Maven / Gradle / Ivy

The newest version!
package io.github.quickmsg.common.metric;

import io.micrometer.core.instrument.MeterRegistry;
import io.micrometer.core.instrument.Tags;

/**
 * @author luxurong
 */
public interface MetricBean {

    MetricBean Close();

    MeterRegistry getMeterRegistry();

    default Tags getTags() {
        return Tags.empty().and(MetricConstant.COMMON_TAG_NAME, MetricConstant.COMMON_TAG_VALUE);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy