ServiceLevelObjectiveMonitoredRequestCountMetricArgs

data class ServiceLevelObjectiveMonitoredRequestCountMetricArgs(val badCountMetric: Output<List<ServiceLevelObjectiveMetricDataQueryArgs>>? = null, val goodCountMetric: Output<List<ServiceLevelObjectiveMetricDataQueryArgs>>? = null) : ConvertibleToJava<ServiceLevelObjectiveMonitoredRequestCountMetricArgs>

This structure defines the metric that is used as the "good request" or "bad request" value for a request-based SLO. This value observed for the metric defined in TotalRequestCountMetric is divided by the number found for MonitoredRequestCountMetric to determine the percentage of successful requests that this SLO tracks.

Constructors

constructor(badCountMetric: Output<List<ServiceLevelObjectiveMetricDataQueryArgs>>? = null, goodCountMetric: Output<List<ServiceLevelObjectiveMetricDataQueryArgs>>? = null)

Properties

Link copied to clipboard

If you want to count "bad requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "bad requests" in this structure.

Link copied to clipboard

If you want to count "good requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "good requests" in this structure.

Functions

Link copied to clipboard
open override fun toJava(): ServiceLevelObjectiveMonitoredRequestCountMetricArgs