We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Metric extraction spec
{ "category": "span", "mri": "d:custom/span_attribute_4@none", "field": "span.data.foo", "tags": [{ "key": "environment", "field": "span.sentry_tags.environment" }], "condition": null },
does not work if the temp attribute is present on a root span:
temp
// does not work Sentry.startSpan({ name: "doSomething", op: "function" }, (rootSpan) => { rootSpan.setAttributes({ foo: "bar", }); }); // works Sentry.startSpan({ name: "doSomething", op: "function" }, (rootSpan) => { Sentry.startSpan({ name: "doSomething", op: "function" }, (innerSpan) => { innerSpan.setAttributes({ foo: "bar", }); }); });
The SDK sends this as a transaction event with data added into contexts.trace.data.*. Relay should perform lookup in this data:
contexts.trace.data.*
"contexts": { "trace": { "span_id": "84ad0a67500f81ea", "trace_id": "cc3345cea6574367a09950eec28c0f02", "data": { "sentry.origin": "manual", "sentry.op": "function", "sentry.source": "custom", "sentry.sample_rate": 1, "foo": 1 }, "op": "function", "origin": "manual" } }
The text was updated successfully, but these errors were encountered:
jan-auer
Successfully merging a pull request may close this issue.
Metric extraction spec
does not work if the
temp
attribute is present on a root span:The SDK sends this as a transaction event with data added into
contexts.trace.data.*
. Relay should perform lookup in this data:The text was updated successfully, but these errors were encountered: