Class MicrometerJvmThreadCountMeterConvention
java.lang.Object
io.micrometer.core.instrument.binder.jvm.convention.micrometer.MicrometerJvmThreadCountMeterConvention
- All Implemented Interfaces:
JvmThreadCountMeterConvention
public class MicrometerJvmThreadCountMeterConvention
extends Object
implements JvmThreadCountMeterConvention
Historical convention used in Micrometer-provided JVM thread count metrics.
- Since:
- 1.18.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Canonical name of the meter.getTags(Thread.State state) Tags specific to this meter convention.
-
Constructor Details
-
MicrometerJvmThreadCountMeterConvention
public MicrometerJvmThreadCountMeterConvention()
-
-
Method Details
-
getName
Description copied from interface:JvmThreadCountMeterConventionCanonical name of the meter.- Specified by:
getNamein interfaceJvmThreadCountMeterConvention- Returns:
- meter name
-
getTags
Description copied from interface:JvmThreadCountMeterConventionTags specific to this meter convention.- Specified by:
getTagsin interfaceJvmThreadCountMeterConvention- Parameters:
state- the thread state from which to derive tags- Returns:
- tags to use with the meter
-