SentrySpan does not have a `data` field
See original GitHub issuehttps://develop.sentry.dev/sdk/event-payloads/span/
{
"data": {
"type": "xhr",
"method": "GET",
"url": "https://api.covid19api.com/summary"
},
"description": "GET https://api.covid19api.com/summary",
"op": "http",
"parent_span_id": "ae1192f4fbda20ff",
"span_id": "9f27dcdf0a77661e",
"start_timestamp": 1623849813.575222,
"status": "ok",
"tags": {
"http.status_code": "200"
},
"timestamp": 1623849814.675915,
"trace_id": "1e5acd8e53254c9db2be50cb40e9ada4"
}
during ser/deser, we’re losing the data
field
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
OpenTelemetry Support
We want to update the Sentry Span & Transaction with the OpenTelemetry data. This includes the span's operation, description, and resource attributes. The ......
Read more >Q: Is it possible to decorate http span descriptions (or add ...
I tried to use the breakcrumb hook, but no luck. A custom data field or even modifying the URL does not change the...
Read more >Event Detail
Any span data that inherits from its root are not. Information about the specific event, such as the event ID, project, duration, time...
Read more >SentrySpan (sentry-root 6.9.2 API)
Makes annotated method execution or a method execution within a class annotated with SentrySpan executed within running SentryTransaction to get wrapped ...
Read more >Spring boot Elastic Search: Cannot set @Field Annotations ...
If you do not create the index but just insert some data, ... The @Field annotation you use is correct, we have a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
let’s do a quick fix then before we get into #1537 which is gonna take longer, so we don’t lose the
data
field during round trip ser/deserYeah and given we’re rethinking this API now its’ better we avoid expanding the public API (even though Data could just use Extra as I believe is done on other SDKs).
We plan to change to change serialization (see #1537 ) that will address such cases where we don’t map completely to all other Sentry SDKs but for the time being to address this React Native issue would be nice to just special case
Data
as @marandaneto suggested