<metric_name>
corresponds to the metric field (STRING){<label1>=<value1>,<label2>=<value2>,...}
represents the labels field (JSON)<metric_value>
maps to the value field (DOUBLE)<timestamp>
corresponds to the ts field (TIMESTAMP)Column | Type | Field type | Description |
---|---|---|---|
metric | STRING | Dimension | The name of the Prometheus metric |
labels | JSON | Dimension | A JSON object containing key-value pairs of Prometheus labels |
value | DOUBLE | Metric | The numeric value of the metric |
ts | TIMESTAMP | Date-Time | The timestamp when the metric was recorded, in milliseconds since the Unix epoch |
org.apache.pinot.plugin.stream.kafka20.KafkaConsumerFactory
and
the decoder associated with this stream is ai.startree.pinot.plugin.inputformat.prometheus.PrometheusMessageDecoder"
.