Opentelemetry-java: OTLP exporter is not setting INTERNAL span kind

Created on 30 Mar 2020  路  2Comments  路  Source: open-telemetry/opentelemetry-java

See SPAN_KIND_UNSPECIFIED in the collector log below:

2020-03-29T19:54:41.967-0700    INFO    loggingexporter/logging_exporter.go:104 TraceData with 1 spans, resource "" (0 labels)
        {"exporter": "logging"}
2020-03-29T19:54:41.967-0700    DEBUG   loggingexporter/logging_exporter.go:144 Span #0
    Trace ID       : 7d90f78c2a5eff240a6dfe589c0bf48f
    Parent ID      : 0000000000000000
    ID             : 5ca22cc7ad543272
    Name           : Start my wonderful use case
    Kind           : SPAN_KIND_UNSPECIFIED
    Start time     : seconds:1585536880 nanos:664692527 
    End time       : seconds:1585536881 nanos:670076452 
    Status code    : 0
    Status message : 
    Span attributes: 
         -> attribute1: int_value:123 
        {"exporter": "logging"}

Most helpful comment

Are we sure this an exporter issue? It looks like the exporter is doing the right thing. Could it be a collector ingest issue?

All 2 comments

Are we sure this an exporter issue? It looks like the exporter is doing the right thing. Could it be a collector ingest issue?

@jkwatson indeed the collector does not handle this correctly. Will close this issue. The problem is that collector is in a transition phase from using opencensus protos internally to using otlp, and in opencensus we did not have the internal field.

See https://github.com/open-telemetry/opentelemetry-collector/issues/754

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Oberon00 picture Oberon00  路  3Comments

poogurgaon picture poogurgaon  路  4Comments

pavolloffay picture pavolloffay  路  5Comments

jkwatson picture jkwatson  路  5Comments

jkwatson picture jkwatson  路  3Comments