├── .gitignore ├── .gitmodules ├── Gemfile ├── LICENSE ├── README.rdoc ├── Rakefile ├── Vagrantfile ├── app ├── controllers │ └── system_metrics │ │ └── metrics_controller.rb ├── helpers │ └── system_metrics │ │ └── metrics_helper.rb ├── models │ └── system_metrics │ │ └── metric.rb └── views │ ├── layouts │ └── system_metrics │ │ └── metrics.html.erb │ └── system_metrics │ └── metrics │ ├── _menu.html.erb │ ├── _metric_row.html.erb │ ├── _metric_table.html.erb │ ├── _portlet.html.erb │ ├── _title_bar.html.erb │ ├── admin.html.erb │ ├── category.html.erb │ ├── index.html.erb │ └── show.html.erb ├── config └── routes.rb ├── init.rb ├── lib ├── generators │ ├── system_metrics.rb │ └── system_metrics │ │ ├── install │ │ └── install_generator.rb │ │ └── migration │ │ ├── migration_generator.rb │ │ └── templates │ │ └── migration.rb ├── system-metrics.rb ├── system_metrics.rb └── system_metrics │ ├── async_store.rb │ ├── collector.rb │ ├── config.rb │ ├── engine.rb │ ├── instrument.rb │ ├── instrument │ ├── action_controller.rb │ ├── action_mailer.rb │ ├── action_view.rb │ ├── active_record.rb │ ├── base.rb │ └── rack.rb │ ├── middleware.rb │ ├── nested_event.rb │ ├── store.rb │ └── version.rb ├── public ├── images │ ├── gradient.png │ └── rings_13.png └── stylesheets │ ├── app.css │ ├── ie.css │ ├── print.css │ ├── reset.css │ └── typography.css ├── puppet └── manifests │ └── vagrant.pp ├── spec ├── spec_helper.rb ├── support │ ├── db_setup.rb │ ├── mock_app.rb │ ├── notifications_support.rb │ ├── test_logger.rb │ ├── test_store.rb │ └── transactional_specs.rb ├── system_metrics │ ├── async_store_spec.rb │ ├── collector_spec.rb │ ├── config_spec.rb │ ├── engine_spec.rb │ ├── instrument │ │ ├── action_controller_spec.rb │ │ ├── action_mailer_spec.rb │ │ ├── action_view_spec.rb │ │ ├── active_record_spec.rb │ │ ├── base_spec.rb │ │ └── rack_spec.rb │ ├── middleware_spec.rb │ ├── nested_event_spec.rb │ └── store_spec.rb └── system_metrics_spec.rb └── system-metrics.gemspec /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/.gitmodules -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/LICENSE -------------------------------------------------------------------------------- /README.rdoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/README.rdoc -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/Rakefile -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/Vagrantfile -------------------------------------------------------------------------------- /app/controllers/system_metrics/metrics_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/app/controllers/system_metrics/metrics_controller.rb -------------------------------------------------------------------------------- /app/helpers/system_metrics/metrics_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/app/helpers/system_metrics/metrics_helper.rb -------------------------------------------------------------------------------- /app/models/system_metrics/metric.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/app/models/system_metrics/metric.rb -------------------------------------------------------------------------------- /app/views/layouts/system_metrics/metrics.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/app/views/layouts/system_metrics/metrics.html.erb -------------------------------------------------------------------------------- /app/views/system_metrics/metrics/_menu.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/app/views/system_metrics/metrics/_menu.html.erb -------------------------------------------------------------------------------- /app/views/system_metrics/metrics/_metric_row.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/app/views/system_metrics/metrics/_metric_row.html.erb -------------------------------------------------------------------------------- /app/views/system_metrics/metrics/_metric_table.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/app/views/system_metrics/metrics/_metric_table.html.erb -------------------------------------------------------------------------------- /app/views/system_metrics/metrics/_portlet.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/app/views/system_metrics/metrics/_portlet.html.erb -------------------------------------------------------------------------------- /app/views/system_metrics/metrics/_title_bar.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/app/views/system_metrics/metrics/_title_bar.html.erb -------------------------------------------------------------------------------- /app/views/system_metrics/metrics/admin.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/app/views/system_metrics/metrics/admin.html.erb -------------------------------------------------------------------------------- /app/views/system_metrics/metrics/category.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/app/views/system_metrics/metrics/category.html.erb -------------------------------------------------------------------------------- /app/views/system_metrics/metrics/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/app/views/system_metrics/metrics/index.html.erb -------------------------------------------------------------------------------- /app/views/system_metrics/metrics/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/app/views/system_metrics/metrics/show.html.erb -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/config/routes.rb -------------------------------------------------------------------------------- /init.rb: -------------------------------------------------------------------------------- 1 | require 'system_metrics' 2 | -------------------------------------------------------------------------------- /lib/generators/system_metrics.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/generators/system_metrics.rb -------------------------------------------------------------------------------- /lib/generators/system_metrics/install/install_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/generators/system_metrics/install/install_generator.rb -------------------------------------------------------------------------------- /lib/generators/system_metrics/migration/migration_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/generators/system_metrics/migration/migration_generator.rb -------------------------------------------------------------------------------- /lib/generators/system_metrics/migration/templates/migration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/generators/system_metrics/migration/templates/migration.rb -------------------------------------------------------------------------------- /lib/system-metrics.rb: -------------------------------------------------------------------------------- 1 | require 'system_metrics' 2 | -------------------------------------------------------------------------------- /lib/system_metrics.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics.rb -------------------------------------------------------------------------------- /lib/system_metrics/async_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics/async_store.rb -------------------------------------------------------------------------------- /lib/system_metrics/collector.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics/collector.rb -------------------------------------------------------------------------------- /lib/system_metrics/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics/config.rb -------------------------------------------------------------------------------- /lib/system_metrics/engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics/engine.rb -------------------------------------------------------------------------------- /lib/system_metrics/instrument.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics/instrument.rb -------------------------------------------------------------------------------- /lib/system_metrics/instrument/action_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics/instrument/action_controller.rb -------------------------------------------------------------------------------- /lib/system_metrics/instrument/action_mailer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics/instrument/action_mailer.rb -------------------------------------------------------------------------------- /lib/system_metrics/instrument/action_view.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics/instrument/action_view.rb -------------------------------------------------------------------------------- /lib/system_metrics/instrument/active_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics/instrument/active_record.rb -------------------------------------------------------------------------------- /lib/system_metrics/instrument/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics/instrument/base.rb -------------------------------------------------------------------------------- /lib/system_metrics/instrument/rack.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics/instrument/rack.rb -------------------------------------------------------------------------------- /lib/system_metrics/middleware.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics/middleware.rb -------------------------------------------------------------------------------- /lib/system_metrics/nested_event.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics/nested_event.rb -------------------------------------------------------------------------------- /lib/system_metrics/store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/lib/system_metrics/store.rb -------------------------------------------------------------------------------- /lib/system_metrics/version.rb: -------------------------------------------------------------------------------- 1 | module SystemMetrics 2 | VERSION = "0.2.5" 3 | end 4 | -------------------------------------------------------------------------------- /public/images/gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/public/images/gradient.png -------------------------------------------------------------------------------- /public/images/rings_13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/public/images/rings_13.png -------------------------------------------------------------------------------- /public/stylesheets/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/public/stylesheets/app.css -------------------------------------------------------------------------------- /public/stylesheets/ie.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/public/stylesheets/ie.css -------------------------------------------------------------------------------- /public/stylesheets/print.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/public/stylesheets/print.css -------------------------------------------------------------------------------- /public/stylesheets/reset.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/public/stylesheets/reset.css -------------------------------------------------------------------------------- /public/stylesheets/typography.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/public/stylesheets/typography.css -------------------------------------------------------------------------------- /puppet/manifests/vagrant.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/puppet/manifests/vagrant.pp -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/db_setup.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/support/db_setup.rb -------------------------------------------------------------------------------- /spec/support/mock_app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/support/mock_app.rb -------------------------------------------------------------------------------- /spec/support/notifications_support.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/support/notifications_support.rb -------------------------------------------------------------------------------- /spec/support/test_logger.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/support/test_logger.rb -------------------------------------------------------------------------------- /spec/support/test_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/support/test_store.rb -------------------------------------------------------------------------------- /spec/support/transactional_specs.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/support/transactional_specs.rb -------------------------------------------------------------------------------- /spec/system_metrics/async_store_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/system_metrics/async_store_spec.rb -------------------------------------------------------------------------------- /spec/system_metrics/collector_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/system_metrics/collector_spec.rb -------------------------------------------------------------------------------- /spec/system_metrics/config_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/system_metrics/config_spec.rb -------------------------------------------------------------------------------- /spec/system_metrics/engine_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/system_metrics/engine_spec.rb -------------------------------------------------------------------------------- /spec/system_metrics/instrument/action_controller_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/system_metrics/instrument/action_controller_spec.rb -------------------------------------------------------------------------------- /spec/system_metrics/instrument/action_mailer_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/system_metrics/instrument/action_mailer_spec.rb -------------------------------------------------------------------------------- /spec/system_metrics/instrument/action_view_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/system_metrics/instrument/action_view_spec.rb -------------------------------------------------------------------------------- /spec/system_metrics/instrument/active_record_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/system_metrics/instrument/active_record_spec.rb -------------------------------------------------------------------------------- /spec/system_metrics/instrument/base_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/system_metrics/instrument/base_spec.rb -------------------------------------------------------------------------------- /spec/system_metrics/instrument/rack_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/system_metrics/instrument/rack_spec.rb -------------------------------------------------------------------------------- /spec/system_metrics/middleware_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/system_metrics/middleware_spec.rb -------------------------------------------------------------------------------- /spec/system_metrics/nested_event_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/system_metrics/nested_event_spec.rb -------------------------------------------------------------------------------- /spec/system_metrics/store_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/system_metrics/store_spec.rb -------------------------------------------------------------------------------- /spec/system_metrics_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/spec/system_metrics_spec.rb -------------------------------------------------------------------------------- /system-metrics.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kunklejr/system-metrics/HEAD/system-metrics.gemspec --------------------------------------------------------------------------------