Versions in this module Expand all Collapse all v8 v8.0.0 Nov 10, 2025 Changes in this version + var ErrorOutOfBounds error = errors.New("out of bounds") + type AtomicInt64Slice []int64 + func NewAtomicInt64Slice(size int64) (AtomicInt64Slice, error) + func (a AtomicInt64Slice) FetchAndClearAll() []int64 + func (a AtomicInt64Slice) FetchAndClearOne(index int) (int64, error) + func (a AtomicInt64Slice) Incr(index int) + func (a AtomicInt64Slice) ReadAll() []int64 + type TelemetryStorage struct + func NewTelemetryStorage() (*TelemetryStorage, error) + func (i *TelemetryStorage) AddTag(tag string) + func (i *TelemetryStorage) GetBURTimeouts() int64 + func (i *TelemetryStorage) GetEventsStats(dataType int) int64 + func (i *TelemetryStorage) GetImpressionsStats(dataType int) int64 + func (i *TelemetryStorage) GetLastSynchronization() dtos.LastSynchronization + func (i *TelemetryStorage) GetNonReadyUsages() int64 + func (i *TelemetryStorage) GetSessionLength() int64 + func (i *TelemetryStorage) PeekHTTPErrors(resource int) map[int]int + func (i *TelemetryStorage) PeekHTTPLatencies(resource int) []int64 + func (i *TelemetryStorage) PopAuthRejections() int64 + func (i *TelemetryStorage) PopExceptions() dtos.MethodExceptions + func (i *TelemetryStorage) PopHTTPErrors() dtos.HTTPErrors + func (i *TelemetryStorage) PopHTTPLatencies() dtos.HTTPLatencies + func (i *TelemetryStorage) PopLatencies() dtos.MethodLatencies + func (i *TelemetryStorage) PopStreamingEvents() []dtos.StreamingEvent + func (i *TelemetryStorage) PopTags() []string + func (i *TelemetryStorage) PopTokenRefreshes() int64 + func (i *TelemetryStorage) PopUpdatesFromSSE() dtos.UpdatesFromSSE + func (i *TelemetryStorage) RecordAuthRejections() + func (i *TelemetryStorage) RecordBURTimeout() + func (i *TelemetryStorage) RecordConfigData(configData dtos.Config) error + func (i *TelemetryStorage) RecordEventsStats(dataType int, count int64) + func (i *TelemetryStorage) RecordException(method string) + func (i *TelemetryStorage) RecordImpressionsStats(dataType int, count int64) + func (i *TelemetryStorage) RecordLatency(method string, latency time.Duration) + func (i *TelemetryStorage) RecordNonReadyUsage() + func (i *TelemetryStorage) RecordSessionLength(session int64) + func (i *TelemetryStorage) RecordStreamingEvent(event *dtos.StreamingEvent) + func (i *TelemetryStorage) RecordSuccessfulSync(resource int, when time.Time) + func (i *TelemetryStorage) RecordSyncError(resource int, status int) + func (i *TelemetryStorage) RecordSyncLatency(resource int, latency time.Duration) + func (i *TelemetryStorage) RecordTokenRefreshes() + func (i *TelemetryStorage) RecordUniqueKeys(uniques dtos.Uniques) error + func (i *TelemetryStorage) RecordUpdatesFromSSE(updateType int) Other modules containing this package github.com/splitio/go-split-commons/v3 github.com/splitio/go-split-commons/v4 github.com/splitio/go-split-commons/v5 github.com/splitio/go-split-commons/v6 github.com/splitio/go-split-commons/v7