gitlab-org--gitlab-foss/lib/peek/views/host.rb
Sean McGivern 05dd7f9718 Merge branch '52421-show-canary-no-canary-in-the-performance-bar' into 'master'
Resolve "Show canary / no-canary in the performance bar"

Closes #52421

See merge request gitlab-org/gitlab-ce!22222
2018-10-15 07:56:51 +00:00

14 lines
254 B
Ruby

# frozen_string_literal: true
module Peek
module Views
class Host < View
def results
{
hostname: Gitlab::Environment.hostname,
canary: Gitlab::Utils.to_boolean(ENV['CANARY'])
}
end
end
end
end