Skip to main content

AlarmMetricInput

The cloud metric an alarm evaluates.

Most fields are optional because availability depends on the cloud provider. Pass dimensions: [] if the provider doesn't expose structured dimensions for this metric.

input AlarmMetricInput {
namespace: String
name: String
statistic: String
region: String
dimensions: [AlarmMetricDimensionInput!]
}

Fields

AlarmMetricInput.namespace ● String scalar {#namespace}

Cloud service namespace that categorizes the metric (e.g., AWS/RDS).

AlarmMetricInput.name ● String scalar {#name}

Metric name within the namespace (e.g., CPUUtilization).

AlarmMetricInput.statistic ● String scalar {#statistic}

Aggregation function applied to samples (e.g., Average). Optional for providers without it.

AlarmMetricInput.region ● String scalar {#region}

Cloud region the metric is scoped to, when applicable.

AlarmMetricInput.dimensions ● [AlarmMetricDimensionInput!] list input {#dimensions}

Dimensions identifying the monitored resource. Omit or pass an empty list when the cloud provider doesn't expose structured dimensions.

Member Of

CreateInstanceAlarmInput input ● UpdateInstanceAlarmInput input