mirror of https://github.com/OpenVidu/openvidu.git
Update metricbeat-elasticsearch.yml
Changes needed to get metrics from the media node host base system (cpu, memory, disk, network, uptime)) Also changed polling period to 10x so not to oversize elasticsearch storagepull/591/head
parent
c40847d798
commit
69bd2d0722
|
@ -1,9 +1,32 @@
|
|||
metricbeat.modules:
|
||||
- module: system
|
||||
metricsets: [cpu]
|
||||
enabled: true
|
||||
period: ${OPENVIDU_PRO_CLUSTER_LOAD_INTERVAL}s
|
||||
metricsets:
|
||||
- cpu
|
||||
#- diskio
|
||||
- memory
|
||||
- network
|
||||
- filesystem
|
||||
- fsstat
|
||||
#- process
|
||||
- process_summary
|
||||
- uptime
|
||||
filesystem.ignore_types: [nfs, smbfs, autofs, devtmpfs, devpts, hugetlbfs, tmpfs, sysfs, securityfs, cgroup2, cgroup, pstore, debugfs, configfs, fusectl, proc, fuse.lxcfs, squashfs]
|
||||
processes: ['.*']
|
||||
# process.include_top_n:
|
||||
# by_cpu: 2
|
||||
# by_memory: 2
|
||||
processors:
|
||||
- drop_event:
|
||||
when:
|
||||
or:
|
||||
- regexp:
|
||||
system.network.name: '^(veth|lo|docker|br-)($|)'
|
||||
- regexp:
|
||||
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host)($|/)'
|
||||
- regexp:
|
||||
system.filesystem.mount_point: '^/hostfs/(sys|cgroup|proc|dev|etc|host)($|/)'
|
||||
enabled: true
|
||||
period: ${OPENVIDU_PRO_CLUSTER_LOAD_INTERVAL}0s
|
||||
cpu.metrics: [normalized_percentages]
|
||||
fields: {ip: "${MEDIA_NODE_IP}", cluster-id: "${CLUSTER_ID}"}
|
||||
pipeline:
|
||||
|
|
Loading…
Reference in New Issue