You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been experimenting with otel-collector (contrib) 0.11.0, and hooked up the OTLP gRPC receiver and the logging exporter. (My full config is mostly in this ticket, FWIW.)
When I do the following:
create spans in a Python demo app,
use the Python Console Exporter (to look at traces),
use the Python OTLP gRPC exporter,
use the otel-collector's OTLP gRPC receiver,
use the otel-collector's logging exporter (to look at traces)...
Expected: when browsing to zpages' /debug/tracez page, and clicking to see detail, the trace IDs should match between interfaces.
Turns into (expected) this logging exporter trace:
Span #0
Trace ID : 127f68ce78b35244e1c202019c4be195
Parent ID : d9458faf2617e74c
ID : 54f8c53815a7ce90
Name : kevin-doing-more
Kind : SPAN_KIND_INTERNAL
Start time : 2020-10-07 21:52:11.216741 +0000 UTC
End time : 2020-10-07 21:52:11.216805 +0000 UTC
Status code : STATUS_CODE_OK
Span #1
Trace ID : 127f68ce78b35244e1c202019c4be195
Parent ID :
ID : d9458faf2617e74c
Name : kevin-otel-hello
Kind : SPAN_KIND_INTERNAL
Start time : 2020-10-07 21:52:11.216656 +0000 UTC
End time : 2020-10-07 21:52:11.216823 +0000 UTC
Status code : STATUS_CODE_OK
But (unexpected) is visible as this in /debug/tracez:
Hello @kevincantu, I think this is working as intended, the Spans you see in the zpages are internal spans created by the collector tracing instrumentation and suppose to be used for debugging, the spans that you see in the logging exporter are incoming spans (spans received and flowing in our pipelines). So these two are different spans and different traces.
I've been experimenting with otel-collector (contrib) 0.11.0, and hooked up the OTLP gRPC receiver and the logging exporter. (My full config is mostly in this ticket, FWIW.)
When I do the following:
Expected: when browsing to zpages' /debug/tracez page, and clicking to see detail, the trace IDs should match between interfaces.
Actual: the IDs differ in zpages
/debug/tracez
!For example, this console trace:
Turns into (expected) this logging exporter trace:
But (unexpected) is visible as this in
/debug/tracez
:Is there some leftover encoding difference from OpenCensus?
The text was updated successfully, but these errors were encountered: