MetricGroup
A value that identifies the category a metric belongs to.
Declaration
struct MetricGroupMentioned in
Discussion
Use MetricGroup with metricGroup to filter or group results without exhaustive switching. For example, to process only CPU-related metrics:
for result in entry.values where result.metricGroup == .cpu {
// handle CPU metrics
}