List Metrics

cloudwatch.list_metrics
ActionAmazon Web Servicesconnection required

Calls the AWS cloudwatch API (SigV4).

List metrics in a namespace.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Amazon CloudWatch
Secret shape
{"access_key_id", "secret_access_key"}
Config it needs
region
Resolved by
config.connection_id, else node.connection_id

Configuration

4 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
region
AWS region (overrides the connection).
stringNo———
namespace
Filter by namespace.
stringNo———
metric_name
Filter by metric name.
stringNo———
next_token
Continue from a previous run of this node by passing that run's 'next_token' output; leave blank for the first page.
stringNo———

Output

One shape.

result

FieldTypeExample
metrics
array—
count
number—
next_token
Cursor for the next page; empty when there are no further pages.
string—
{
  "count": 0,
  "metrics": [],
  "next_token": ""
}

Related Amazon CloudWatch nodes

Solutions with Amazon CloudWatch

See List Metrics run in a workflow.

In a technical demo we add the Amazon CloudWatch connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.