CMPSSensorTask

etlflow.task.CMPSSensorTask
case class CMPSSensorTask(name: String, project: String, subscription: String, interval: TimeInterval, spaced: Duration) extends EtlTask[Monitoring, Unit]

Cloud Monitoring sensor on Pubsub Subscription to check for num_undelivered_messages

Attributes

interval

Cloud Monitoring Interval with start time and end time.

name

Name for the task

project

GCP Project ID

spaced

Check continuously with every repetition spaced by the specified duration from the last run.

subscription

PubSub Subscription ID

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait EtlTask[Monitoring, Unit]
trait ApplicationLogger
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def getTaskProperties: Map[String, String]

Attributes

Definition Classes
EtlTask

Inherited methods

final def execute: RIO[R & Audit, OP]

Attributes

Inherited from:
EtlTask
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

lazy protected val logger: Logger

Attributes

Inherited from:
ApplicationLogger
val taskType: String

Attributes

Inherited from:
EtlTask
protected val zioSlf4jLogger: ULayer[Unit]

Attributes

Inherited from:
ApplicationLogger