Interface JvmCpuTimeMeterConvention
- All Known Implementing Classes:
MicrometerJvmCpuTimeMeterConvention, OpenTelemetryJvmCpuTimeMeterConvention
public interface JvmCpuTimeMeterConvention
Convention for process CPU time 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 JvmCpuTimeMeterConventionCreate aJvmCpuTimeMeterConventionwith the given name.static JvmCpuTimeMeterConventionCreate aJvmCpuTimeMeterConventionwith the given name and tags.
-
Method Details
-
getName
-
getTags
-
of
Create aJvmCpuTimeMeterConventionwith the given name.- Parameters:
name- meter name- Returns:
- a new convention instance
-
of
Create aJvmCpuTimeMeterConventionwith the given name and tags.- Parameters:
name- meter nametags- tags for the meter- Returns:
- a new convention instance
-