Welcome to mirror list, hosted at ThFree Co, Russian Federation.

observability_helper.rb « projects « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 24bc1928a365b11b874b26aaa96590c6b3cf8f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Projects
  module ObservabilityHelper
    def observability_tracing_view_model(project)
      Gitlab::Json.generate({
        tracingUrl: Gitlab::Observability.tracing_url(project),
        provisioningUrl: Gitlab::Observability.provisioning_url(project),
        oauthUrl: Gitlab::Observability.oauth_url
      })
    end
  end
end