Merge branch 'influxdb' into 'master'
Storing of application metrics in InfluxDB
This adds support for tracking metrics in InfluxDB, which in turn can be visualized using Grafana. For more information see #2936.
See merge request !2042
Showing
... | @@ -215,6 +215,14 @@ gem 'select2-rails', '~> 3.5.9' | ... | @@ -215,6 +215,14 @@ gem 'select2-rails', '~> 3.5.9' |
gem 'virtus', '~> 1.0.1' | gem 'virtus', '~> 1.0.1' | ||
gem 'net-ssh', '~> 3.0.1' | gem 'net-ssh', '~> 3.0.1' | ||
# Metrics | |||
group :metrics do | |||
gem 'allocations', '~> 1.0', require: false, platform: :mri | |||
gem 'method_source', '~> 0.8', require: false | |||
gem 'influxdb', '~> 0.2', require: false | |||
gem 'connection_pool', '~> 2.0', require: false | |||
end | |||
group :development do | group :development do | ||
gem "foreman" | gem "foreman" | ||
gem 'brakeman', '~> 3.1.0', require: false | gem 'brakeman', '~> 3.1.0', require: false | ||
... | ... |
app/workers/metrics_worker.rb
0 → 100644
config/initializers/metrics.rb
0 → 100644
lib/gitlab/metrics.rb
0 → 100644
lib/gitlab/metrics/delta.rb
0 → 100644
lib/gitlab/metrics/instrumentation.rb
0 → 100644
lib/gitlab/metrics/metric.rb
0 → 100644
lib/gitlab/metrics/obfuscated_sql.rb
0 → 100644
lib/gitlab/metrics/rack_middleware.rb
0 → 100644
lib/gitlab/metrics/sampler.rb
0 → 100644
lib/gitlab/metrics/sidekiq_middleware.rb
0 → 100644
lib/gitlab/metrics/system.rb
0 → 100644
lib/gitlab/metrics/transaction.rb
0 → 100644
spec/lib/gitlab/metrics/delta_spec.rb
0 → 100644
spec/lib/gitlab/metrics/metric_spec.rb
0 → 100644
spec/lib/gitlab/metrics/sampler_spec.rb
0 → 100644
spec/lib/gitlab/metrics/system_spec.rb
0 → 100644
spec/lib/gitlab/metrics/transaction_spec.rb
0 → 100644
spec/lib/gitlab/metrics_spec.rb
0 → 100644
spec/workers/metrics_worker_spec.rb
0 → 100644
Please
register
or
sign in
to comment