Class TracingHttpServiceFilter

    • Field Detail

      • tracer

        protected final io.opentracing.Tracer tracer
      • componentName

        protected final java.lang.String componentName
    • Constructor Detail

      • TracingHttpServiceFilter

        public TracingHttpServiceFilter​(io.opentracing.Tracer tracer,
                                        java.lang.String componentName)
        Create a new instance.
        Parameters:
        tracer - The Tracer.
        componentName - The component name used during building new spans.
      • TracingHttpServiceFilter

        public TracingHttpServiceFilter​(io.opentracing.Tracer tracer,
                                        java.lang.String componentName,
                                        boolean validateTraceKeyFormat)
        Create a new instance.
        Parameters:
        tracer - The Tracer.
        componentName - The component name used during building new spans.
        validateTraceKeyFormat - true to validate the contents of the trace ids.