MetricKeyTransfer
zio.metrics.connectors.insight.MetricsMessageImplicits$.MetricKeyTransfer
case class MetricKeyTransfer(name: String, labels: Set[MetricLabel], metricType: String, details: String)
We map a metric key as a MetricKeyTransfer so that we can yield the following serialization structure:
Example:
{
"name": "The name of the key",
"labels": [
{
"key": "pool",
"value": "CodeHeap 'non-nmethods'"
}
],
"metricType": "Gauge",
details": "{}"
}
Attributes
- labels
The labels of the key
- metricType
The type of the metric the key points to
- name
The name of the key
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any