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
metricsarray withfields,name, andtags - 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
| Field | Type | Description |
|---|---|---|
metrics | array | List of metric entries in the ingest request |
Metric entry attributes
| Field | Type | Description |
|---|---|---|
fields.value | number | Metric value |
fields.timestamp | integer | Metric timestamp, typically Unix time |
name | string | Metric name |
tags.nodeName | string | Node name |
tags.nodeType | string | Node type |
tags.aggregation | string | Aggregation method, typically avg, sum, or max |
tags.<custom> | string | Additional 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"
}
}
]
}