fixup! Disable caller as it's not necessary and generates slight delay.

This commit is contained in:
2024-06-20 08:41:33 +01:00
parent 16844e325e
commit f7babe93d9
6 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -14,8 +14,8 @@ import (
// Cache for sorted label keys to avoid repeated sorting
var sortedLabelKeysCache = struct {
sync.RWMutex
m map[string][]string
sync.RWMutex
}{m: make(map[string][]string)}
func (ms *MetricsSetup) get_metrics_name(name string, labels map[string]string) string {