Class PropagationWebGraphQlInterceptor

java.lang.Object
org.springframework.graphql.observation.PropagationWebGraphQlInterceptor
All Implemented Interfaces:
WebGraphQlInterceptor

@Deprecated(since="1.1.4", forRemoval=true) public class PropagationWebGraphQlInterceptor extends Object implements WebGraphQlInterceptor
Deprecated, for removal: This API element is subject to removal in a future version.
since 1.1.4 with no replacement.
WebGraphQlInterceptor that copies propagation headers from the HTTP request to the GraphQLContext. This makes it possible to propagate tracing information sent by HTTP clients.
Since:
1.1.1
Author:
Brian Clozel
  • Constructor Details

    • PropagationWebGraphQlInterceptor

      public PropagationWebGraphQlInterceptor(io.micrometer.tracing.propagation.Propagator propagator)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create an interceptor that leverages the field names used by the given Propagator instance.
      Parameters:
      propagator - the propagator that will be used for tracing support
  • Method Details