chore: expose native histogram for HTTP server metrics (#20056)

pull/19119/merge
Robert Fratto 1 month ago committed by GitHub
parent 225a0595ac
commit 688dd2006e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      pkg/loki/loki.go

@ -143,6 +143,7 @@ type Config struct {
func (c *Config) RegisterFlags(f *flag.FlagSet) {
c.Server.MetricsNamespace = constants.Loki
c.Server.ExcludeRequestInLog = true
c.Server.MetricsNativeHistogramFactor = 1.1 // Allows native histograms for server metrics
// Set the default module list to 'all'
c.Target = []string{All}

Loading…
Cancel
Save