added warning logs #2
@@ -93,7 +93,7 @@
 | 
				
			|||||||
      },
 | 
					      },
 | 
				
			||||||
      "gridPos": {
 | 
					      "gridPos": {
 | 
				
			||||||
        "h": 6,
 | 
					        "h": 6,
 | 
				
			||||||
        "w": 13,
 | 
					        "w": 9,
 | 
				
			||||||
        "x": 0,
 | 
					        "x": 0,
 | 
				
			||||||
        "y": 0
 | 
					        "y": 0
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
@@ -169,7 +169,7 @@
 | 
				
			|||||||
      "gridPos": {
 | 
					      "gridPos": {
 | 
				
			||||||
        "h": 3,
 | 
					        "h": 3,
 | 
				
			||||||
        "w": 4,
 | 
					        "w": 4,
 | 
				
			||||||
        "x": 13,
 | 
					        "x": 9,
 | 
				
			||||||
        "y": 0
 | 
					        "y": 0
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "id": 23,
 | 
					      "id": 23,
 | 
				
			||||||
@@ -209,6 +209,84 @@
 | 
				
			|||||||
      "title": "Generated Trips",
 | 
					      "title": "Generated Trips",
 | 
				
			||||||
      "type": "stat"
 | 
					      "type": "stat"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      "datasource": {
 | 
				
			||||||
 | 
					        "type": "loki",
 | 
				
			||||||
 | 
					        "uid": "P8E80F9AEF21F6940"
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "description": "Total count of log warnings",
 | 
				
			||||||
 | 
					      "fieldConfig": {
 | 
				
			||||||
 | 
					        "defaults": {
 | 
				
			||||||
 | 
					          "color": {
 | 
				
			||||||
 | 
					            "mode": "thresholds"
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "mappings": [
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              "options": {
 | 
				
			||||||
 | 
					                "match": "null",
 | 
				
			||||||
 | 
					                "result": {
 | 
				
			||||||
 | 
					                  "text": "0"
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					              },
 | 
				
			||||||
 | 
					              "type": "special"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
 | 
					          "thresholds": {
 | 
				
			||||||
 | 
					            "mode": "absolute",
 | 
				
			||||||
 | 
					            "steps": [
 | 
				
			||||||
 | 
					              {
 | 
				
			||||||
 | 
					                "color": "light-orange",
 | 
				
			||||||
 | 
					                "value": null
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "unit": "short"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "overrides": []
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "gridPos": {
 | 
				
			||||||
 | 
					        "h": 3,
 | 
				
			||||||
 | 
					        "w": 4,
 | 
				
			||||||
 | 
					        "x": 13,
 | 
				
			||||||
 | 
					        "y": 0
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "id": 6,
 | 
				
			||||||
 | 
					      "maxDataPoints": 100,
 | 
				
			||||||
 | 
					      "options": {
 | 
				
			||||||
 | 
					        "colorMode": "value",
 | 
				
			||||||
 | 
					        "graphMode": "none",
 | 
				
			||||||
 | 
					        "justifyMode": "auto",
 | 
				
			||||||
 | 
					        "orientation": "auto",
 | 
				
			||||||
 | 
					        "percentChangeColorMode": "standard",
 | 
				
			||||||
 | 
					        "reduceOptions": {
 | 
				
			||||||
 | 
					          "calcs": [
 | 
				
			||||||
 | 
					            "sum"
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
 | 
					          "fields": "",
 | 
				
			||||||
 | 
					          "values": false
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "showPercentChange": false,
 | 
				
			||||||
 | 
					        "textMode": "auto",
 | 
				
			||||||
 | 
					        "wideLayout": true
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "pluginVersion": "11.5.1",
 | 
				
			||||||
 | 
					      "targets": [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          "datasource": {
 | 
				
			||||||
 | 
					            "type": "loki",
 | 
				
			||||||
 | 
					            "uid": "P8E80F9AEF21F6940"
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "direction": "backward",
 | 
				
			||||||
 | 
					          "editorMode": "code",
 | 
				
			||||||
 | 
					          "expr": "sum(count_over_time(({app=\"anyway\", environment=~\"$environment\"}\n| json\n| detected_level =~ \"warning\"\n)[$__interval]))",
 | 
				
			||||||
 | 
					          "hide": false,
 | 
				
			||||||
 | 
					          "queryType": "range",
 | 
				
			||||||
 | 
					          "refId": "A"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      "title": "Total warning logs",
 | 
				
			||||||
 | 
					      "type": "stat"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "datasource": {
 | 
					      "datasource": {
 | 
				
			||||||
        "type": "loki",
 | 
					        "type": "loki",
 | 
				
			||||||
@@ -337,7 +415,7 @@
 | 
				
			|||||||
        "type": "loki",
 | 
					        "type": "loki",
 | 
				
			||||||
        "uid": "P8E80F9AEF21F6940"
 | 
					        "uid": "P8E80F9AEF21F6940"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "description": "Total count of log errors",
 | 
					      "description": "Failed trip generations",
 | 
				
			||||||
      "fieldConfig": {
 | 
					      "fieldConfig": {
 | 
				
			||||||
        "defaults": {
 | 
					        "defaults": {
 | 
				
			||||||
          "color": {
 | 
					          "color": {
 | 
				
			||||||
@@ -367,13 +445,91 @@
 | 
				
			|||||||
        },
 | 
					        },
 | 
				
			||||||
        "overrides": []
 | 
					        "overrides": []
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
 | 
					      "gridPos": {
 | 
				
			||||||
 | 
					        "h": 3,
 | 
				
			||||||
 | 
					        "w": 4,
 | 
				
			||||||
 | 
					        "x": 9,
 | 
				
			||||||
 | 
					        "y": 3
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "id": 24,
 | 
				
			||||||
 | 
					      "maxDataPoints": 100,
 | 
				
			||||||
 | 
					      "options": {
 | 
				
			||||||
 | 
					        "colorMode": "value",
 | 
				
			||||||
 | 
					        "graphMode": "none",
 | 
				
			||||||
 | 
					        "justifyMode": "auto",
 | 
				
			||||||
 | 
					        "orientation": "auto",
 | 
				
			||||||
 | 
					        "percentChangeColorMode": "standard",
 | 
				
			||||||
 | 
					        "reduceOptions": {
 | 
				
			||||||
 | 
					          "calcs": [
 | 
				
			||||||
 | 
					            "sum"
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
 | 
					          "fields": "",
 | 
				
			||||||
 | 
					          "values": false
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "showPercentChange": false,
 | 
				
			||||||
 | 
					        "textMode": "auto",
 | 
				
			||||||
 | 
					        "wideLayout": true
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "pluginVersion": "11.5.1",
 | 
				
			||||||
 | 
					      "targets": [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          "datasource": {
 | 
				
			||||||
 | 
					            "type": "loki",
 | 
				
			||||||
 | 
					            "uid": "P8E80F9AEF21F6940"
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "direction": "backward",
 | 
				
			||||||
 | 
					          "editorMode": "builder",
 | 
				
			||||||
 | 
					          "expr": "sum(count_over_time({app=\"anyway\", environment=~\"$environment\"} | json |= `Trip generation failed` or `Exception in ASGI` [$__interval]))",
 | 
				
			||||||
 | 
					          "hide": false,
 | 
				
			||||||
 | 
					          "queryType": "range",
 | 
				
			||||||
 | 
					          "refId": "A"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      "title": "Failed Trips",
 | 
				
			||||||
 | 
					      "type": "stat"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      "datasource": {
 | 
				
			||||||
 | 
					        "type": "loki",
 | 
				
			||||||
 | 
					        "uid": "P8E80F9AEF21F6940"
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "description": "Total count of log errors",
 | 
				
			||||||
 | 
					      "fieldConfig": {
 | 
				
			||||||
 | 
					        "defaults": {
 | 
				
			||||||
 | 
					          "color": {
 | 
				
			||||||
 | 
					            "mode": "thresholds"
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "mappings": [
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              "options": {
 | 
				
			||||||
 | 
					                "match": "null",
 | 
				
			||||||
 | 
					                "result": {
 | 
				
			||||||
 | 
					                  "text": "0"
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					              },
 | 
				
			||||||
 | 
					              "type": "special"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
 | 
					          "thresholds": {
 | 
				
			||||||
 | 
					            "mode": "absolute",
 | 
				
			||||||
 | 
					            "steps": [
 | 
				
			||||||
 | 
					              {
 | 
				
			||||||
 | 
					                "color": "light-red",
 | 
				
			||||||
 | 
					                "value": null
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "unit": "short"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "overrides": []
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
      "gridPos": {
 | 
					      "gridPos": {
 | 
				
			||||||
        "h": 3,
 | 
					        "h": 3,
 | 
				
			||||||
        "w": 4,
 | 
					        "w": 4,
 | 
				
			||||||
        "x": 13,
 | 
					        "x": 13,
 | 
				
			||||||
        "y": 3
 | 
					        "y": 3
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "id": 6,
 | 
					      "id": 25,
 | 
				
			||||||
      "maxDataPoints": 100,
 | 
					      "maxDataPoints": 100,
 | 
				
			||||||
      "options": {
 | 
					      "options": {
 | 
				
			||||||
        "colorMode": "value",
 | 
					        "colorMode": "value",
 | 
				
			||||||
@@ -407,7 +563,7 @@
 | 
				
			|||||||
          "refId": "A"
 | 
					          "refId": "A"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      "title": "Total error count",
 | 
					      "title": "Total error logs",
 | 
				
			||||||
      "type": "stat"
 | 
					      "type": "stat"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
@@ -421,7 +577,7 @@
 | 
				
			|||||||
        "overrides": []
 | 
					        "overrides": []
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "gridPos": {
 | 
					      "gridPos": {
 | 
				
			||||||
        "h": 9,
 | 
					        "h": 11,
 | 
				
			||||||
        "w": 24,
 | 
					        "w": 24,
 | 
				
			||||||
        "x": 0,
 | 
					        "x": 0,
 | 
				
			||||||
        "y": 6
 | 
					        "y": 6
 | 
				
			||||||
@@ -456,6 +612,129 @@
 | 
				
			|||||||
      "title": "Live logs",
 | 
					      "title": "Live logs",
 | 
				
			||||||
      "type": "logs"
 | 
					      "type": "logs"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      "datasource": {
 | 
				
			||||||
 | 
					        "type": "loki",
 | 
				
			||||||
 | 
					        "uid": "P8E80F9AEF21F6940"
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "description": "Detailed distribution of warning types",
 | 
				
			||||||
 | 
					      "fieldConfig": {
 | 
				
			||||||
 | 
					        "defaults": {
 | 
				
			||||||
 | 
					          "color": {
 | 
				
			||||||
 | 
					            "mode": "palette-classic"
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "custom": {
 | 
				
			||||||
 | 
					            "hideFrom": {
 | 
				
			||||||
 | 
					              "legend": false,
 | 
				
			||||||
 | 
					              "tooltip": false,
 | 
				
			||||||
 | 
					              "viz": false
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "mappings": [
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              "options": {
 | 
				
			||||||
 | 
					                "match": "null",
 | 
				
			||||||
 | 
					                "result": {
 | 
				
			||||||
 | 
					                  "text": "0"
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					              },
 | 
				
			||||||
 | 
					              "type": "special"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          ]
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "overrides": []
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "gridPos": {
 | 
				
			||||||
 | 
					        "h": 6,
 | 
				
			||||||
 | 
					        "w": 7,
 | 
				
			||||||
 | 
					        "x": 0,
 | 
				
			||||||
 | 
					        "y": 17
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "id": 26,
 | 
				
			||||||
 | 
					      "maxDataPoints": 100,
 | 
				
			||||||
 | 
					      "options": {
 | 
				
			||||||
 | 
					        "displayLabels": [
 | 
				
			||||||
 | 
					          "value"
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        "legend": {
 | 
				
			||||||
 | 
					          "displayMode": "list",
 | 
				
			||||||
 | 
					          "placement": "right",
 | 
				
			||||||
 | 
					          "showLegend": true,
 | 
				
			||||||
 | 
					          "values": []
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "pieType": "pie",
 | 
				
			||||||
 | 
					        "reduceOptions": {
 | 
				
			||||||
 | 
					          "calcs": [
 | 
				
			||||||
 | 
					            "sum"
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
 | 
					          "fields": "",
 | 
				
			||||||
 | 
					          "values": false
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "tooltip": {
 | 
				
			||||||
 | 
					          "hideZeros": false,
 | 
				
			||||||
 | 
					          "mode": "single",
 | 
				
			||||||
 | 
					          "sort": "none"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "pluginVersion": "11.5.1",
 | 
				
			||||||
 | 
					      "targets": [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          "datasource": {
 | 
				
			||||||
 | 
					            "type": "loki",
 | 
				
			||||||
 | 
					            "uid": "P8E80F9AEF21F6940"
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "direction": "backward",
 | 
				
			||||||
 | 
					          "editorMode": "code",
 | 
				
			||||||
 | 
					          "expr": "sum(count_over_time(({app=\"anyway\", environment=~\"$environment\"}\n| json\n| detected_level =~ \"warn\"\n| function =~ \"solve_optimization\"\n)[$__interval]))",
 | 
				
			||||||
 | 
					          "hide": false,
 | 
				
			||||||
 | 
					          "legendFormat": "Optimizer",
 | 
				
			||||||
 | 
					          "queryType": "range",
 | 
				
			||||||
 | 
					          "refId": "optimization_errors",
 | 
				
			||||||
 | 
					          "step": ""
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          "datasource": {
 | 
				
			||||||
 | 
					            "type": "loki",
 | 
				
			||||||
 | 
					            "uid": "P8E80F9AEF21F6940"
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "direction": "backward",
 | 
				
			||||||
 | 
					          "editorMode": "builder",
 | 
				
			||||||
 | 
					          "expr": "sum(count_over_time({app=\"anyway\", environment=~\"$environment\"} | json |= `Refiner failed` [$__interval]))",
 | 
				
			||||||
 | 
					          "hide": false,
 | 
				
			||||||
 | 
					          "legendFormat": "Refiner",
 | 
				
			||||||
 | 
					          "queryType": "range",
 | 
				
			||||||
 | 
					          "refId": "refiner_warnings"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          "datasource": {
 | 
				
			||||||
 | 
					            "type": "loki",
 | 
				
			||||||
 | 
					            "uid": "P8E80F9AEF21F6940"
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "direction": "backward",
 | 
				
			||||||
 | 
					          "editorMode": "code",
 | 
				
			||||||
 | 
					          "expr": "sum(count_over_time({app=\"anyway\", environment=~\"$environment\"} \n| json \n| detected_level =~ \"warn\"\n| module =~ \"cluster_manager\"\n[$__interval]))",
 | 
				
			||||||
 | 
					          "hide": false,
 | 
				
			||||||
 | 
					          "legendFormat": "Cluster Manager",
 | 
				
			||||||
 | 
					          "queryType": "range",
 | 
				
			||||||
 | 
					          "refId": "clusters_warning"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          "datasource": {
 | 
				
			||||||
 | 
					            "type": "loki",
 | 
				
			||||||
 | 
					            "uid": "P8E80F9AEF21F6940"
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "direction": "backward",
 | 
				
			||||||
 | 
					          "editorMode": "code",
 | 
				
			||||||
 | 
					          "expr": "sum(count_over_time({app=\"anyway\", environment=~\"$environment\"} | json \n| detected_level =~ `warn` \n| module !~ \"cluster_manager\"\n| function !~ `solve_optimization` != `Refiner failed` [$__interval]))",
 | 
				
			||||||
 | 
					          "hide": false,
 | 
				
			||||||
 | 
					          "legendFormat": "Other",
 | 
				
			||||||
 | 
					          "queryType": "range",
 | 
				
			||||||
 | 
					          "refId": "other"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      "title": "Warnings detail",
 | 
				
			||||||
 | 
					      "type": "piechart"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "datasource": {
 | 
					      "datasource": {
 | 
				
			||||||
        "type": "loki",
 | 
					        "type": "loki",
 | 
				
			||||||
@@ -490,10 +769,10 @@
 | 
				
			|||||||
        "overrides": []
 | 
					        "overrides": []
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "gridPos": {
 | 
					      "gridPos": {
 | 
				
			||||||
        "h": 7,
 | 
					        "h": 6,
 | 
				
			||||||
        "w": 9,
 | 
					        "w": 9,
 | 
				
			||||||
        "x": 0,
 | 
					        "x": 7,
 | 
				
			||||||
        "y": 15
 | 
					        "y": 17
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "id": 19,
 | 
					      "id": 19,
 | 
				
			||||||
      "maxDataPoints": 100,
 | 
					      "maxDataPoints": 100,
 | 
				
			||||||
@@ -534,72 +813,6 @@
 | 
				
			|||||||
      "title": "Total count of stderr / stdout pie",
 | 
					      "title": "Total count of stderr / stdout pie",
 | 
				
			||||||
      "type": "piechart"
 | 
					      "type": "piechart"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
      "datasource": {
 | 
					 | 
				
			||||||
        "type": "loki",
 | 
					 | 
				
			||||||
        "uid": "P8E80F9AEF21F6940"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "fieldConfig": {
 | 
					 | 
				
			||||||
        "defaults": {
 | 
					 | 
				
			||||||
          "color": {
 | 
					 | 
				
			||||||
            "mode": "palette-classic"
 | 
					 | 
				
			||||||
          },
 | 
					 | 
				
			||||||
          "custom": {
 | 
					 | 
				
			||||||
            "hideFrom": {
 | 
					 | 
				
			||||||
              "legend": false,
 | 
					 | 
				
			||||||
              "tooltip": false,
 | 
					 | 
				
			||||||
              "viz": false
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
          },
 | 
					 | 
				
			||||||
          "mappings": []
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "overrides": []
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "gridPos": {
 | 
					 | 
				
			||||||
        "h": 7,
 | 
					 | 
				
			||||||
        "w": 9,
 | 
					 | 
				
			||||||
        "x": 9,
 | 
					 | 
				
			||||||
        "y": 15
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "id": 20,
 | 
					 | 
				
			||||||
      "interval": "1m",
 | 
					 | 
				
			||||||
      "maxDataPoints": "",
 | 
					 | 
				
			||||||
      "options": {
 | 
					 | 
				
			||||||
        "legend": {
 | 
					 | 
				
			||||||
          "displayMode": "list",
 | 
					 | 
				
			||||||
          "placement": "right",
 | 
					 | 
				
			||||||
          "showLegend": true
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "pieType": "pie",
 | 
					 | 
				
			||||||
        "reduceOptions": {
 | 
					 | 
				
			||||||
          "calcs": [
 | 
					 | 
				
			||||||
            "lastNotNull"
 | 
					 | 
				
			||||||
          ],
 | 
					 | 
				
			||||||
          "fields": "",
 | 
					 | 
				
			||||||
          "values": false
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "tooltip": {
 | 
					 | 
				
			||||||
          "hideZeros": false,
 | 
					 | 
				
			||||||
          "mode": "single",
 | 
					 | 
				
			||||||
          "sort": "none"
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "pluginVersion": "11.5.1",
 | 
					 | 
				
			||||||
      "targets": [
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
          "datasource": {
 | 
					 | 
				
			||||||
            "type": "loki",
 | 
					 | 
				
			||||||
            "uid": "P8E80F9AEF21F6940"
 | 
					 | 
				
			||||||
          },
 | 
					 | 
				
			||||||
          "editorMode": "code",
 | 
					 | 
				
			||||||
          "expr": "sum(count_over_time(({app=\"anyway\", environment=~\"$environment\"} |~ \"(?i)$searchable_pattern\")[$__interval])) by (pod)",
 | 
					 | 
				
			||||||
          "queryType": "range",
 | 
					 | 
				
			||||||
          "refId": "A"
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      ],
 | 
					 | 
				
			||||||
      "title": "Matched word: \"$searchable_pattern\" donut",
 | 
					 | 
				
			||||||
      "type": "piechart"
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "datasource": {
 | 
					      "datasource": {
 | 
				
			||||||
        "type": "loki",
 | 
					        "type": "loki",
 | 
				
			||||||
@@ -636,10 +849,10 @@
 | 
				
			|||||||
        "overrides": []
 | 
					        "overrides": []
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "gridPos": {
 | 
					      "gridPos": {
 | 
				
			||||||
        "h": 7,
 | 
					        "h": 6,
 | 
				
			||||||
        "w": 6,
 | 
					        "w": 8,
 | 
				
			||||||
        "x": 18,
 | 
					        "x": 16,
 | 
				
			||||||
        "y": 15
 | 
					        "y": 17
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "id": 9,
 | 
					      "id": 9,
 | 
				
			||||||
      "maxDataPoints": 100,
 | 
					      "maxDataPoints": 100,
 | 
				
			||||||
@@ -741,7 +954,7 @@
 | 
				
			|||||||
        "h": 9,
 | 
					        "h": 9,
 | 
				
			||||||
        "w": 12,
 | 
					        "w": 12,
 | 
				
			||||||
        "x": 0,
 | 
					        "x": 0,
 | 
				
			||||||
        "y": 22
 | 
					        "y": 23
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "id": 18,
 | 
					      "id": 18,
 | 
				
			||||||
      "interval": "1m",
 | 
					      "interval": "1m",
 | 
				
			||||||
@@ -844,7 +1057,7 @@
 | 
				
			|||||||
        "h": 9,
 | 
					        "h": 9,
 | 
				
			||||||
        "w": 12,
 | 
					        "w": 12,
 | 
				
			||||||
        "x": 12,
 | 
					        "x": 12,
 | 
				
			||||||
        "y": 22
 | 
					        "y": 23
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "id": 10,
 | 
					      "id": 10,
 | 
				
			||||||
      "maxDataPoints": 100,
 | 
					      "maxDataPoints": 100,
 | 
				
			||||||
@@ -998,7 +1211,7 @@
 | 
				
			|||||||
        "h": 8,
 | 
					        "h": 8,
 | 
				
			||||||
        "w": 24,
 | 
					        "w": 24,
 | 
				
			||||||
        "x": 0,
 | 
					        "x": 0,
 | 
				
			||||||
        "y": 31
 | 
					        "y": 32
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "id": 7,
 | 
					      "id": 7,
 | 
				
			||||||
      "maxDataPoints": 100,
 | 
					      "maxDataPoints": 100,
 | 
				
			||||||
@@ -1046,7 +1259,7 @@
 | 
				
			|||||||
        "h": 11,
 | 
					        "h": 11,
 | 
				
			||||||
        "w": 24,
 | 
					        "w": 24,
 | 
				
			||||||
        "x": 0,
 | 
					        "x": 0,
 | 
				
			||||||
        "y": 39
 | 
					        "y": 40
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "id": 21,
 | 
					      "id": 21,
 | 
				
			||||||
      "options": {
 | 
					      "options": {
 | 
				
			||||||
@@ -1173,6 +1386,6 @@
 | 
				
			|||||||
  "timezone": "",
 | 
					  "timezone": "",
 | 
				
			||||||
  "title": "AnyWay status",
 | 
					  "title": "AnyWay status",
 | 
				
			||||||
  "uid": "fRIvzUZMz",
 | 
					  "uid": "fRIvzUZMz",
 | 
				
			||||||
  "version": 2,
 | 
					  "version": 3,
 | 
				
			||||||
  "weekStart": ""
 | 
					  "weekStart": ""
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user