Skip to content

sentry_transaction_set_data() - Discarded unknown attribute #983

@supervacuus

Description

@supervacuus

Discussed in #981

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:

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

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingSDK parityBehavior that other SDKs provide and we are missing or implement differentlyarea: api

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions