Skip to content

Commit

Permalink
fix: remove _labels from metric docs (#3222)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss authored Oct 23, 2024
1 parent 47c99d9 commit 7e4474f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 189 deletions.
3 changes: 3 additions & 0 deletions cmd/tools/generate/counter.go
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,9 @@ func generateCounterTemplate(counters map[string]Counter, version [3]int) {

keys := make([]string, 0, len(counters))
for k := range counters {
if strings.Contains(k, "_labels") {
continue
}
keys = append(keys, k)
}
sort.Strings(keys)
Expand Down
Loading

0 comments on commit 7e4474f

Please sign in to comment.