Push
Push
yaml
type: "io.kestra.plugin.aws.cloudwatch.Push"Examples
yaml
id: aws_cloudwatch_push
namespace: company.team
tasks:
- id: push_metric
type: io.kestra.plugin.aws.cloudwatch.Push
accessKeyId: "{{ secret('AWS_ACCESS_KEY_ID') }}"
secretKeyId: "{{ secret('AWS_SECRET_KEY_ID') }}"
region: "us-east-1"
namespace: "Custom/MyApp"
metrics:
- metricName: "RequestsCount"
value: 42.0
unit: "Count"
dimensions:
env: "prod"
service: "payments"
- metricName: "LatencyMs"
value: 123.4
unit: "Milliseconds"
dimensions:
env: "prod"
service: "payments"
Properties
metrics *Requiredarray
Definitions
io.kestra.plugin.aws.cloudwatch.Push-MetricValue
metricName*Requiredstring
dimensionsobject
unitstring
valuenumberstring
namespace *Requiredstring
accessKeyId string
compatibilityMode booleanstring
endpointOverride string
forcePathStyle booleanstring
region string
secretKeyId string
sessionToken string
stsEndpointOverride string
stsRoleArn string
stsRoleExternalId string
stsRoleSessionDuration string
Default
PT15MFormat
duration