mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-14 23:40:58 +00:00
18 lines
647 B
Go
18 lines
647 B
Go
package templates
|
|
|
|
const Clusterwide = `
|
|
# Cluster wide ###########################################################################################
|
|
Databases: {{.TotalDBsCount}}
|
|
Collections: {{.TotalCollectionsCount}}
|
|
Sharded Collections: {{.ShardedColsCount}}
|
|
Unsharded Collections: {{.UnshardedColsCount}}
|
|
Sharded Data Size: {{.ShardedDataSizeScaled}} {{.ShardedDataSizeScale}}
|
|
Unsharded Data Size: {{.UnshardedDataSizeScaled}} {{.UnshardedDataSizeScale}}
|
|
{{- if .Chunks }}
|
|
### Chunks:
|
|
{{- range .Chunks }}
|
|
{{ printf "%30s" .ID}}: {{ printf "%5d" .Count }}
|
|
{{- end -}}
|
|
{{ end -}}
|
|
`
|