diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-01-27 11:23:40 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-01-27 11:23:40 +0300 |
commit | 51b5517988b62548345bf97d210df75266132006 (patch) | |
tree | b6f3cf1bf2f9622ac5ea30a0180998fc2ef5fac8 | |
parent | 505b214e5a61a8241f90cb844255b332903c4589 (diff) |
housekeeping: Fix typo in data structure count metric
The data structure count metric that reports how many data structures of
a specific type exist in a repository has a typo as it says "wcount"
instead of "count". Fix it.
-rw-r--r-- | internal/git/housekeeping/manager.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/git/housekeeping/manager.go b/internal/git/housekeeping/manager.go index 55f1f24c3..27fd3ed57 100644 --- a/internal/git/housekeeping/manager.go +++ b/internal/git/housekeeping/manager.go @@ -70,7 +70,7 @@ func NewManager(promCfg gitalycfgprom.Config, txManager transaction.Manager) *Re ), dataStructureCount: prometheus.NewHistogramVec( prometheus.HistogramOpts{ - Name: "gitaly_housekeeping_data_structure_wcount", + Name: "gitaly_housekeeping_data_structure_count", Help: "Total count of the data structures that exist in the repository", Buckets: prometheus.ExponentialBucketsRange(1, 10_000_000, 16), }, |