Package ai. whylabs. services. whylogs. core
Types
Link copied to clipboard
data class BufferedLogRequest( val request: LogRequest, val sessionTime: Instant, val windowStartTime: Instant)
Content copied to clipboard
Link copied to clipboard
data class DebugActorOptions( val maxErrors: Int, val env: IEnvVars, val profileStore: ProfileStore)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ProfileEntry( val profile: DatasetProfile, val orgId: String, val datasetId: String)
Content copied to clipboard
Container class that caches the dataset profiles and associated metadata for each request.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PubSubEnvelope(val message: Message, val subscription: String)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
class WhyLogsController( envVars: IEnvVars = EnvVars.instance, profileManager: WhyLogsProfileManager = WhyLogsProfileManager(envVars = envVars), debugInfo: DebugInfoManager = DebugInfoManager.instance)
Content copied to clipboard
Link copied to clipboard
class WhyLogsProfileManager( executorService: ScheduledExecutorService = Executors.newScheduledThreadPool(1), currentTime: Instant = Instant.now(), envVars: IEnvVars = EnvVars.instance, writer: Writer = envVars.getProfileWriter(), debugInfo: DebugInfoManager = DebugInfoManager.instance, profileStore: ProfileStore = ProfileStore.instance, writeOnStop: Boolean = true)
Content copied to clipboard
Link copied to clipboard
data class WriteProfilesResponse(val profilesWritten: Int, val profilePaths: List<String>)
Content copied to clipboard
Link copied to clipboard
data class WriteProfilesResult(val profilesWritten: Int, val profilePaths: List<String>)
Content copied to clipboard
Functions
Link copied to clipboard
fun DatasetProfile.merge(request: LogRequest, ignored: Set<String> = emptySet())
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard