Commit dd8522e0 authored by M. Rehan Abbasi's avatar M. Rehan Abbasi
Browse files

add Notifications title panel and remove redundant panel

parent ddc71e7b
Loading
Loading
Loading
Loading
+25 −88
Original line number Diff line number Diff line
@@ -3661,6 +3661,31 @@
          "type": "text",
          "datasource": null
        },
        {
          "datasource": null,
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "gridPos": {
            "h": 1,
            "w": 12,
            "x": 12,
            "y": 36
          },
          "id": 135,
          "options": {
            "content": "",
            "mode": "markdown"
          },
          "pluginVersion": "7.3.5",
          "timeFrom": null,
          "timeShift": null,
          "title": "Notifications",
          "type": "text"
        },
        {
          "datasource": "Thanos",
          "fieldConfig": {
@@ -4021,94 +4046,6 @@
          "title": "Notification Response Codes",
          "type": "bargauge"
        },
        {
          "datasource": "Thanos",
          "fieldConfig": {
            "defaults": {
              "custom": {
                "align": "left",
                "filterable": false
              },
              "decimals": 0,
              "displayName": "${__series.name}",
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "dark-blue",
                    "value": null
                  },
                  {
                    "color": "blue",
                    "value": 0
                  }
                ]
              }
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "method"
                },
                "properties": [
                  {
                    "id": "custom.width",
                    "value": 121
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Time"
                },
                "properties": [
                  {
                    "id": "custom.width",
                    "value": 166
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 0,
            "y": 42
          },
          "id": 135,
          "options": {
            "displayMode": "gradient",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "showUnfilled": true
          },
          "pluginVersion": "7.3.5",
          "targets": [
            {
              "expr": "topk(10, sort_desc(sum by (svc,path,method)((max_over_time(metrics_http_request_duration_count{replica=~\"$replica\",svc=~\"$mec030\"}[$__range]) - metrics_http_request_duration_count{replica=~\"$replica\",svc=~\"$mec030\"} offset $__range) or (max_over_time(metrics_http_request_duration_count{replica=~\"$replica\",svc=~\"$mec030\"}[$__range]) unless metrics_http_request_duration_count{replica=~\"$replica\",svc=~\"$mec030\"} offset $__range))))\r",
              "format": "time_series",
              "instant": true,
              "interval": "",
              "intervalFactor": 1,
              "legendFormat": "{{method}} {{path}}",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Top 10 Requests",
          "type": "bargauge"
        },
        {
          "datasource": "Thanos",
          "fieldConfig": {