Ingest Agent Metrics
POST/api/v2/device/telemetry/metrics
Receives metric entries from agents and stores them in Elasticsearch. Metrics are categorized by deviceId and topic.
Request
- application/json
Body
required
Array [
]
deviceId stringrequired
Device identifier that generated/forwarded the metrics
topic string
Topic category for these metrics
metrics
object[]
required
Array of metric entries
metricId string
Unique identifier for this metric entry to prevent duplicates. Auto-generated if not provided.
timestamp date-timerequired
Timestamp when the metric was recorded
name stringrequired
Metric name (e.g., cpu_usage, memory_usage, disk_io)
value numberrequired
Metric numeric value
unit string
Unit of the metric (e.g., percent, bytes, ms)
labels object
Additional labels/tags for the metric
Responses
- 200
Metrics ingested successfully
Loading...