Enable promlinter and enhance exposed metrics. (#2550)

* Enable promlinter
* Rename archives metric and update dashboard, linter

Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io>
This commit is contained in:
Shaunak Deshmukh
2022-09-20 12:40:34 +05:30
committed by GitHub
co-authored by shaunak_deshmukh
parent b36e0516f4
commit b19d18c8bc
4 changed files with 5 additions and 6 deletions
@@ -879,7 +879,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "fission_archives_total",
"expr": "fission_archives",
"legendFormat": "Namespace: {{namespace}} Pod: {{pod}}",
"range": true,
"refId": "A"
@@ -970,7 +970,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "rate(fission_archives_total[$__rate_interval])",
"expr": "rate(fission_archives[$__rate_interval])",
"legendFormat": "Namespace: {{namespace}} Pod: {{pod}}",
"range": true,
"refId": "A"