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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product