48bcd5248f
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.
13 lines
200 B
Ruby
13 lines
200 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Peek
|
|
module Views
|
|
class Tracing < View
|
|
def results
|
|
{
|
|
tracing_url: Gitlab::Tracing.tracing_url
|
|
}
|
|
end
|
|
end
|
|
end
|
|
end
|