mirror of https://github.com/OpenVidu/openvidu.git
deployment: Add field 'cluster-role' to distinguish metrics in dashboards
parent
d8beb2147d
commit
e321370014
|
@ -12,6 +12,7 @@ filebeat.inputs:
|
||||||
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
|
||||||
fields_under_root: true
|
fields_under_root: true
|
||||||
|
|
||||||
processors:
|
processors:
|
||||||
|
|
|
@ -42,7 +42,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}"}
|
fields: {ip: "${MEDIA_NODE_IP}", cluster-id: "${CLUSTER_ID}", cluster-role: media-node}
|
||||||
pipeline:
|
pipeline:
|
||||||
queue.mem.events: 0
|
queue.mem.events: 0
|
||||||
setup.ilm.enabled: false
|
setup.ilm.enabled: false
|
||||||
|
|
|
@ -28,6 +28,7 @@ processors:
|
||||||
- add_fields:
|
- add_fields:
|
||||||
fields:
|
fields:
|
||||||
cluster-id: ${OPENVIDU_PRO_CLUSTER_ID:undefined}
|
cluster-id: ${OPENVIDU_PRO_CLUSTER_ID:undefined}
|
||||||
|
cluster-role: openvidu-server-pro
|
||||||
|
|
||||||
output:
|
output:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
|
|
|
@ -44,6 +44,7 @@ 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: {ip: "${MEDIA_NODE_IP}", cluster-id: "${CLUSTER_ID}", cluster-role: openvidu-server-pro}
|
||||||
output:
|
output:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
hosts: ["${OPENVIDU_PRO_ELASTICSEARCH_HOST}"]
|
hosts: ["${OPENVIDU_PRO_ELASTICSEARCH_HOST}"]
|
||||||
|
|
Loading…
Reference in New Issue