You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any plan to add a way to customize trace.id, like the following:
const apm = require('elastic-apm-node').start({
// Override service name from package.json
// Allowed characters: a-z, A-Z, 0-9, -, _, and space
serviceName: 'service',
// Set custom APM Server URL (default: http://localhost:8200)
serverUrl: APM_SERVER_URL,
});
apm.setTransactionName('xxx');
apm.setTraceId(customTraceId); // This
The text was updated successfully, but these errors were encountered:
@trentm I need to bring a custom customTraceId when the client initiates a request, and then I need the apm's traceId to be equal to this one, so I can realize that from the client onwards, with the same id associated with the client, for me to find the logs will be much more convenient.
Is there any plan to add a way to customize trace.id, like the following:
The text was updated successfully, but these errors were encountered: