All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.iheart.thomas.analysis.KPIEventQuery.scala Maven / Gradle / Ivy

The newest version!
package com.iheart.thomas.analysis

import com.iheart.thomas.{ArmName, FeatureName}

import java.time.Instant
import scala.annotation.implicitAmbiguous

@implicitAmbiguous(
  "Query $Event for $K. If you don't need this. Use KPIEventQuery.alwaysFail"
)
trait KPIEventQuery[F[_], K <: KPI, Event] {
  def apply(
      k: K,
      at: Instant
    ): F[List[Event]]

  def apply(
      k: K,
      feature: FeatureName,
      at: Instant
    ): F[List[(ArmName, Event)]]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy