Permalink
Browse files

fixed options and metadata

  • Loading branch information...
1 parent 168896c commit 8851d61416deeab440be45b0aefdebee004b2e55 Andre Lewis committed Nov 7, 2012
Showing with 8 additions and 27 deletions.
  1. +8 −9 passenger/passenger.rb
  2. +0 −13 passenger/passenger.yml
  3. +0 −5 swappiness/swappiness.yml
@@ -8,15 +8,14 @@
class PassengerStats < Scout::Plugin
OPTIONS=<<-EOS
- options:
- passenger_memory_stats_command:
- name: The Passenger Memory Stats Command
- notes: The full path to the passenger-memory-stats command (possibly with sudo).
- default: sudo /usr/bin/passenger-memory-stats
- passenger_status_command:
- name: The Passenger Status Command
- notes: The full path to the passenger-status command (possibly with sudo).
- default: sudo /usr/bin/passenger-status
+ passenger_memory_stats_command:
+ name: The Passenger Memory Stats Command
+ notes: The full path to the passenger-memory-stats command (possibly with sudo).
+ default: sudo /usr/bin/passenger-memory-stats
+ passenger_status_command:
+ name: The Passenger Status Command
+ notes: The full path to the passenger-status command (possibly with sudo).
+ default: sudo /usr/bin/passenger-status
EOS
def build_report
@@ -1,79 +1,66 @@
metadata:
passenger_max_pool_size:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Passenger Max Pool Size
passenger_process_current:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Passenger Running Processes
passenger_process_active:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Passenger Active Processes
passenger_process_inactive:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Passenger Inactive Processes
passenger_queue_depth:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Passenger Global Queue Depth
apache_private_total:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Apache private total
apache_processes:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Apache processes
passenger_vmsize_total:
units: "MB"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Passenger vmsize total
nginx_vmsize_total:
units: "MB"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Nginx vmsize total
nginx_processes:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Nginx processes
passenger_private_total:
units: "MB"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Passenger private total
nginx_private_total:
units: "MB"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Nginx private total
apache_vmsize_total:
units: "MB"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Apache vmsize total
@@ -1,31 +1,26 @@
metadata:
Swap-ins:
units: "KB/s"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Swap-ins
Swap-outs:
units: "KB/s"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Swap-outs
Page-ins:
units: "pages/s"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Page-ins
Page-outs:
units: "pages/s"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Page-outs
Page Faults:
units: "faults/s"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Page faults

0 comments on commit 8851d61

Please sign in to comment.