Skip to content

Commit

Permalink
also replace dots
Browse files Browse the repository at this point in the history
  • Loading branch information
withinboredom committed Sep 7, 2024
1 parent d0b1503 commit 5802960
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func (m *PrometheusMetrics) StartWorkerRequest(name string) {
func getWorkerNameForMetrics(name string) string {
name = strings.ReplaceAll(name, ".php", "")
name = strings.ReplaceAll(name, "/", "_")
name = strings.ReplaceAll(name, ".", "")
return name
}

Expand Down

0 comments on commit 5802960

Please sign in to comment.