Skip to content

Relationships

Schema relationships
graph LR
    MonitoringAlarms -->|"account"| Accounts

Properties

idstring
required·

Truto's stable unified identifier for this object. Opaque; use provider_id to address the object in the provider's own console or API.

accountstring

The account, subscription or project this object belongs to.

References: Accounts → id
actionsobject[]

What the alarm does on each state change.

has_confirmed_subscriberboolean

For a notification topic: whether it has at least one confirmed subscription. Null for other targets, and for a topic that was not read: one in another account, or a read that failed (for an ALARM-state topic the notifies_confirmed_subscriber entry in unreadable_fields says which). Read on GET, or on the list with fields[]=notifies_confirmed_subscriber.

notification_topicobject

The topic, when target_type is notification_topic.

1 property
idstring

The target's id.

on_statestring

The state change that triggers this action. The provider's own value is in remote_data.

Possible values:
alarmokinsufficient_data
target_idstring

The action target, verbatim (an ARN on AWS).

target_typestring

What kind of target it is. notification_topic: a pub/sub topic (SNS); scaling_policy: an autoscaling policy; instance_action: stop, terminate, reboot or recover a machine; incident_management: an OpsItem or incident; function: a serverless function. The provider's own value is in remote_data.

Possible values:
notification_topicscaling_policyinstance_actionincident_managementfunctionother
actions_enabledboolean

Whether the alarm runs its actions. False means it changes state silently.

alarm_typestring

metric: watches one metric or a metric expression. composite: combines other alarms through a rule. The list reads one type per call (alarm_type query parameter). The provider's own value is in remote_data.

Possible values:
metriccomposite
collected_atstring · date-time

When Truto actually read this object from the provider, in UTC ISO 8601 with the offset present — not the request time, and not a provider timestamp.

comparison_operatorstring

How the value is compared, normalised. outside_band, below_band and above_band compare against an anomaly-detection band instead of a threshold. Null for a composite alarm. The provider's own value is in remote_data.

Possible values:
greater_than_or_equalgreater_thanless_thanless_than_or_equaloutside_bandbelow_bandabove_bandunknown
created_atstring · date-time

When the object was created at the provider, in UTC ISO 8601. Null when the provider does not record one - see unreadable_fields.

datapoints_to_alarminteger

How many breaching periods within evaluation_periods make the alarm fire.

descriptionstring

The alarm's description, verbatim.

evaluation_periodsinteger

How many periods are evaluated.

metricsobject[]

What a metric alarm watches: one entry for a single-metric alarm, or every metric and expression of a metric-math alarm. Empty for a composite alarm.

dimensionsobject

Dimension name to value, exactly as set.

expressionstring

A metric-math expression. Null for a plain metric.

idstring

The entry's id inside a metric-math alarm. Null for a single-metric alarm.

namestring

Metric name, verbatim.

namespacestring

Metric namespace, verbatim (AWS/EC2, or a log metric filter's namespace).

period_secondsinteger

Aggregation period in seconds.

returns_databoolean

Whether this entry is the value the alarm evaluates.

statisticstring

Statistic or percentile, verbatim (Average, Sum, p99 ...).

namestring

The alarm's name, verbatim.

native_typestring

The provider's own type string, unmodified — for example 'AWS::S3::Bucket', 'aws_iam_role', 'Microsoft.Sql/servers'. Used for display and drill-down.

notifies_confirmed_subscriberboolean

Whether the alarm, when it fires, reaches at least one person or system: actions are enabled and at least one ALARM-state action is a notification topic with a confirmed subscription. False when actions are disabled or no ALARM-state action is a topic. Null when a topic could not be read. Read on GET, or on the list with fields[]=notifies_confirmed_subscriber.

period_secondsinteger

Evaluation period of a single-metric alarm.

providerstring

Which cloud this object was read from.

Possible values:
awsazuregcp
provider_idstring

The provider's own identifier, passed through verbatim — a full ARN, resource id, or self-link. Never truncated, prefixed, or normalized.

regionstring

Where the object is located. 'global' denotes genuinely global resources (e.g. IAM, GCP VPC networks) rather than a guessed region. A substituted region (when none is derivable) is flagged in unreadable_fields.

remote_dataRecord<string, any>

Raw data returned from the remote API call.

rulestring

A composite alarm's rule expression, verbatim. Null for a metric alarm.

statestring

Current alarm state. The provider's own value is in remote_data.

Possible values:
okalarminsufficient_dataunknown
state_reasonstring

Why the alarm is in its state, as the provider words it.

state_updated_atstring · date-time

When the state last changed.

tagsobject

Key-value pairs exactly as the customer set them: no case folding, key/value normalization, or merging of separate provider concepts. An empty object means no tags; tags that could not be read appear in unreadable_fields instead.

thresholdnumber

The threshold. Null for a composite alarm, or a band alarm that compares against another metric.

treat_missing_datastring

What missing data points count as. missing: the alarm looks further back for enough points; ignore: the current state is kept. Null for a composite alarm. The provider's own value is in remote_data.

Possible values:
missingnot_breachingbreachingignoreunknown
unreadable_fieldsobject[]

Fields on this object that could not be read, and why. An empty array means everything was read. Use this to tell a real value from a missing one.

detailstring

Explanation of the reason, where one adds anything.

fieldstring

The property on this resource that could not be read.

reasonstring

Why the field could not be read. available_on_get: Not read on list to keep the list fast; call GET for this resource's id to get it.

Possible values:
not_supported_by_providernot_configuredpermission_deniednot_collectedcollection_errorpartially_collectedavailable_on_get
updated_atstring · date-time

When the object was last modified at the provider, in UTC ISO 8601. Null when the provider does not record one - see unreadable_fields.