We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 722267f commit c30b2baCopy full SHA for c30b2ba
exporter/server.go
@@ -45,7 +45,7 @@ type ServerOpts struct {
45
46
// RunWebServer runs the main web-server
47
func RunWebServer(opts *ServerOpts, exporters []*Exporter, log *slog.Logger) {
48
- mux := http.DefaultServeMux
+ mux := http.NewServeMux()
49
50
if len(exporters) == 0 {
51
panic("No exporters were built. You must specify --mongodb.uri command argument or MONGODB_URI environment variable")
0 commit comments