Skip to content

Commit 688dd20

Browse files
authored
chore: expose native histogram for HTTP server metrics (#20056)
1 parent 225a059 commit 688dd20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/loki/loki.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ type Config struct {
143143
func (c *Config) RegisterFlags(f *flag.FlagSet) {
144144
c.Server.MetricsNamespace = constants.Loki
145145
c.Server.ExcludeRequestInLog = true
146+
c.Server.MetricsNativeHistogramFactor = 1.1 // Allows native histograms for server metrics
146147

147148
// Set the default module list to 'all'
148149
c.Target = []string{All}

0 commit comments

Comments
 (0)