Skip to content

Commit 1c42023

Browse files
committed
Add note about user homedirectory names being escaped
1 parent 1aa2075 commit 1c42023

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dashboards/user.jsonnet

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ local homedirSharedUsage = graphPanel.new(
111111
112112
Requires https://github.com/yuvipanda/prometheus-dirsize-exporter to
113113
be set up.
114+
115+
Similar to server pod names, user names will be *encoded* here
116+
using the escapism python library (https://github.com/minrk/escapism).
117+
You can unencode them with the following python snippet:
118+
119+
from escapism import unescape
120+
unescape('<escaped-username>', '-')
114121
|||,
115122
formatY1='bytes',
116123
datasource='$PROMETHEUS_DS'

0 commit comments

Comments
 (0)