Interface JvmCpuCountMeterConvention
- All Known Implementing Classes:
MicrometerJvmCpuCountMeterConvention, OpenTelemetryJvmCpuCountMeterConvention
public interface JvmCpuCountMeterConvention
Convention for CPU count metrics.
- 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 JvmCpuCountMeterConventionCreate aJvmCpuCountMeterConventionwith the given name.static JvmCpuCountMeterConventionCreate aJvmCpuCountMeterConventionwith the given name and tags.
-
Method Details
-
getName
-
getTags
-
of
Create aJvmCpuCountMeterConventionwith the given name.- Parameters:
name- meter name- Returns:
- a new convention instance
-
of
Create aJvmCpuCountMeterConventionwith the given name and tags.- Parameters:
name- meter nametags- tags for the meter- Returns:
- a new convention instance
-