David Ashpole
David Ashpole
There are some projects that predated OpenTelemetry, such as [OpenCensus](https://github.com/census-instrumentation/opencensus-go/blob/01e6da5fc01c42aca1e0ce315f41744876e9fcbb/trace/trace.go#L106) or [OpenTracing](https://github.com/opentracing/opentracing-go/blob/10b1cf09e00bdc84234b8c7a4b4d4e4afe64de87/span.go#L11) that had similar functionality, but both projects are archived in favor of OpenTelemetry. For Go, OpenTelemetry is really...
Yes, although context implementations differ between languages. @aabmass might be able to help with the other languages if you have questions.
@cindy-peng @gkevinzheng You should just need to use the trace API library for each language, rather than a specific instrumentation library. I was just trying to illustrate how they would...
For java, it would look similar to this: https://github.com/open-telemetry/opentelemetry-java/blob/3e7302e742227d4526b765621a933d748012c906/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/internal/exemplar/TraceBasedExemplarFilter.java#L35 ```java spanContext SpanContext = Span.fromContext(context).getSpanContext() // make sure it is valid, and then use spanContext's trace id, span id, and sampled...
Looks like in python it is something like this: https://github.com/open-telemetry/opentelemetry-python/blob/66e7d61ceba839c16d51b9297334ec8615cdf6a0/opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal/__init__.py#L479 ```python span_context = get_current_span().get_span_context() // make sure it is valid? Then use spanContext's trace id, span id, and sampled flag...
Parsing the XCTC or traceparent headers as a fallback if OpenTelemetry span context is not found (as the logging library in Go does today) will handle the automatic tracing from...
/triage accepted
I believe this was already fixed in https://github.com/kubernetes/kubernetes/pull/121338
/assign @ricardoapl /triage accepted
/assign @stevehipwell /triage accepted