Skip to content

Instantly share code, notes, and snippets.

@alq666
Created August 30, 2012 01:13
Show Gist options
  • Save alq666/3521369 to your computer and use it in GitHub Desktop.
Save alq666/3521369 to your computer and use it in GitHub Desktop.
Turn a simple shell script into a Datadog event
#!/bin/bash
echo "I'm busy doing work"
# produce widgets
count = 100
echo "I'm done now and I made $count widgets." | dog event post "$count Widgets produced"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment