Skip to content

Commit

Permalink
Merge pull request #95 from yuvipanda/fixy
Browse files Browse the repository at this point in the history
Add note about user homedirectory names being escaped
  • Loading branch information
GeorgianaElena authored Dec 6, 2023
2 parents 1aa2075 + 1c42023 commit ee4492d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dashboards/user.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ local homedirSharedUsage = graphPanel.new(
Requires https://github.com/yuvipanda/prometheus-dirsize-exporter to
be set up.
Similar to server pod names, user names will be *encoded* here
using the escapism python library (https://github.com/minrk/escapism).
You can unencode them with the following python snippet:
from escapism import unescape
unescape('<escaped-username>', '-')
|||,
formatY1='bytes',
datasource='$PROMETHEUS_DS'
Expand Down

0 comments on commit ee4492d

Please sign in to comment.