Unknown User in sentry issue details #888
Replies: 10 comments
-
@ahmedspiir Do you build the logging factory before calling Could you make sure the flow is: var loggerConfig = WriteTo.Sentry(...);
var logger = loggerConfig.CreateLogger(); // Will invoke the configuration callback defined above and init the SDK.
// Now SDK is initialized, scope can be modified:
SentrySdk.ConfigureScope(scope => { scope.User = GetUser(); }); |
Beta Was this translation helpful? Give feedback.
-
@bruno-garcia Thanks for the help, i'll try it and tell you how it went. |
Beta Was this translation helpful? Give feedback.
-
Just realized that your environment has no Please let us know what result of the test I suggested. |
Beta Was this translation helpful? Give feedback.
-
@ahmedspiir any updates on the repro? |
Beta Was this translation helpful? Give feedback.
-
@bruno-garcia we are going to test the change this week, and once it's out i'll post you back |
Beta Was this translation helpful? Give feedback.
-
The SendDefaultPii flag is not set in the options; maybe that's the issue? |
Beta Was this translation helpful? Give feedback.
-
@kanadaj that makes sense! |
Beta Was this translation helpful? Give feedback.
-
@bruno-garcia Maybe consider making a compulsory true/false flag in the setup functions since this seems like a common issue, or add to FAQ |
Beta Was this translation helpful? Give feedback.
-
@bruno-garcia @kanadaj I have applied SendDefaultPii and upgraded to the latest version which is 1.2.0 of "sentry.dotnet.serilog". |
Beta Was this translation helpful? Give feedback.
-
@ahmedspiir Could you please provide us with a small repro so we can debug this case? |
Beta Was this translation helpful? Give feedback.
-
Hi
I'm migrating from https://github.com/getsentry/raven-csharp to the new SDK, before i was able to see the user information and In the unresolved issues list on Sentry ,i was able to see the users count, now and since i migrated it's always zero.
I'm using
Sentry.Serilog
sentry.dotnet.serilog Version | 1.1.2My application is a MS Service fabric service, running on .net 4.6.1
and here is a configurations
Beta Was this translation helpful? Give feedback.
All reactions