Skip to content

Commit debce21

Browse files
committed
chore: убрать неинформативные security stat-карточки
Что сделано: - удалены три нижние панели 401/403/429, которые визуально не давали пользы - оставлен рабочий security-граф с легендой Last для наблюдения кодов - повышена версия дашборда для корректного обновления provisioning
1 parent 9210faf commit debce21

1 file changed

Lines changed: 1 addition & 205 deletions

File tree

monitoring/grafana/provisioning/dashboards/json/task-manager-observability.json

Lines changed: 1 addition & 205 deletions
Original file line numberDiff line numberDiff line change
@@ -834,210 +834,6 @@
834834
],
835835
"title": "Security сигналы: 401/403/429 (за 5 минут)",
836836
"type": "timeseries"
837-
},
838-
{
839-
"datasource": {
840-
"type": "prometheus",
841-
"uid": "prometheus"
842-
},
843-
"fieldConfig": {
844-
"defaults": {
845-
"color": {
846-
"mode": "background"
847-
},
848-
"mappings": [],
849-
"thresholds": {
850-
"mode": "absolute",
851-
"steps": [
852-
{
853-
"color": "green",
854-
"value": null
855-
},
856-
{
857-
"color": "orange",
858-
"value": 5
859-
},
860-
{
861-
"color": "red",
862-
"value": 20
863-
}
864-
]
865-
},
866-
"unit": "short",
867-
"decimals": 0,
868-
"noValue": "0"
869-
},
870-
"overrides": []
871-
},
872-
"gridPos": {
873-
"h": 6,
874-
"w": 8,
875-
"x": 0,
876-
"y": 37
877-
},
878-
"id": 11,
879-
"options": {
880-
"colorMode": "value",
881-
"graphMode": "none",
882-
"justifyMode": "center",
883-
"orientation": "auto",
884-
"reduceOptions": {
885-
"calcs": [
886-
"lastNotNull"
887-
],
888-
"fields": "",
889-
"values": false
890-
},
891-
"textMode": "value"
892-
},
893-
"targets": [
894-
{
895-
"editorMode": "code",
896-
"expr": "round(sum(increase(http_requests_total{status=\"401\"}[5m])) or vector(0))",
897-
"legendFormat": "",
898-
"range": false,
899-
"refId": "A",
900-
"instant": true
901-
}
902-
],
903-
"title": "401 за 5 минут",
904-
"type": "stat"
905-
},
906-
{
907-
"datasource": {
908-
"type": "prometheus",
909-
"uid": "prometheus"
910-
},
911-
"fieldConfig": {
912-
"defaults": {
913-
"color": {
914-
"mode": "background"
915-
},
916-
"mappings": [],
917-
"thresholds": {
918-
"mode": "absolute",
919-
"steps": [
920-
{
921-
"color": "green",
922-
"value": null
923-
},
924-
{
925-
"color": "orange",
926-
"value": 3
927-
},
928-
{
929-
"color": "red",
930-
"value": 10
931-
}
932-
]
933-
},
934-
"unit": "short",
935-
"decimals": 0,
936-
"noValue": "0"
937-
},
938-
"overrides": []
939-
},
940-
"gridPos": {
941-
"h": 6,
942-
"w": 8,
943-
"x": 8,
944-
"y": 37
945-
},
946-
"id": 12,
947-
"options": {
948-
"colorMode": "value",
949-
"graphMode": "none",
950-
"justifyMode": "center",
951-
"orientation": "auto",
952-
"reduceOptions": {
953-
"calcs": [
954-
"lastNotNull"
955-
],
956-
"fields": "",
957-
"values": false
958-
},
959-
"textMode": "value"
960-
},
961-
"targets": [
962-
{
963-
"editorMode": "code",
964-
"expr": "round(sum(increase(http_requests_total{status=\"403\"}[5m])) or vector(0))",
965-
"legendFormat": "",
966-
"range": false,
967-
"refId": "A",
968-
"instant": true
969-
}
970-
],
971-
"title": "403 за 5 минут",
972-
"type": "stat"
973-
},
974-
{
975-
"datasource": {
976-
"type": "prometheus",
977-
"uid": "prometheus"
978-
},
979-
"fieldConfig": {
980-
"defaults": {
981-
"color": {
982-
"mode": "background"
983-
},
984-
"mappings": [],
985-
"thresholds": {
986-
"mode": "absolute",
987-
"steps": [
988-
{
989-
"color": "green",
990-
"value": null
991-
},
992-
{
993-
"color": "orange",
994-
"value": 2
995-
},
996-
{
997-
"color": "red",
998-
"value": 5
999-
}
1000-
]
1001-
},
1002-
"unit": "short",
1003-
"decimals": 0,
1004-
"noValue": "0"
1005-
},
1006-
"overrides": []
1007-
},
1008-
"gridPos": {
1009-
"h": 6,
1010-
"w": 8,
1011-
"x": 16,
1012-
"y": 37
1013-
},
1014-
"id": 13,
1015-
"options": {
1016-
"colorMode": "value",
1017-
"graphMode": "none",
1018-
"justifyMode": "center",
1019-
"orientation": "auto",
1020-
"reduceOptions": {
1021-
"calcs": [
1022-
"lastNotNull"
1023-
],
1024-
"fields": "",
1025-
"values": false
1026-
},
1027-
"textMode": "value"
1028-
},
1029-
"targets": [
1030-
{
1031-
"editorMode": "code",
1032-
"expr": "round(sum(increase(http_requests_total{status=\"429\"}[5m])) or vector(0))",
1033-
"legendFormat": "",
1034-
"range": false,
1035-
"refId": "A",
1036-
"instant": true
1037-
}
1038-
],
1039-
"title": "429 за 5 минут",
1040-
"type": "stat"
1041837
}
1042838
],
1043839
"refresh": "5s",
@@ -1115,6 +911,6 @@
1115911
"timezone": "",
1116912
"title": "Task Manager API - Observability",
1117913
"uid": "task-manager-observability",
1118-
"version": 4,
914+
"version": 5,
1119915
"weekStart": ""
1120916
}

0 commit comments

Comments
 (0)