question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unknown User in sentry issue details

See original GitHub issue

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.2 My application is a MS Service fabric service, running on .net 4.6.1 and here is a configurations

  loggerConfig = loggerConfig.WriteTo.Sentry(o =>
               {
                   o.Environment = environment;
                   o.Release = FabricRuntime.GetActivationContext().GetServiceManifestVersion();
                   o.Dsn = new Dsn(settings.SentryDsn);
                   o.MinimumEventLevel = LogEventLevel.Error;
               });
                SentrySdk.ConfigureScope(scope => { scope.User = GetUser(); });

// GetUser returns Sentry.Protocol.User and it contains only the username 
private static User GetUser(){}
Screenshot 2019-04-16 at 16 13 58 Screenshot 2019-04-16 at 16 15 51

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ahmedspiircommented, May 28, 2019

@bruno-garcia we are going to test the change this week, and once it’s out i’ll post you back

0reactions
bruno-garciacommented, Jun 5, 2019

@ahmedspiir Could you please provide us with a small repro so we can debug this case?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Identify Users for Connect
If the user is unauthenticated, Sentry uses the IP address as a unique identifier for the user. Serverside SDKs that instrument incoming requests...
Read more >
Know unknown unknowns with Sentry
For my projects (nodejs on the server, angularjs on the frontend), I use Sentry to catch and report all run-time exceptions.
Read more >
Contexts Interface - Sentry Developer Documentation
Unknown data for the contexts is rendered as a key/value list. In the Sentry Product, certain contexts are rendered in a special way...
Read more >
How do I report the currently logged in user to Sentry?
I'm using Sentry (Raven 3.4.1) on a user-facing Python/Pyramid webapp. Sentry seems to have the ability to track which and how many users...
Read more >
Application Monitoring and Error Tracking - Sentry - YouTube
Will Capozzoli (Solutions Engineer at Sentry ) walks you through how to get the ... How to configure & use Performance Monitoring by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found