Skip to content

Instantly share code, notes, and snippets.

@dkavanagh
Created January 11, 2016 20:13
Show Gist options
  • Save dkavanagh/59585ee0289ef104b1da to your computer and use it in GitHub Desktop.
Save dkavanagh/59585ee0289ef104b1da to your computer and use it in GitHub Desktop.
Generate some custom metric data for testing
#!/bin/bash
while true
do
euwatch-put-data --metric-name RequestCount --namespace dak --dimensions "User=dak" --timestamp `date +%Y-%m-%dT%H:%M:%SZ` -v `expr $RANDOM / 2500`
sleep 5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment