ServiceLevelObjectiveRequestBasedSliMetricArgs

data class ServiceLevelObjectiveRequestBasedSliMetricArgs(val keyAttributes: Output<Map<String, String>>? = null, val metricType: Output<ServiceLevelObjectiveRequestBasedSliMetricMetricType>? = null, val monitoredRequestCountMetric: Output<ServiceLevelObjectiveMonitoredRequestCountMetricArgs>? = null, val operationName: Output<String>? = null, val totalRequestCountMetric: Output<List<ServiceLevelObjectiveMetricDataQueryArgs>>? = null) : ConvertibleToJava<ServiceLevelObjectiveRequestBasedSliMetricArgs>

This structure contains the information about the metric that is used for a request-based SLO.

Constructors

constructor(keyAttributes: Output<Map<String, String>>? = null, metricType: Output<ServiceLevelObjectiveRequestBasedSliMetricMetricType>? = null, monitoredRequestCountMetric: Output<ServiceLevelObjectiveMonitoredRequestCountMetricArgs>? = null, operationName: Output<String>? = null, totalRequestCountMetric: Output<List<ServiceLevelObjectiveMetricDataQueryArgs>>? = null)

Properties

Link copied to clipboard
val keyAttributes: Output<Map<String, String>>? = null

This is a string-to-string map that contains information about the type of object that this SLO is related to. It can include the following fields.

Link copied to clipboard

If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.

Link copied to clipboard

Use this structure to define the metric that you want to use as the "good request" or "bad request" value for a request-based SLO. This value observed for the metric defined in TotalRequestCountMetric will be divided by the number found for MonitoredRequestCountMetric to determine the percentage of successful requests that this SLO tracks.

Link copied to clipboard
val operationName: Output<String>? = null

If the SLO monitors a specific operation of the service, this field displays that operation name.

Link copied to clipboard

This structure defines the metric that is used as the "total requests" number for a request-based SLO. The number observed for this metric is divided by the number of "good requests" or "bad requests" that is observed for the metric defined in MonitoredRequestCountMetric.

Functions

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