highgroove / scout-plugins

Plugins for the Scout Server Monitoring and Reporting Tool

This URL has Read+Write access

Andre Lewis (author)
Wed Oct 14 12:18:28 -0700 2009
commit  bcd9c154b5d9750fde1370975eca06c0a568ae9d
tree    9ff444f551a3986fefa9a7d8388de05df047f66a
parent  d22a8e574510140f688bc1e343ff918085e5a06c
scout-plugins / rails_instrumentation / rails_instrumentation.yml
100644 98 lines (93 sloc) 2.607 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
schema:
  # - throughput
  - avg_request_time
  - actions.num_requests
  - actions.runtime_avg
  - actions.runtime_max
  - actions.render_runtime_avg
  - actions.render_runtime_max
  - actions.db_runtime_avg
  - actions.db_runtime_max
  - actions.other_runtime_avg
  - actions.other_runtime_max
 
# Valid keys in metadata
# label -- defaults to a humanized version of key
# units -- defaults to blank
# precision -- defaults to 0
# delimiter -- defaults to nothing as in 4096
# larger_is_better -- you can set this true, otherwise smaller numbers are regarded as being better
 
metadata:
  # add back once rate_of_change type available
  # throughput:
  # label: Throughput
  # units: req/sec
  # precision: 0
  # larger_is_better: true
  avg_request_time:
    label: Average Request Time
    units: ms
    precision: 0
  actions.num_requests:
    label: Max runtime
    units: ms
    precision: 0
  actions.runtime_avg:
    label: Average Runtime
    units: ms
    precision: 0
  actions.runtime_max:
    label: Max runtime
    units: ms
    precision: 0
  actions.render_runtime_avg:
    label: Average render time
    units: ms
    precision: 0
  actions.render_runtime_max:
    label: Max render time
    units: ms
    precision: 0
  actions.db_runtime_avg:
    label: Average database time
    units: ms
    precision: 0
  actions.db_runtime_max:
    label: Max database time
    units: ms
    precision: 0
  actions.other_runtime_avg:
    label: Average other time
    units: ms
    precision: 0
  actions.other_runtime_max:
    label: Max other time
    units: ms
    precision: 0
    
# Define your triggers here as an array of hashes. This example
# defines three triggers, one of each type:
#
#triggers:
# - type: peak
# dname: throughput # a shallow data series
# max_value: 200
# - type: plateau
# dname: actions.runtime_max # a deep data series
# max_value: 1000
# duration: 10 # in minutes
# - type: trend
# dname: actions.runtime_avg
# direction: UP # UP, DOWN, EITHER
# percentage_change: 10 # greater than 0
# duration: 120 # a number (in minutes) or: DAY_SO_FAR
# window_reference: PRECEDING_WINDOW # PRECEEDING_WINDOW, YESTERDAY, LAST_WEEK
 
triggers:
  - type: peak
    dname: actions.runtime_max
    max_value: 4000
  - type: trend
    dname: actions.runtime_avg
    direction: UP
    percentage_change: 30
    duration: 120
    window_reference: LAST_WEEK
    min_value: 100