Skip to content

Commit

Permalink
Merge pull request #177 from uw-it-aca/feature/management-command-sh
Browse files Browse the repository at this point in the history
hush pushgateway curl
  • Loading branch information
mikeseibel authored Mar 22, 2021
2 parents af44e07 + d2e3be8 commit 8b57e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/management_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if [[ -v PUSHGATEWAY ]]; then
LABELS="job=\"${JOB}\",instance=\"${RELEASE_ID}\""
PUSHGATEWAY_PATH="metrics/job/${JOB}/instance/${RELEASE_ID}"

cat <<EOF | curl --data-binary @- "http://${PUSHGATEWAY}:9091/${PUSHGATEWAY_PATH}"
cat <<EOF | curl --silent --show-error --data-binary @- "http://${PUSHGATEWAY}:9091/${PUSHGATEWAY_PATH}"
# HELP management_command_exit Management command exit code.
# TYPE management_command_exit gauge
management_command_exit{${LABELS}} $EXIT_STATUS
Expand Down

0 comments on commit 8b57e8c

Please sign in to comment.