|
110 | 110 | "uid": "${datasource}" |
111 | 111 | }, |
112 | 112 | "editorMode": "code", |
113 | | - "expr": "rate(hubble_flows_processed_total{type=\"PolicyVerdict\",verdict=\"FORWARDED\",traffic_direction=\"egress\",source_namespace=~\"$namespace\"}[1m])", |
| 113 | + "expr": "rate(hubble_flows_processed_total{cluster=~\"$cluster\",type=\"PolicyVerdict\",verdict=\"FORWARDED\",traffic_direction=\"egress\",source_namespace=~\"$namespace\"}[1m])", |
114 | 114 | "legendFormat": "{{source_pod}} - (to {{destination_pod}})", |
115 | 115 | "range": true, |
116 | 116 | "refId": "A" |
|
208 | 208 | "uid": "${datasource}" |
209 | 209 | }, |
210 | 210 | "editorMode": "code", |
211 | | - "expr": "rate(hubble_flows_processed_total{type=\"PolicyVerdict\",verdict=\"FORWARDED\",traffic_direction=\"ingress\",source_namespace=~\"$namespace\"}[1m])", |
| 211 | + "expr": "rate(hubble_flows_processed_total{cluster=~\"$cluster\",type=\"PolicyVerdict\",verdict=\"FORWARDED\",traffic_direction=\"ingress\",source_namespace=~\"$namespace\"}[1m])", |
212 | 212 | "legendFormat": "{{source_pod}} - (to {{destination_pod}})", |
213 | 213 | "range": true, |
214 | 214 | "refId": "A" |
|
306 | 306 | "uid": "${datasource}" |
307 | 307 | }, |
308 | 308 | "editorMode": "code", |
309 | | - "expr": "rate(hubble_drop_total{reason=\"POLICY_DENIED\",traffic_direction=\"egress\",source_namespace=~\"$namespace\"}[1m])", |
| 309 | + "expr": "rate(hubble_drop_total{cluster=~\"$cluster\",reason=\"POLICY_DENIED\",traffic_direction=\"egress\",source_namespace=~\"$namespace\"}[1m])", |
310 | 310 | "legendFormat": "{{source_pod}} - (to {{destination_pod}})", |
311 | 311 | "range": true, |
312 | 312 | "refId": "A" |
|
406 | 406 | "uid": "${datasource}" |
407 | 407 | }, |
408 | 408 | "editorMode": "code", |
409 | | - "expr": "rate(hubble_drop_total{reason=\"POLICY_DENIED\",traffic_direction=\"ingress\",source_namespace=~\"$namespace\"}[1m])", |
| 409 | + "expr": "rate(hubble_drop_total{cluster=~\"$cluster\",reason=\"POLICY_DENIED\",traffic_direction=\"ingress\",source_namespace=~\"$namespace\"}[1m])", |
410 | 410 | "format": "time_series", |
411 | 411 | "legendFormat": "{{source_pod}} - (from {{destination_pod}})", |
412 | 412 | "range": true, |
|
437 | 437 | "regex": "", |
438 | 438 | "type": "datasource" |
439 | 439 | }, |
| 440 | + { |
| 441 | + "current": { |
| 442 | + "selected": false, |
| 443 | + "text": "All", |
| 444 | + "value": "$__all" |
| 445 | + }, |
| 446 | + "datasource": { |
| 447 | + "type": "prometheus", |
| 448 | + "uid": "$datasource" |
| 449 | + }, |
| 450 | + "definition": "label_values(hubble_flows_processed_total,cluster)", |
| 451 | + "hide": 0, |
| 452 | + "includeAll": true, |
| 453 | + "label": "cluster", |
| 454 | + "multi": true, |
| 455 | + "name": "cluster", |
| 456 | + "options": [], |
| 457 | + "query": { |
| 458 | + "query": "label_values(hubble_flows_processed_total,cluster)", |
| 459 | + "refId": "Thanos All-cluster-Variable-Query" |
| 460 | + }, |
| 461 | + "refresh": 2, |
| 462 | + "regex": "", |
| 463 | + "skipUrlSync": false, |
| 464 | + "sort": 0, |
| 465 | + "tagValuesQuery": "", |
| 466 | + "tagsQuery": "", |
| 467 | + "type": "query", |
| 468 | + "useTags": false |
| 469 | + }, |
440 | 470 | { |
441 | 471 | "current": { |
442 | 472 | "text": [ |
|
0 commit comments