osquery-1/specs/posix/prometheus_metrics.table
2017-02-26 21:59:51 -08:00

10 lines
464 B
Plaintext

table_name("prometheus_metrics")
description("Network interfaces and relevant metadata.")
schema([
Column("target_name", TEXT, "Address of prometheus target"),
Column("metric_name", TEXT, "Name of collected Prometheus metric"),
Column("metric_value", DOUBLE, "Value of collected Prometheus metric"),
Column("timestamp_ms", BIGINT, "Unix timestamp of collected data in MS"),
])
implementation("applications/prometheus_metrics@genPrometheusMetrics")