Originally posted by **AntonTenstar** April 25, 2024
Hello trying to send custom data to with a transaction, but guess I'm doing something wrong. Anyone got any ideas?
Code:
```C
sentry_transaction_context_t* tx_ctx = sentry_transaction_context_new("test transaction", "performance");
sentry_transaction_t* tx = sentry_transaction_start(tx_ctx, sentry_value_new_null());
sentry_transaction_set_data(tx, "performance", sentry_value_new_int32(1337));
sentry_transaction_finish(tx);
```
Result:
![image](https://github.com/getsentry/sentry-native/assets/90307454/39f87f95-e98d-4b45-a8b7-c4947e22f0c3)
Discussed in https://github.com/getsentry/sentry-native/discussions/981