Skip to content

Context data is not reflected in the web UI #95032

Open
@MichaelShapiro

Description

@MichaelShapiro

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Send a transaction from a client (.NET MAUI app)
            ITransactionTracer transaction = SentrySdk.StartTransaction(eventName, eventName);
            transaction.Contexts.Add("Event Payload", BuildContext(eventName, null, callerFunction, callerFile, payloadAsString, payloadAsDictionary));
            transaction.SetTags(SetExtra(eventName, "app.event"));

            transaction.Finish();

BuildContext is just a helper function that builds collection of items.

  1. Navigate to the Sentry Discover > open the event and review details

The following sdk is used to send the transaction:

"sdk": {
   "name": "sentry.dotnet.extensions.logging",
   "version": "5.10.0",
   "packages": [
     {
       "name": "nuget:Sentry.Extensions.Logging",
       "version": "5.10.0"
     },
     {
       "name": "nuget:sentry.dotnet",
       "version": "5.10.0"
     }
   ]
 }, 


Image Image

Expected Result

I expect to see the context data (collection of items) the client sent

Actual Result

The Sentry Discover > Event details does not reflect the context data that the client sent.

However the context data has been received by Sentry as you can see in the raw xaml

Product Area

Discover

Link

https://cma-inc.sentry.io/explore/discover/trace/a7131e997cee4b01a0af711b987a9c04/?dataset=transactions&eventId=51e12f073f0948e2bc41e5e1bae7a04d&field=title&field=user.id&field=user.username&field=user.ip&field=timestamp&field=lats.Registration&field=release&field=dist&field=geo.region&id=28363&name=&project=4507097791463424&query=&queryDataset=transaction-like&sort=-timestamp&source=discover&statsPeriod=90d&timestamp=1751981965&topEvents=5&widths=653&widths=-1&widths=-1&widths=85&yAxis=count%28%29

DSN

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions