Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2023-01-27 11:23:40 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2023-01-27 11:23:40 +0300
commit51b5517988b62548345bf97d210df75266132006 (patch)
treeb6f3cf1bf2f9622ac5ea30a0180998fc2ef5fac8
parent505b214e5a61a8241f90cb844255b332903c4589 (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.go2
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),
},