Skip to main content

Ingestion request object

An Ingestion request object contains one or more metric entries that Eyer accepts for source ingestion.

Notes

  • The most common input shape is a metrics array with fields, name, and tags
  • Eyer supports flexible source mapping, so the exact accepted shape can vary by customer configuration
  • For custom formats, Eyer support prepares the mapping for the ingest source

Attributes

FieldTypeDescription
metricsarrayList of metric entries in the ingest request

Metric entry attributes

FieldTypeDescription
fields.valuenumberMetric value
fields.timestampintegerMetric timestamp, typically Unix time
namestringMetric name
tags.nodeNamestringNode name
tags.nodeTypestringNode type
tags.aggregationstringAggregation method, typically avg, sum, or max
tags.<custom>stringAdditional customer-specific tags used by mapping

Example

{
"metrics": [
{
"fields": {
"value": 94.01,
"timestamp": 1740047760
},
"name": "central_O2_sensor",
"tags": {
"nodeName": "O2_16",
"nodeType": "O2_sensor",
"aggregation": "avg",
"tank": "tank_16"
}
},
{
"fields": {
"value": 96.01,
"timestamp": 1740047760
},
"name": "side_O2_sensor",
"tags": {
"nodeName": "O2_16",
"nodeType": "O2_sensor",
"aggregation": "sum",
"tank": "tank_16"
}
},
{
"fields": {
"value": 96.81,
"timestamp": 1740047760
},
"name": "emergency_O2_sensor",
"tags": {
"nodeName": "O2_16",
"nodeType": "O2_sensor",
"aggregation": "max",
"tank": "tank_16"
}
}
]
}