You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: settings.go
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,12 @@ const (
20
20
DefaultFlushIntervalS=5
21
21
// DefaultLoggingSinkDisabled is the default behavior of logging sink suppression, default is false.
22
22
DefaultLoggingSinkDisabled=false
23
-
DefaultUseReservoirTimer=false// DefaultUseReservoirTimer defines if reservoir timers should be used by default, default is false.
24
-
DefaultTimerReservoirSize=128// DefaultTimerReservoirSize is the max capacity of the reservoir for reservoir timers. needs to be rounded to a power of two e.g. 1 << bits.Len(uint(100)) = 128
23
+
// DefaultUseReservoirTimer defines if reservoir timers should be used by default, default is false.
24
+
DefaultUseReservoirTimer=false
25
+
// FixedTimerReservoirSize is the max capacity of the reservoir for reservoir timers.
26
+
// note: needs to be rounded to a power of two e.g. 1 << bits.Len(uint(100)) = 128
27
+
// todo: see if we can use not-strict number and just account for the offset
28
+
FixedTimerReservoirSize=128
25
29
)
26
30
27
31
// The Settings type is used to configure gostats. gostats uses environment
0 commit comments