Skip to content

Commit

Permalink
volumemgr: Update list of paths used to calculate disk usage
Browse files Browse the repository at this point in the history
Signed-off-by: eriknordmark <[email protected]>
  • Loading branch information
eriknordmark committed Dec 17, 2023
1 parent f3a15e1 commit fdccf5e
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions pkg/pillar/types/diskmetrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,27 @@ var ReportDiskPaths = []string{

// ReportDirPaths Report directory usage for these paths
var ReportDirPaths = []string{
PersistConfigDir,
PersistStatusDir,
CertificateDirname,
SealedDirName,
ClearDirName,
PersistDebugDir,
PersistInstallerDir,
IngestedDirname,
SnapshotsDirname,
PersistCachePatchEnvelopes,
PersistCachePatchEnvelopesUsage,
NewlogDir,
PersistDir + "/containerd",
PersistDir + "/tmp",
PersistDir + "/log",
PersistDir + "/newlog",
PersistDir + "/config",
PersistDir + "/status",
PersistDir + "/certs",
PersistDir + "/checkpoint",
PersistDir + "/containerd-system-root",
PersistDir + "/netdump",
PersistDir + "/pubsub-large",
PersistDir + "/reserved",
PersistDir + "/etcd-storage",
}

// AppPersistPaths Application-related files live here
Expand All @@ -38,6 +51,7 @@ var AppPersistPaths = []string{
VolumeClearDirName,
SealedDirName + "/downloader",
SealedDirName + "/verifier",
SealedDirName + "/containerd",
}

// DiskMetric holds metrics data per disk
Expand Down

0 comments on commit fdccf5e

Please sign in to comment.