aws-actions/Post Amazon Cloudwatch Metrics

Publishes a metric to Amazon CloudWatch.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
metric-nameName of the metric to be publishedBuilds
metric-valueValue of the metric to be published true, and false are respectfully converted to 1.0, and 0.0 automatically${{ job.status == 'success' }}
metric-dimensionsDimension of the metric to be published, as a JSON object[ { "Name": "github.event_name", "Value": "${{ github.event_name }}" }, { "Name": "github.ref", "Value": "${{ github.ref }}" }, { "Name": "github.repository", "Value": "${{ github.repository }}" } ]
metric-dataPath to a JSON file containing CloudWatch-compatible metrics, according to https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudwatch/put-metric-data.html If this input is specified, the action will ignore the single-value inputs "metric-name", "metric-value", "metric-dimensions" and only publish the data from this file.no
namespaceThe namespace for the metric data.ActionCloudWatchMetrics

no outputs