2019-10-12 21:52:04 +05:30
|
|
|
require 'peek/adapters/redis'
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2019-10-12 21:52:04 +05:30
|
|
|
Peek::Adapters::Redis.prepend ::Gitlab::PerformanceBar::RedisAdapterWhenPeekEnabled
|
2019-07-31 22:56:46 +05:30
|
|
|
|
2019-10-12 21:52:04 +05:30
|
|
|
Rails.application.config.peek.adapter = :redis, { client: ::Redis.new(Gitlab::Redis::Cache.params) }
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2019-10-12 21:52:04 +05:30
|
|
|
Peek.into Peek::Views::Host
|
|
|
|
Peek.into Peek::Views::ActiveRecord
|
2018-05-09 12:01:36 +05:30
|
|
|
Peek.into Peek::Views::Gitaly
|
2019-10-12 21:52:04 +05:30
|
|
|
Peek.into Peek::Views::RedisDetailed
|
|
|
|
Peek.into Peek::Views::Rugged
|
2019-09-30 21:07:59 +05:30
|
|
|
|
2019-10-12 21:52:04 +05:30
|
|
|
Peek.into Peek::Views::Tracing if Labkit::Tracing.tracing_url_enabled?
|