diff options
author | Andrew Newdigate <andrew@gitlab.com> | 2019-02-04 14:44:51 +0200 |
---|---|---|
committer | Andrew Newdigate <andrew@gitlab.com> | 2019-02-08 14:08:31 +0200 |
commit | 48bcd5248f6c1e8471393fe07ed043c4fefcb7e2 (patch) | |
tree | 99d907f6dc6f322d59af528301a889f6bb66b443 /config/initializers/peek.rb | |
parent | c48f29c15989d260ccb72d3e4bf5973a5e0f2d25 (diff) | |
download | gitlab-ce-48bcd5248f6c1e8471393fe07ed043c4fefcb7e2.tar.gz |
Provide a performance bar link to the Jaeger UIan-peek-jaeger
Jaeger is a distributed tracing tool. This change adds a "Tracing" link
to the performance bar to directly link to a current request in Jaeger.
This is useful for two reasons: 1 - it provides affordance to developers
that the distributed tracing tool is available, so that it can quickly
be discovered. 2 - it allows developers to quickly find a specific trace
without having to manually navigate to a second user-interface.
Diffstat (limited to 'config/initializers/peek.rb')
-rw-r--r-- | config/initializers/peek.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/peek.rb b/config/initializers/peek.rb index a6f43415ec5..e051e5c68c4 100644 --- a/config/initializers/peek.rb +++ b/config/initializers/peek.rb @@ -19,6 +19,7 @@ Peek.into Peek::Views::Gitaly Peek.into Peek::Views::Rblineprof Peek.into Peek::Views::Redis Peek.into Peek::Views::GC +Peek.into Peek::Views::Tracing if Gitlab::Tracing.tracing_url_enabled? # rubocop:disable Naming/ClassAndModuleCamelCase class PEEK_DB_CLIENT |