Skip to content

Commit

Permalink
cmd/fowarder/run: bind prometheus namespace
Browse files Browse the repository at this point in the history
Fixes #399
  • Loading branch information
Choraden committed Sep 7, 2023
1 parent 63c0df9 commit aaf561e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/forwarder/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ func Command() (cmd *cobra.Command) {
bind.HTTPProxyConfig(fs, c.httpProxyConfig, c.logConfig)
bind.MITMConfig(fs, &c.mitm, c.mitmConfig)
bind.HTTPServerConfig(fs, c.apiServerConfig, "api", forwarder.HTTPScheme)
bind.PromNamespace(fs, &c.httpProxyConfig.PromNamespace)
bind.AutoMarkFlagFilename(cmd)
cmd.MarkFlagsMutuallyExclusive("proxy", "pac")

Expand Down

0 comments on commit aaf561e

Please sign in to comment.