Skip to content

Commit 8a823f8

Browse files
chore: Updated Datadog heartbeat metrics tags (#1779)
1 parent aee7d07 commit 8a823f8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

devops/jobs/CheckASGLifeCycleHooks.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class CheckASGLifeCycleHooks {
113113
"metric": "${datadog_heartbeat_name}",
114114
"points": [['\$(date +%s)', 1]],
115115
"type": "gauge",
116-
"tags": ["env:${deployment}"]
116+
"tags": ["deployment:${deployment}"]
117117
}]
118118
}
119119
"""

devops/resources/janitor.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ curl -X POST "https://api.datadoghq.com/api/v1/series?api_key=${DD_KEY}" \
5050
"metric": '${JOB_NAME##*/}".heartbeat"',
5151
"points": [['"$(date +%s)"', 1]],
5252
"type": "gauge",
53-
"tags": ["env:'${DEPLOYMENT}'"]
53+
"tags": ["deployment:'${DEPLOYMENT}'"]
5454
}]
5555
}'

devops/resources/table-size-monitoring.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ curl -X POST "https://api.datadoghq.com/api/v1/series?api_key=${DD_KEY}" \
3939
"metric": "table-size-monitoring-'${DEPLOYMENT}'.heartbeat",
4040
"points": [['"$(date +%s)"', 1]],
4141
"type": "gauge",
42-
"tags": ["env:'${DEPLOYMENT}'"]
42+
"tags": ["deployment:'${DEPLOYMENT}'"]
4343
}]
4444
}'

0 commit comments

Comments
 (0)