io.split.telemetry.storage.TelemetryRuntimeProducer Maven / Gradle / Ivy
The newest version!
package io.split.telemetry.storage;
import io.split.telemetry.domain.StreamingEvent;
import io.split.telemetry.domain.UpdatesFromSSE;
import io.split.telemetry.domain.enums.*;
public interface TelemetryRuntimeProducer {
void addTag(String tag);
void recordImpressionStats(ImpressionsDataTypeEnum dataType, long count);
void recordEventStats(EventsDataRecordsEnum dataType, long count);
void recordSuccessfulSync(LastSynchronizationRecordsEnum resource, long time);
void recordSyncError(ResourceEnum resource, int status);
void recordSyncLatency(HTTPLatenciesEnum resource, long latency);
void recordAuthRejections();
void recordTokenRefreshes();
void recordStreamingEvents(StreamingEvent streamingEvent);
void recordSessionLength(long sessionLength);
void recordUpdatesFromSSE(UpdatesFromSSEEnum updatesFromSSEEnum);
}