Update peer telemetry for dashboard
This commit is contained in:
parent
2f234e48b0
commit
403279002c
|
|
@ -546,7 +546,11 @@ data:
|
|||
"protocol": 4,
|
||||
"relay": 5,
|
||||
"turn_server": 6,
|
||||
"video_seen": 7
|
||||
"video_seen": 7,
|
||||
"local_candidate_type": 8,
|
||||
"remote_candidate_type": 9,
|
||||
"remote_ip": 10,
|
||||
"user_agent": 11
|
||||
},
|
||||
"renameByName": {}
|
||||
}
|
||||
|
|
@ -791,6 +795,93 @@ data:
|
|||
}
|
||||
],
|
||||
"type": "table"
|
||||
},
|
||||
{
|
||||
"datasource": "${logs}",
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"custom": {
|
||||
"align": "auto",
|
||||
"displayMode": "auto"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{ "color": "green", "value": null }
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 8,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 60
|
||||
},
|
||||
"id": 16,
|
||||
"options": {
|
||||
"showHeader": true
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
"expr": "{namespace=\"webrtc-be\", container=\"webrtc-be\"} |= \"type=peer_telemetry\" |= \"protocol=unknown\" | logfmt",
|
||||
"maxLines": 500,
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
"description": "Filtered view of telemetry where the protocol was reported as unknown.",
|
||||
"title": "Unknown Peers",
|
||||
"transformations": [
|
||||
{
|
||||
"id": "extractFields",
|
||||
"options": {
|
||||
"format": "json",
|
||||
"source": "labels"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "organize",
|
||||
"options": {
|
||||
"excludeByName": {
|
||||
"app": true,
|
||||
"app_kubernetes_io_component": true,
|
||||
"app_kubernetes_io_name": true,
|
||||
"cluster": true,
|
||||
"container": true,
|
||||
"filename": true,
|
||||
"id": true,
|
||||
"job": true,
|
||||
"labels": true,
|
||||
"level": true,
|
||||
"Line": true,
|
||||
"namespace": true,
|
||||
"pod": true,
|
||||
"pod_template_hash": true,
|
||||
"stream": true,
|
||||
"tsNs": true,
|
||||
"type": true
|
||||
},
|
||||
"indexByName": {
|
||||
"Time": 0,
|
||||
"room": 1,
|
||||
"user": 2,
|
||||
"p2p": 3,
|
||||
"protocol": 4,
|
||||
"relay": 5,
|
||||
"turn_server": 6,
|
||||
"video_seen": 7,
|
||||
"local_candidate_type": 8,
|
||||
"remote_candidate_type": 9,
|
||||
"remote_ip": 10,
|
||||
"user_agent": 11
|
||||
},
|
||||
"renameByName": {}
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "table"
|
||||
}
|
||||
],
|
||||
"refresh": "30s",
|
||||
|
|
|
|||
Loading…
Reference in New Issue