From ccc065ff9db0e754a422430db35e2177fc44012c Mon Sep 17 00:00:00 2001 From: Betty Da Date: Mon, 10 Jan 2022 16:18:55 -0500 Subject: [PATCH] fix(tracing): Actually set the operation on a transaction --- src/sentry_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sentry_core.c b/src/sentry_core.c index 926dbdbd1..0583ef145 100644 --- a/src/sentry_core.c +++ b/src/sentry_core.c @@ -760,6 +760,8 @@ sentry_transaction_start(sentry_value_t tx_cxt) tx, "span_id", sentry_value_get_by_key_owned(tx_cxt, "span_id")); sentry_value_set_by_key(tx, "transaction", sentry_value_get_by_key_owned(tx_cxt, "transaction")); + sentry_value_set_by_key( + tx, "op", sentry_value_get_by_key_owned(tx_cxt, "op")); sentry_value_set_by_key( tx, "status", sentry_value_get_by_key_owned(tx_cxt, "status")); sentry_value_set_by_key(tx, "start_timestamp",