Skip to content

Instantly share code, notes, and snippets.

@oranie
Created November 15, 2012 03:25
Show Gist options
  • Save oranie/4076463 to your computer and use it in GitHub Desktop.
Save oranie/4076463 to your computer and use it in GitHub Desktop.
old config
<store>
type datacounter
#unit minute
count_interval 60
count_key response_time
tag apache_result.response_time.all
aggregate all
# patternX: X(1-9)
pattern1 0-100msec ^\d{1,5}$
pattern2 100-200msec ^1\d{5}$
pattern3 200-500msec ^[2-4]\d{5}$
pattern4 500msec-1sec ^[5-9]\d{5}$
pattern5 1sec_over ^\d{7,}$
</store>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment