mirror of https://github.com/OpenVidu/openvidu.git
deployment: Updated openvidu pro beats custom fields. Don't add docker metrics
parent
fe03ee96ce
commit
f871d7850d
|
@ -27,7 +27,8 @@ processors:
|
||||||
container.image.name: docker.elastic.co/beats/metricbeat-oss
|
container.image.name: docker.elastic.co/beats/metricbeat-oss
|
||||||
- add_fields:
|
- add_fields:
|
||||||
fields:
|
fields:
|
||||||
cluster-id: ${OPENVIDU_PRO_CLUSTER_ID:undefined}
|
cluster_id: ${OPENVIDU_PRO_CLUSTER_ID:${DOMAIN_OR_PUBLIC_IP}}
|
||||||
|
cluster_role: masternode
|
||||||
|
|
||||||
output:
|
output:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
|
|
|
@ -2,9 +2,38 @@ metricbeat.modules:
|
||||||
- module: nginx
|
- module: nginx
|
||||||
metricsets: ["stubstatus"]
|
metricsets: ["stubstatus"]
|
||||||
enabled: true
|
enabled: true
|
||||||
period: 10s
|
period: ${OPENVIDU_PRO_STATS_MONITORING_INTERVAL}s
|
||||||
hosts: ["http://127.0.0.1"]
|
hosts: ["http://127.0.0.1"]
|
||||||
server_status_path: "nginx_status"
|
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]
|
||||||
|
fields:
|
||||||
|
cluster_id: ${OPENVIDU_PRO_CLUSTER_ID:${DOMAIN_OR_PUBLIC_IP}}
|
||||||
|
cluster_role: masternode
|
||||||
output:
|
output:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
hosts: ["${OPENVIDU_PRO_ELASTICSEARCH_HOST}"]
|
hosts: ["${OPENVIDU_PRO_ELASTICSEARCH_HOST}"]
|
||||||
|
setup.ilm.enabled: false
|
|
@ -11,8 +11,8 @@ filebeat.inputs:
|
||||||
fields:
|
fields:
|
||||||
kurento-media-server: true
|
kurento-media-server: true
|
||||||
ip: ${MEDIA_NODE_IP}
|
ip: ${MEDIA_NODE_IP}
|
||||||
cluster-id: ${CLUSTER_ID}
|
cluster_id: ${CLUSTER_ID}
|
||||||
cluster-role: media-node
|
cluster_role: medianode
|
||||||
fields_under_root: true
|
fields_under_root: true
|
||||||
|
|
||||||
processors:
|
processors:
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
metricbeat.modules:
|
metricbeat.modules:
|
||||||
- module: docker
|
|
||||||
metricsets:
|
|
||||||
- "container"
|
|
||||||
- "cpu"
|
|
||||||
- "diskio"
|
|
||||||
- "event"
|
|
||||||
- "healthcheck"
|
|
||||||
- "info"
|
|
||||||
- "image"
|
|
||||||
- "memory"
|
|
||||||
- "network"
|
|
||||||
hosts: ["unix:///var/run/docker.sock"]
|
|
||||||
period: ${OPENVIDU_PRO_CLUSTER_LOAD_INTERVAL}0s
|
|
||||||
enabled: true
|
|
||||||
- module: system
|
- module: system
|
||||||
metricsets:
|
metricsets:
|
||||||
- cpu
|
- cpu
|
||||||
|
@ -42,7 +28,7 @@ metricbeat.modules:
|
||||||
enabled: true
|
enabled: true
|
||||||
period: ${OPENVIDU_PRO_CLUSTER_LOAD_INTERVAL}0s
|
period: ${OPENVIDU_PRO_CLUSTER_LOAD_INTERVAL}0s
|
||||||
cpu.metrics: [normalized_percentages]
|
cpu.metrics: [normalized_percentages]
|
||||||
fields: {ip: "${MEDIA_NODE_IP}", cluster-id: "${CLUSTER_ID}", cluster-role: media-node}
|
fields: {ip: "${MEDIA_NODE_IP}", cluster_id: "${CLUSTER_ID}", cluster_role: medianode}
|
||||||
pipeline:
|
pipeline:
|
||||||
queue.mem.events: 0
|
queue.mem.events: 0
|
||||||
setup.ilm.enabled: false
|
setup.ilm.enabled: false
|
||||||
|
|
|
@ -27,8 +27,8 @@ processors:
|
||||||
container.image.name: docker.elastic.co/beats/metricbeat-oss
|
container.image.name: docker.elastic.co/beats/metricbeat-oss
|
||||||
- add_fields:
|
- add_fields:
|
||||||
fields:
|
fields:
|
||||||
cluster-id: ${OPENVIDU_PRO_CLUSTER_ID:undefined}
|
cluster_id: ${OPENVIDU_PRO_CLUSTER_ID:${DOMAIN_OR_PUBLIC_IP}}
|
||||||
cluster-role: openvidu-server-pro
|
cluster_role: masternode
|
||||||
|
|
||||||
output:
|
output:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
metricbeat.modules:
|
metricbeat.modules:
|
||||||
- module: docker
|
|
||||||
metricsets:
|
|
||||||
- "container"
|
|
||||||
- "cpu"
|
|
||||||
- "diskio"
|
|
||||||
- "event"
|
|
||||||
- "healthcheck"
|
|
||||||
- "info"
|
|
||||||
- "image"
|
|
||||||
- "memory"
|
|
||||||
- "network"
|
|
||||||
hosts: ["unix:///var/run/docker.sock"]
|
|
||||||
period: ${OPENVIDU_PRO_STATS_MONITORING_INTERVAL}s
|
|
||||||
enabled: true
|
|
||||||
- module: nginx
|
- module: nginx
|
||||||
metricsets: ["stubstatus"]
|
metricsets: ["stubstatus"]
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -44,7 +30,9 @@ metricbeat.modules:
|
||||||
enabled: true
|
enabled: true
|
||||||
period: ${OPENVIDU_PRO_STATS_MONITORING_INTERVAL}s
|
period: ${OPENVIDU_PRO_STATS_MONITORING_INTERVAL}s
|
||||||
cpu.metrics: [normalized_percentages]
|
cpu.metrics: [normalized_percentages]
|
||||||
fields: {cluster-role: openvidu-server-pro}
|
fields:
|
||||||
|
cluster_id: ${OPENVIDU_PRO_CLUSTER_ID:${DOMAIN_OR_PUBLIC_IP}}
|
||||||
|
cluster_role: masternode
|
||||||
output:
|
output:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
hosts: ["${OPENVIDU_PRO_ELASTICSEARCH_HOST}"]
|
hosts: ["${OPENVIDU_PRO_ELASTICSEARCH_HOST}"]
|
||||||
|
|
Loading…
Reference in New Issue