lib/opentelemetry/instrumentation/graphql/tracers/graphql_trace.rb in opentelemetry-instrumentation-graphql-0.28.0 vs lib/opentelemetry/instrumentation/graphql/tracers/graphql_trace.rb in opentelemetry-instrumentation-graphql-0.28.1
- old
+ new
@@ -87,14 +87,14 @@
end
end
end
def analyze_multiplex(multiplex:, &block)
- tracer.in_span('graphql.analyze_query', &block)
+ tracer.in_span('graphql.analyze_multiplex', &block)
end
def analyze_query(query:, &block)
- tracer.in_span('graphql.analyze_multiplex', &block)
+ tracer.in_span('graphql.analyze_query', &block)
end
def execute_query(query:, &block)
attributes = {}
attributes['graphql.operation.name'] = query.selected_operation_name if query.selected_operation_name