Skip to content

Commit

Permalink
Update pkg/prometheus/config/config.go
Browse files Browse the repository at this point in the history
Co-authored-by: Yuri Shkuro <[email protected]>
Signed-off-by: Alok Kumar Singh <[email protected]>
  • Loading branch information
akstron and yurishkuro authored Dec 16, 2024
1 parent 5023abd commit d4fb513
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/prometheus/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ type Configuration struct {
LatencyUnit string `mapstructure:"latency_unit"`
NormalizeCalls bool `mapstructure:"normalize_calls"`
NormalizeDuration bool `mapstructure:"normalize_duration"`
// ExtraQueryParams is used to provide extra query parameters to the backend which
// ExtraQueryParams is used to provide extra parameters to be appended
// to the URL of queries going out to the metrics backend.
// is being called for metric read/write
ExtraQueryParams map[string]string `mapstructure:"extra_query_parameters"`
}
Expand Down

0 comments on commit d4fb513

Please sign in to comment.