Skip to content

Commit

Permalink
OM86
Browse files Browse the repository at this point in the history
  • Loading branch information
mphanias committed Nov 23, 2023
1 parent b40e38e commit 70180fa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions watcher_latency.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ func (lw *LatencyWatcher) refresh(o *Observer, infoKeys []string, rawMetrics map
}
}

// loop all the latency infokeys
for ik := range infoKeys {
parseSingleLatenciesKey(infoKeys[ik], rawMetrics, allowedLatenciesList, blockedLatenciessList, ch)
}

return nil
}

func parseSingleLatenciesKey(singleLatencyKey string, rawMetrics map[string]string,
allowedLatenciesList map[string]struct{},
blockedLatenciessList map[string]struct{}, ch chan<- prometheus.Metric) error {

var latencyStats map[string]StatsMap

if rawMetrics["latencies:"] != "" {
Expand Down

0 comments on commit 70180fa

Please sign in to comment.