Skip to content

Commit

Permalink
chore: Updated Datadog heartbeat metrics tags (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
syedimranhassan authored Sep 4, 2024
1 parent aee7d07 commit 8a823f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion devops/jobs/CheckASGLifeCycleHooks.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class CheckASGLifeCycleHooks {
"metric": "${datadog_heartbeat_name}",
"points": [['\$(date +%s)', 1]],
"type": "gauge",
"tags": ["env:${deployment}"]
"tags": ["deployment:${deployment}"]
}]
}
"""
Expand Down
2 changes: 1 addition & 1 deletion devops/resources/janitor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ curl -X POST "https://api.datadoghq.com/api/v1/series?api_key=${DD_KEY}" \
"metric": '${JOB_NAME##*/}".heartbeat"',
"points": [['"$(date +%s)"', 1]],
"type": "gauge",
"tags": ["env:'${DEPLOYMENT}'"]
"tags": ["deployment:'${DEPLOYMENT}'"]
}]
}'
2 changes: 1 addition & 1 deletion devops/resources/table-size-monitoring.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ curl -X POST "https://api.datadoghq.com/api/v1/series?api_key=${DD_KEY}" \
"metric": "table-size-monitoring-'${DEPLOYMENT}'.heartbeat",
"points": [['"$(date +%s)"', 1]],
"type": "gauge",
"tags": ["env:'${DEPLOYMENT}'"]
"tags": ["deployment:'${DEPLOYMENT}'"]
}]
}'

0 comments on commit 8a823f8

Please sign in to comment.