We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is no example for standalone tracing propagation using the Helidon context.
Context context = Contexts.context().orElseGet(Contexts::globalContext); Tracer tracer = context.get(Tracer.class).orElseGet(Tracer::global); Span.Builder<?> spanBuilder = tracer.spanBuilder("my-span"); context.get(SpanContext.class).ifPresent(spanBuilder::parent); spanBuilder.tag("foo", "bar"); Span span = spanBuilder.start(); try { doStuff(); } catch (Throwable th) { span.end(th); } finally { span.end(); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment Details
Problem Description
There is no example for standalone tracing propagation using the Helidon context.
The text was updated successfully, but these errors were encountered: