I've been slowly cleaning up my Elastic integration and fine tuning the logs I'm getting, but one thing I can't figure out is a log from APM that my integration is receiving every 10 seconds. Is it some sort of heartbeat monitor? Can I configure it? I see the following exactly every 10 seconds in my APM index:
{
"_index": ".ds-metrics-apm.internal-default-2023.02.17-000001",
"_id": "REDACTED",
"_version": 1,
"_score": 0,
"_source": {
"container": {
"id": "REDACTED"
},
"system.process.cpu.total.norm.pct": 0.0002935195085644799,
"agent": {
"name": "nodejs",
"version": "3.42.0"
},
"nodejs.memory.external.bytes": 24946495,
"system.cpu.total.norm.pct": 0.3384908904123949,
"observer": {
"hostname": "REDACTED",
"type": "apm-server",
"version": "8.6.2"
},
"nodejs.eventloop.delay.avg.ms": 0.16460999593220293,
"system.process.memory.size": 22757142528,
"system.process.cpu.system.norm.pct": 0.00006289703754953141,
"host": {
"hostname": "srv-REDACTED",
"os": {
"platform": "linux"
},
"ip": [
"REDACTED"
],
"name": "srv-REDACTED",
"architecture": "x64"
},
"system.memory.actual.free": 25462472704,
"system.memory.total": 66245554176,
"nodejs.requests.active": 3,
"nodejs.memory.heap.used.bytes": 70463240,
"event": {
"agent_id_status": "missing",
"ingested": "2023-03-02T14:38:01Z"
},
"process": {
"args": [
"/opt/render/project/nodes/node-16.14.0/bin/node",
"/opt/render/project/src/dist/index.js"
],
"parent": {
"pid": 61
},
"pid": 62,
"title": "node"
},
"data_stream.namespace": "default",
"nodejs.memory.heap.allocated.bytes": 78667776,
"nodejs.handles.active": 5,
"nodejs.memory.arrayBuffers.bytes": 23241960,
"data_stream.type": "metrics",
"processor": {
"name": "metric",
"event": "metric"
},
"labels": {
"hostname": "srv-REDACTED",
"env": "development"
},
"system.process.memory.rss.bytes": 125304832,
"metricset.name": "app",
"@timestamp": "2023-03-02T14:37:49.955Z",
"system.process.cpu.user.norm.pct": 0.00023062247101494852,
"service": {
"node": {
"name": "REDACTED"
},
"environment": "development",
"framework": {
"name": "express",
"version": "4.17.1"
},
"name": "server",
"runtime": {
"name": "node",
"version": "16.14.0"
},
"language": {
"name": "javascript"
},
"version": "3.8.12"
},
"data_stream.dataset": "apm.internal"
},
"fields": {
"system.process.cpu.total.norm.pct": [
0
],
"process.parent.pid": [
61
],
"host.hostname": [
"srv-REDACTED"
],
"process.pid": [
62
],
"service.language.name": [
"javascript"
],
"container.id": [
"REDACTED"
],
"process.title.text": [
"node"
],
"system.process.memory.size": [
22757142528
],
"system.process.cpu.system.norm.pct": [
0
],
"processor.event": [
"metric"
],
"system.memory.actual.free": [
25462472704
],
"agent.name": [
"nodejs"
],
"system.memory.total": [
66245554176
],
"host.name": [
"srv-REDACTED"
],
"nodejs.requests.active": [
3
],
"nodejs.memory.heap.used.bytes": [
70463240
],
"event.agent_id_status": [
"missing"
],
"nodejs.memory.heap.allocated.bytes": [
78667776
],
"processor.name": [
"metric"
],
"service.runtime.version": [
"16.14.0"
],
"data_stream.type": [
"metrics"
],
"host.architecture": [
"x64"
],
"ecs.version": [
"8.6.0-dev"
],
"observer.type": [
"apm-server"
],
"observer.version": [
"8.6.2"
],
"agent.version": [
"3.42.0"
],
"process.title": [
"node"
],
"service.framework.version": [
"4.17.1"
],
"nodejs.memory.external.bytes": [
24946495
],
"service.node.name": [
"REDACTED"
],
"system.cpu.total.norm.pct": [
0.338
],
"host.ip": [
"3.129.111.220"
],
"nodejs.eventloop.delay.avg.ms": [
0.165
],
"labels.env": [
"development"
],
"service.environment": [
"development"
],
"service.name": [
"server"
],
"service.framework.name": [
"express"
],
"data_stream.namespace": [
"default"
],
"service.runtime.name": [
"node"
],
"process.args": [
"/opt/render/project/nodes/node-16.14.0/bin/node",
"/opt/render/project/src/dist/index.js"
],
"nodejs.handles.active": [
5
],
"nodejs.memory.arrayBuffers.bytes": [
23241960
],
"observer.hostname": [
"f91b453669f0"
],
"metricset.name": [
"app"
],
"system.process.memory.rss.bytes": [
125304832
],
"event.ingested": [
"2023-03-02T14:38:01.000Z"
],
"@timestamp": [
"2023-03-02T14:37:49.955Z"
],
"service.version": [
"3.8.12"
],
"host.os.platform": [
"linux"
],
"system.process.cpu.user.norm.pct": [
0
],
"data_stream.dataset": [
"apm.internal"
],
"labels.hostname": [
"srv-REDACTED"
]
}
}