Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sentry_transaction_set_data() - Discarded unknown attribute #983

Closed
supervacuus opened this issue May 2, 2024 Discussed in #981 · 0 comments · Fixed by #986
Closed

sentry_transaction_set_data() - Discarded unknown attribute #983

supervacuus opened this issue May 2, 2024 Discussed in #981 · 0 comments · Fixed by #986
Assignees
Labels
area: api bug Something isn't working SDK parity Behavior that other SDKs provide and we are missing or implement differently

Comments

@supervacuus
Copy link
Collaborator

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

@supervacuus supervacuus self-assigned this May 2, 2024
@github-project-automation github-project-automation bot moved this to Needs Discussion in Mobile & Cross Platform SDK May 2, 2024
@supervacuus supervacuus added bug Something isn't working area: api SDK parity Behavior that other SDKs provide and we are missing or implement differently labels May 7, 2024
@github-project-automation github-project-automation bot moved this from Needs Discussion to Done in Mobile & Cross Platform SDK May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: api bug Something isn't working SDK parity Behavior that other SDKs provide and we are missing or implement differently
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant