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
|
||||
ip: ${MEDIA_NODE_IP}
|
||||
cluster-id: ${CLUSTER_ID}
|
||||
cluster-role: media-node
|
||||
fields_under_root: true
|
||||
|
||||
processors:
|
||||
|
|
|
@ -42,7 +42,7 @@ metricbeat.modules:
|
|||
enabled: true
|
||||
period: ${OPENVIDU_PRO_CLUSTER_LOAD_INTERVAL}0s
|
||||
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:
|
||||
queue.mem.events: 0
|
||||
setup.ilm.enabled: false
|
||||
|
|
|
@ -28,6 +28,7 @@ processors:
|
|||
- add_fields:
|
||||
fields:
|
||||
cluster-id: ${OPENVIDU_PRO_CLUSTER_ID:undefined}
|
||||
cluster-role: openvidu-server-pro
|
||||
|
||||
output:
|
||||
elasticsearch:
|
||||
|
|
|
@ -44,6 +44,7 @@ metricbeat.modules:
|
|||
enabled: true
|
||||
period: ${OPENVIDU_PRO_STATS_MONITORING_INTERVAL}s
|
||||
cpu.metrics: [normalized_percentages]
|
||||
fields: {ip: "${MEDIA_NODE_IP}", cluster-id: "${CLUSTER_ID}", cluster-role: openvidu-server-pro}
|
||||
output:
|
||||
elasticsearch:
|
||||
hosts: ["${OPENVIDU_PRO_ELASTICSEARCH_HOST}"]
|
||||
|
|
Loading…
Reference in New Issue