Interface JvmClassCountMeterConvention
- All Known Implementing Classes:
MicrometerJvmClassCountMeterConvention, OpenTelemetryJvmClassCountMeterConvention
public interface JvmClassCountMeterConvention
Convention for the current class count metric (classes currently loaded).
- Since:
- 1.18.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Canonical name of the meter.default TagsgetTags()Tags specific to this meter convention.static JvmClassCountMeterConventionCreate aJvmClassCountMeterConventionwith the given name.static JvmClassCountMeterConventionCreate aJvmClassCountMeterConventionwith the given name and tags.
-
Method Details
-
getName
-
getTags
-
of
Create aJvmClassCountMeterConventionwith the given name.- Parameters:
name- meter name- Returns:
- a new convention instance
-
of
Create aJvmClassCountMeterConventionwith the given name and tags.- Parameters:
name- meter nametags- tags for the meter- Returns:
- a new convention instance
-