Update dashboards/anyway_logs.json
This commit is contained in:
parent
f9f33dfd7a
commit
0bf21eeb4f
@ -220,7 +220,7 @@
|
|||||||
},
|
},
|
||||||
"direction": "backward",
|
"direction": "backward",
|
||||||
"editorMode": "code",
|
"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,
|
"hide": false,
|
||||||
"queryType": "range",
|
"queryType": "range",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
@ -897,6 +897,7 @@
|
|||||||
"text": "debug",
|
"text": "debug",
|
||||||
"value": "debug"
|
"value": "debug"
|
||||||
},
|
},
|
||||||
|
"description": "Allows to filter the logs based on their level",
|
||||||
"name": "LogLevel",
|
"name": "LogLevel",
|
||||||
"options": [
|
"options": [
|
||||||
{
|
{
|
||||||
@ -910,7 +911,7 @@
|
|||||||
"value": "debug"
|
"value": "debug"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"query": "info, debug",
|
"query": "debug : |debug|info|warn|error , info : |info|warn|error , warn : |warn|error , error : |error",
|
||||||
"type": "custom"
|
"type": "custom"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -935,6 +936,6 @@
|
|||||||
"timezone": "",
|
"timezone": "",
|
||||||
"title": "AnyWay status",
|
"title": "AnyWay status",
|
||||||
"uid": "fRIvzUZMz",
|
"uid": "fRIvzUZMz",
|
||||||
"version": 1,
|
"version": 2,
|
||||||
"weekStart": ""
|
"weekStart": ""
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user