How to add custom trace id generator in elastic APM java agent code base

Can someone please let me know if there is a way to plug custom trace id generator in the elastic APM java agent code base.

Currently there is no way to customize the trace-ID generation in the elastic apm generator.

You could alternatively use the OpenTelemetry java agent with a custom extension which configures the IDGenerator.

May I ask what you are trying to achieve? Maybe we can propose a different solution.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.