Skip to content

Commit

Permalink
Fix some panels on the zot grafana dashboard (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
allanger authored Apr 30, 2024
1 parent 58974d6 commit e92e9c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Fix storage related panes on zot's dashboards

## [3.13.0] - 2024-04-24

### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "sum(kubelet_volume_stats_used_bytes{persistentvolumeclaim=\"$zot_pvc_name\", namespace=\"zot\", service=\"kubelet\"}) / sum(kube_persistentvolumeclaim_resource_requests_storage_bytes{persistentvolumeclaim=\"$zot_pvc_name\",namespace=\"zot\"})",
"expr": "sum(kubelet_volume_stats_used_bytes{persistentvolumeclaim=\"$zot_pvc_name\", namespace=\"zot\"}) / max(kube_persistentvolumeclaim_resource_requests_storage_bytes{persistentvolumeclaim=\"$zot_pvc_name\",namespace=\"zot\"})",
"format": "table",
"fullMetaSearch": false,
"hide": false,
Expand Down Expand Up @@ -265,7 +265,7 @@
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "sum(kube_persistentvolumeclaim_resource_requests_storage_bytes{persistentvolumeclaim=\"$zot_pvc_name\",namespace=\"zot\"})",
"expr": "max(kube_persistentvolumeclaim_resource_requests_storage_bytes{persistentvolumeclaim=\"$zot_pvc_name\",namespace=\"zot\"})",
"format": "time_series",
"fullMetaSearch": false,
"hide": false,
Expand All @@ -282,7 +282,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum(kubelet_volume_stats_used_bytes{persistentvolumeclaim=\"$zot_pvc_name\", namespace=\"zot\", service=\"kubelet\"})",
"expr": "kubelet_volume_stats_used_bytes{persistentvolumeclaim=\"$zot_pvc_name\", namespace=\"zot\"}",
"hide": false,
"instant": false,
"legendFormat": "Storage space used",
Expand Down Expand Up @@ -352,7 +352,7 @@
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "sum(kubelet_volume_stats_used_bytes{persistentvolumeclaim=\"$zot_pvc_name\", namespace=\"zot\", service=\"kubelet\"})",
"expr": "kubelet_volume_stats_used_bytes{persistentvolumeclaim=\"$zot_pvc_name\", namespace=\"zot\"}",
"format": "time_series",
"fullMetaSearch": false,
"hide": false,
Expand Down

0 comments on commit e92e9c8

Please sign in to comment.