Skip to content

Commit

Permalink
Merge pull request #1150 from aws-observability/thpierce-patch-2
Browse files Browse the repository at this point in the history
Align failure metrics with existing metrics
  • Loading branch information
thpierce authored Aug 26, 2024
2 parents 0c3f421 + d905137 commit 364ad71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ jobs:
run: |
if [ '${{ needs.publish_and_test_app.result }}' = 'success' ]; then
aws cloudwatch put-metric-data --namespace 'ADOT/GitHubActions' \
--metric-name Success \
--metric-name Failure \
--dimensions repository=${{ github.repository }},branch=${{ github.ref_name }},workflow=integration-test \
--value 1.0
--value 0.0
else
aws cloudwatch put-metric-data --namespace 'ADOT/GitHubActions' \
--metric-name Success \
--metric-name Failure \
--dimensions repository=${{ github.repository }},branch=${{ github.ref_name }},workflow=integration-test \
--value 0.0
--value 1.0
fi

0 comments on commit 364ad71

Please sign in to comment.