Skip to content

Commit

Permalink
Merge branch 'tyk-default-custom-metrics' into custom-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambarish07 authored Sep 29, 2023
2 parents bc8d1f8 + 70f2e46 commit a2496f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pumps/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ func (pm *PrometheusMetric) GetLabelsValues(decoded analytics.AnalyticsRecord) [
for _, tag := range decoded.Tags {
prefixString := label + "-"
if strings.HasPrefix(tag, prefixString) {

val = tag[len(prefixString):]
break
}
Expand Down

0 comments on commit a2496f3

Please sign in to comment.