mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 10:39:07 +08:00
fix: nil pointer
This commit is contained in:
parent
1e035be978
commit
d1ee15c372
@ -101,6 +101,7 @@ func createTelemetry() {
|
|||||||
phOperator: ph.New(ph_api_key),
|
phOperator: ph.New(ph_api_key),
|
||||||
ipAddress: getOutboundIP(),
|
ipAddress: getOutboundIP(),
|
||||||
rateLimits: make(map[string]int8),
|
rateLimits: make(map[string]int8),
|
||||||
|
activeUser: make(map[string]int8),
|
||||||
}
|
}
|
||||||
telemetry.minRandInt = 0
|
telemetry.minRandInt = 0
|
||||||
telemetry.maxRandInt = int(1 / DEFAULT_SAMPLING)
|
telemetry.maxRandInt = int(1 / DEFAULT_SAMPLING)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user