Skip to content

kamon-datadog and kamon-logback report trace id's differently, not configurable #1012

@skeenan947

Description

@skeenan947

kamon-datadog sends trace and span id's as BigInt, due to DataDog's requirement for these id's to be numeric.
kamon-logback records trace id and spand id in hex.
This causes issues correlating log and trace data.
I'm surprised that there is no way to configure kamon-logback to log these id's as bigint's instead of Hex, given these differences.

traceId in logs: 4519eea8b9532d0f
traceId sent to DataDog APM: 4979273271465946383
I found this called out in your gitter: https://gitter.im/kamon-io/Kamon?at=5d7b2bfad3283306ba320417
but no answers. We've got a workaround, but the lack of ability to configure the data types to match each other has been a pain. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions