cassandra-zipkin-tracing
cassandra-zipkin-tracing copied to clipboard
invalid CustomPayload: Python Cassandra Driver
Hi, I'm trying to integrate this with the Python cassandra driver.
Cassandra is sending its tracing stats to Jaeger, all good. But I can't seem to be able to generate a proper custom payload, my C* logs keep showing: ZipkinTracing.java:107 - invalid customPayload in zipkin
Could anyone help me in this?
At first, I tried:
bin_carrier = bytearray()
tracer.inject(scope.span.context, Format.BINARY, bin_carrier)
But the resulting bytearray (bin_carrier) seems to be always empty.
Then I tried sending the uber-trace-id that Format.TEXT_MAP provides but the payload is invalid.
What should be the format of the payload for cassandra-zipkin-tracing?
The ZIPKIN_TRACE_HEADERS is expected to be a byte array must be of length: 16 == length || 24 == length || 32 == length, for example a serialised SpanId.