Skip to content

Commit

Permalink
chore: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwalach authored and aeneasr committed Aug 31, 2022
1 parent 19b6eaf commit 972f37f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions metrics/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ func (m *Middleware) CollapsePaths(flag bool) *Middleware {

// HidePaths if set to true, forces the value of the "request" label
// of the prometheus request metrics to be set to an empty value.
// eg. (when set to true):
// - /decisions/service/my-service -> /hidden
// - /decisions -> /hidden

func (m *Middleware) HidePaths(flag bool) *Middleware {
m.mutex.Lock()
m.hidePaths = flag
Expand Down

0 comments on commit 972f37f

Please sign in to comment.