экспортер показателей pcp-to-elasticsearch (pcp-to-elasticsearch metrics exporter)
Формат вывода (Output format)
First, pcp2elasticsearch
sends this type definition to
Elasticsearch:
{
"mappings": {
"pcp-metric": {
"properties": {
"@timestamp": {
"type": "date"
},
"host-id": {
"type": "string"
}
}
}
}
}
The actual metrics data document is similar to this example:
{
"@host-id": "bozo",
"mem": {
"util": {
"used": 4525820,
"free": 3344000
}
},
"@timestamp": 1507637520,
"disk": {
"partitions": {
"@instances": [
{
"read": 1121,
"@id": "sda1"
},
{
"read": 77306,
"@id": "sda2"
},
{
"read": 131,
"@id": "sda3"
}
]
}
}
}