Update dashboards/anyway_logs.json #1
| @@ -220,7 +220,7 @@ | ||||
|           }, | ||||
|           "direction": "backward", | ||||
|           "editorMode": "code", | ||||
|           "expr": "{app=\"anyway\", environment=~\"$environment\"} | json | name != \"uvicorn.access\" \n| detected_level=~\"(?i)^(debug|info|warn|error)$\" \n| detected_level=~\"(?i)$logLevel|info|warn|error\" | line_format \"{{ .message }}\"\n", | ||||
|           "expr": "{app=\"anyway\", environment=~\"$environment\"} \n| json\n| name != \"uvicorn.access\"\n| detected_level =~ \"${LogLevel}\"\n| line_format \"{{ .message }}\"\n", | ||||
|           "hide": false, | ||||
|           "queryType": "range", | ||||
|           "refId": "A" | ||||
| @@ -897,6 +897,7 @@ | ||||
|           "text": "debug", | ||||
|           "value": "debug" | ||||
|         }, | ||||
|         "description": "Allows to filter the logs based on their level", | ||||
|         "name": "LogLevel", | ||||
|         "options": [ | ||||
|           { | ||||
| @@ -910,7 +911,7 @@ | ||||
|             "value": "debug" | ||||
|           } | ||||
|         ], | ||||
|         "query": "info, debug", | ||||
|         "query": "debug : |debug|info|warn|error , info : |info|warn|error , warn :  |warn|error , error : |error", | ||||
|         "type": "custom" | ||||
|       } | ||||
|     ] | ||||
| @@ -935,6 +936,6 @@ | ||||
|   "timezone": "", | ||||
|   "title": "AnyWay status", | ||||
|   "uid": "fRIvzUZMz", | ||||
|   "version": 1, | ||||
|   "version": 2, | ||||
|   "weekStart": "" | ||||
| } | ||||
		Reference in New Issue
	
	Block a user