summaryrefslogtreecommitdiff
path: root/app/graphql
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2019-05-02 07:01:14 +0000
committerBob Van Landuyt <bob@gitlab.com>2019-05-02 07:01:14 +0000
commit96750fac4c4060d0a9e321039cab3dcf52a31105 (patch)
treec5f0f735bc80021e39193dac3ca10026e138c948 /app/graphql
parent2b3b0bb1847e5d910b3e5dc5e151f194c12d3907 (diff)
downloadgitlab-ce-96750fac4c4060d0a9e321039cab3dcf52a31105.tar.gz
Add opentracing integration for graphql
Extends existing graphql's tracer with opentracing measurements. Because it also adds Tracing::Graphql class (for opentracing), it also renames Graphql::Tracing class to Graphql::GenericTracing to minimize confusion with similar class names.
Diffstat (limited to 'app/graphql')
-rw-r--r--app/graphql/gitlab_schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/gitlab_schema.rb b/app/graphql/gitlab_schema.rb
index 1afe000c5f8..a12568d5d31 100644
--- a/app/graphql/gitlab_schema.rb
+++ b/app/graphql/gitlab_schema.rb
@@ -11,7 +11,7 @@ class GitlabSchema < GraphQL::Schema
use Gitlab::Graphql::Authorize
use Gitlab::Graphql::Present
use Gitlab::Graphql::Connections
- use Gitlab::Graphql::Tracing
+ use Gitlab::Graphql::GenericTracing
query_analyzer Gitlab::Graphql::QueryAnalyzers::LogQueryComplexity.analyzer