package metrics
- Alphabetic
- By Inheritance
- metrics
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait FlowResult extends AnyRef
- sealed trait StartType extends AnyRef
- sealed trait TransactionOutcome extends AnyRef
- sealed trait VariableAccess extends AnyRef
- sealed trait VariableKind extends AnyRef
Value Members
- def activeFlows(status: FlowStatus): Metric[Gauge, Int, Gauge]
Gauge representing the actual number of flows in the executor, both running and suspended ones.
- val executorErrorCount: ZIOAspect[Nothing, Any, Nothing, ExecutorError, Nothing, Any]
Counter for different executor errors
- def finishedFlowAge(result: FlowResult): Metric[Histogram, zio.Duration, Histogram]
Histogram of the duration between submitting the workflow and completing it (either successful or failed)
- def finishedFlowCount(result: FlowResult): Metric[Counter, Int, Counter]
Counter increased when a flow finishes with either success, failure or death
- def flowStarted(startType: StartType): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]
Counter incremented every time a flow is started to execute (either a new flow or a restarted one)
- val flowSuspendedTime: Metric[Histogram, zio.Duration, Histogram]
Histogram of time fragments a workflow spends in suspended state
- def flowTotalExecutionTime(result: FlowResult): Metric[Histogram, zio.Duration, Histogram]
Histogram of the total time a workflow was in either running or suspended state during its life, excluding the time when it was persisted but not loaded into an executor.
- val gcDeletions: ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]
Counter for the number of remote variables deleted by the garbage collector
- val gcRuns: ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]
Counter for the number of garbage collections
- val gcTimeMillis: ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]
Histogram of the time a full garbage collector run takes
- def httpFailedRequests(host: String, reason: Option[HttpFailure], isFinal: Boolean): Metric[Counter, Long, Counter]
Counter for the number of failed HTTP requests, tagged with the target host, the failure type and whether it was the final failure after potential retries
- def httpResponseTime(host: String, status: Status): Metric[Histogram, zio.Duration, Histogram]
Histogram of the HTTP operation's response times tagged with the target host and the response status
- def httpResponses(host: String, status: Status): Metric[Counter, Long, Counter]
Counter for the number of HTTP operations tagged with the target host and the response status
- def httpRetriedRequests(host: String): Metric[Counter, Long, Counter]
Counter for the number of retried HTTP requests per host
- def httpTimedOutRequests(host: String): Metric[Counter, Long, Counter]
Counter for the number of timed out HTTP requests
- def operationCount(operationType: String): Metric[Counter, Int, Counter]
Counters for each primitive ZFlow operation
- val serializedFlowStateSize: Histogram[Int]
Histogram of the serialized workflow state snapshots in bytes
- def serializedStateChangeSize(stateChange: StateChange): Histogram[Int]
Histogram of the serialized workflow state changes (journal entries) in bytes
- def transactionOutcomeCount(transactionOutcome: TransactionOutcome): Metric[Counter, Int, Counter]
Counter increased after a transaction is either committed, failed or retried
- def variableAccessCount(access: VariableAccess, kind: VariableKind): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]
Counter increased when a remote variable is accessed.
Counter increased when a remote variable is accessed. The access can be read, write or delete and its kind depends on the scope it belongs.
- def variableSizeBytes(kind: VariableKind): Metric[Histogram, Int, Histogram]
Histogram of serialized size of remote variables in bytes
- object FlowResult
- object StartType
- object TransactionOutcome
- object VariableAccess
- object VariableKind