mirror of https://github.com/OpenVidu/openvidu.git
openvidu-pro: minor fix metricbeat ilm and add metrics for elasticsearch
parent
ce6beac85d
commit
45eb8fb610
|
@ -2,7 +2,7 @@ metricbeat.modules:
|
|||
- module: system
|
||||
metricsets:
|
||||
- cpu
|
||||
#- diskio
|
||||
- diskio
|
||||
- memory
|
||||
- network
|
||||
- filesystem
|
||||
|
|
|
@ -5,6 +5,32 @@ metricbeat.modules:
|
|||
period: 10s
|
||||
hosts: ["http://127.0.0.1"]
|
||||
server_status_path: "nginx_status"
|
||||
- module: system
|
||||
metricsets:
|
||||
- cpu
|
||||
- diskio
|
||||
- memory
|
||||
- network
|
||||
- filesystem
|
||||
- fsstat
|
||||
- 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: ['.*']
|
||||
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_STATS_MONITORING_INTERVAL}s
|
||||
cpu.metrics: [normalized_percentages]
|
||||
output:
|
||||
elasticsearch:
|
||||
hosts: ["${OPENVIDU_PRO_ELASTICSEARCH_HOST}"]
|
||||
setup.ilm.enabled: false
|
|
@ -148,6 +148,7 @@ services:
|
|||
- .env
|
||||
environment:
|
||||
- OPENVIDU_PRO_ELASTICSEARCH_HOST=${OPENVIDU_PRO_ELASTICSEARCH_HOST:-http://127.0.0.1:9200}
|
||||
- OPENVIDU_PRO_STATS_MONITORING_INTERVAL=${OPENVIDU_PRO_STATS_MONITORING_INTERVAL:-10}
|
||||
volumes:
|
||||
- ./beats/metricbeat.yml:/usr/share/metricbeat/metricbeat.yml:ro
|
||||
command: >
|
||||
|
|
Loading…
Reference in New Issue