Shim exporter dropping 'unknown' span attributes added by temporal

Temporal does add workflow/activity attributes by default — but with the shim only a few survive into Tempo

I am facing couple of issues

  1. trace id from temporal is not flowing to my worker
    hence trace_id and span_id are always null for workflow logs ( note i am using sl4j)

  2. since trace is null , tempo will assign it some random traceid . on expanding the trace , key parameters are absent like workflow_id , activity_type , etc basically all the temporal span attributes are being dropped

does anyone have solution for this?

i am using java sdk

@tihomir @maxim @antonio.perez