Skip to content

Instantly share code, notes, and snippets.

@mustpax
Created July 31, 2013 01:07
Show Gist options
  • Save mustpax/6118495 to your computer and use it in GitHub Desktop.
Save mustpax/6118495 to your computer and use it in GitHub Desktop.
Graphite metric expressions for lightning talk
aws.cloudwatch.api.us-east-1b.HTTPCode_Backend_2XX.count
aws.cloudwatch.api.*.HTTPCode_Backend_2XX.count
sumSeries(aws.cloudwatch.api.*.HTTPCode_Backend_2XX.count)
timeShift(sumSeries(aws.cloudwatch.api.*.HTTPCode_Backend_2XX.count), '-1w')
diffSeries(timeShift(sumSeries(aws.cloudwatch.api.*.HTTPCode_Backend_2XX.count), '-1w'), sumSeries(aws.cloudwatch.api.*.HTTPCode_Backend_2XX.count))
absolute(diffSeries(timeShift(sumSeries(aws.cloudwatch.api.*.HTTPCode_Backend_2XX.count), '-1w'), sumSeries(aws.cloudwatch.api.*.HTTPCode_Backend_2XX.count)))
secondYAxis(absolute(diffSeries(timeShift(sumSeries(aws.cloudwatch.api.*.HTTPCode_Backend_2XX.count), '-1w'), sumSeries(aws.cloudwatch.api.*.HTTPCode_Backend_2XX.count))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment