-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend: Make PrometheusEmitter concurrency-safe
http.Server.Serve creates a new goroutine for each incoming connection so PrometheusEmitter needs to be concurrency-safe when registering new collectors.
- Loading branch information
1 parent
f59cd06
commit 8221ab0
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters