We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc58607 commit 2b71d13Copy full SHA for 2b71d13
axiom/nr_txn.c
@@ -3242,15 +3242,17 @@ char* nr_txn_get_current_trace_id(nrtxn_t* txn) {
3242
const char* trace_id;
3243
3244
if (NULL == txn) {
3245
+ nrl_debug(NRL_AGENT, "%s", "nr_txn_get_current_trace_id : txn is NULL");
3246
return NULL;
3247
}
3248
3249
trace_id = nr_distributed_trace_get_trace_id(txn->distributed_trace);
3250
+ nrl_debug(NRL_AGENT, "nr_distributed_trace_get_trace_id : %s", trace_id);
3251
3252
if ((NULL == trace_id) || (!txn->options.distributed_tracing_enabled)) {
3253
3254
-
3255
+ nrl_debug(NRL_AGENT, "returning trace_id : %s", trace_id);
3256
return nr_strdup(trace_id);
3257
3258
0 commit comments