Versions in this module Expand all Collapse all v3 v3.1.0 Apr 14, 2021 Changes in this version + var ErrorOutOfBounds error = errors.New("out of bounds") + func NewTelemetryStorage() (storage.TelemetryStorage, error) + 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) + type TelemetryStorage struct + 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) 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) 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 int64) + func (i *TelemetryStorage) RecordNonReadyUsage() + func (i *TelemetryStorage) RecordSessionLength(session int64) + func (i *TelemetryStorage) RecordStreamingEvent(event *dtos.StreamingEvent) + func (i *TelemetryStorage) RecordSuccessfulSync(resource int, timestamp int64) + func (i *TelemetryStorage) RecordSyncError(resource int, status int) + func (i *TelemetryStorage) RecordSyncLatency(resource int, latency int64) + func (i *TelemetryStorage) RecordTokenRefreshes() Other modules containing this package 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 github.com/splitio/go-split-commons/v8 github.com/splitio/go-split-commons/v9