Skip to content

Commit c694273

Browse files
Furistoroboquat
authored andcommitted
Update dashboard
1 parent efa4a60 commit c694273

File tree

1 file changed

+91
-1
lines changed

1 file changed

+91
-1
lines changed

operations/observability/mixins/workspace/dashboards/components/agent-smith.json

Lines changed: 91 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"fiscalYearStartMonth": 0,
2323
"gnetId": null,
2424
"graphTooltip": 1,
25-
"iteration": 1634665862423,
25+
"id": 52,
26+
"iteration": 1643114727790,
2627
"links": [],
2728
"liveNow": false,
2829
"panels": [
@@ -609,6 +610,95 @@
609610
"title": "Signature Cache Miss",
610611
"type": "timeseries"
611612
},
613+
{
614+
"datasource": {
615+
"type": "prometheus",
616+
"uid": "${datasource}"
617+
},
618+
"description": "The number of workspaces detected by agent-smith",
619+
"fieldConfig": {
620+
"defaults": {
621+
"color": {
622+
"mode": "palette-classic"
623+
},
624+
"custom": {
625+
"axisLabel": "",
626+
"axisPlacement": "auto",
627+
"barAlignment": 0,
628+
"drawStyle": "line",
629+
"fillOpacity": 0,
630+
"gradientMode": "none",
631+
"hideFrom": {
632+
"legend": false,
633+
"tooltip": false,
634+
"viz": false
635+
},
636+
"lineInterpolation": "linear",
637+
"lineWidth": 1,
638+
"pointSize": 5,
639+
"scaleDistribution": {
640+
"type": "linear"
641+
},
642+
"showPoints": "auto",
643+
"spanNulls": false,
644+
"stacking": {
645+
"group": "A",
646+
"mode": "none"
647+
},
648+
"thresholdsStyle": {
649+
"mode": "off"
650+
}
651+
},
652+
"mappings": [],
653+
"thresholds": {
654+
"mode": "absolute",
655+
"steps": [
656+
{
657+
"color": "green",
658+
"value": null
659+
},
660+
{
661+
"color": "red",
662+
"value": 80
663+
}
664+
]
665+
}
666+
},
667+
"overrides": []
668+
},
669+
"gridPos": {
670+
"h": 8,
671+
"w": 12,
672+
"x": 0,
673+
"y": 25
674+
},
675+
"id": 60,
676+
"options": {
677+
"legend": {
678+
"calcs": [],
679+
"displayMode": "list",
680+
"placement": "bottom"
681+
},
682+
"tooltip": {
683+
"mode": "single"
684+
}
685+
},
686+
"targets": [
687+
{
688+
"datasource": {
689+
"type": "prometheus",
690+
"uid": "P1809F7CD0C75ACF3"
691+
},
692+
"exemplar": true,
693+
"expr": "sum(gitpod_agent_smith_procfs_detector_workspace_count{cluster=~\"$cluster\"}) by (cluster)",
694+
"interval": "",
695+
"legendFormat": "{{cluster}}",
696+
"refId": "A"
697+
}
698+
],
699+
"title": "Detected Workspaces",
700+
"type": "timeseries"
701+
},
612702
{
613703
"collapsed": false,
614704
"datasource": null,

0 commit comments

Comments
 (0)