APM agents are shipping APM metrics to APM server for Kubernetes pods. The kibana UI displays the heap/non-heap memory as well as the thread count but doesn't display the CPU & Memory graphs.
Kibana version: 7.2
Elasticsearch version: 7.2
APM Server version: 7.2.0
APM Agent language and version: Java agent v1.9
Browser version: Chrome
Fresh install or upgraded from other version? Fresh install
APM server is shipping logs to Kafka from where logstash picks it up and ships to Elastic search
The kibana UI displays the heap/non-heap memory as well as the thread count but doesn't display the CPU & Memory graphs. The CPU & memory graps are empty as well as the apm-metrics-* indices do not have CPU & memory field.
Sample APM metrics document:
{
"_index": "apm-7.2.0-metric-2020.01.22",
"_type": "_doc",
"_id": "fgdfsghdd563fgbhv",
"_version": 1,
"_score": null,
"_source": {
"container": {
"id": "fdsgfdhgfhd"
},
"observer": {
"hostname": "apm-server-gfhfghvc-fghfghfg-zxjjg",
"id": "fghfghfghfghfd",
"type": "apm-server",
"ephemeral_id": "vcbcv-4f43-6546-5745-tghtghbn56gf",
"version": "7.2.0",
"version_major": 7
},
"agent": {
"name": "java",
"ephemeral_id": "dvbc-vcbvcx-vcx-bvc-vcbvcbcvbfd",
"version": "1.9.0"
},
"process": {
"pid": 1,
"title": "/lib/runtime/bin/java"
},
"@timestamp": "2020-01-21T18:54:11.151Z",
"ecs": {
"version": "1.0.0"
},
"service": {
"name": "gener",
"runtime": {
"name": "Java",
"version": "11"
},
"language": {
"name": "Java",
"version": "11"
}
},
"host": {
"hostname": "gener-60-ghgys",
"os": {
"platform": "Linux"
},
"ip": "10.34.21.61",
"architecture": "amd64"
},
"@version": "1",
"type": "abc-apm",
"processor": {
"name": "metric",
"event": "metric"
},
"span": {
"self_time": {
"count": 5,
"sum": {
"us": 2777
}
}
}
},
"fields": {
"@timestamp": [
"2020-01-21T18:54:11.151Z"
]
}
}