Skip to content

Commit a9fd3c8

Browse files
authored
chore: format for better editing (#589)
1 parent 597acd5 commit a9fd3c8

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

salt/base/scripts/sentry-checkin.sh.jinja

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,20 @@ MONITOR_SLUG="salt-highstate-${MINION_ID//./}"
1010
if [ -n "$SENTRY_INGEST_URL" ] && [ -n "$SENTRY_PROJECT_ID" ] && [ -n "$SENTRY_PROJECT_KEY" ]; then
1111
curl -X POST "https://${SENTRY_INGEST_URL}/api/${SENTRY_PROJECT_ID}/cron/${MONITOR_SLUG}/${SENTRY_PROJECT_KEY}/" \
1212
--header 'Content-Type: application/json' \
13-
--data-raw '{"monitor_config": {"schedule": {"type": "crontab", "value": "*/15 * * * *"}, "checkin_margin": 5, "max_runtime": 30, "timezone": "UTC"}, "status": "in_progress"}' &> /dev/null
13+
--data-raw '{
14+
"monitor_config": {
15+
"schedule": {
16+
"type": "crontab",
17+
"value": "*/15 * * * *"
18+
},
19+
"checkin_margin": 5,
20+
"max_runtime": 30,
21+
"timezone": "UTC",
22+
"failure_issue_threshold": 4,
23+
"recovery_threshold": 1
24+
},
25+
"status": "in_progress"
26+
}' &> /dev/null
1427

1528
"$@"
1629
COMMAND_EXIT=$?

0 commit comments

Comments
 (0)