Skip to content
New issue

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

Exceptionless 4.1.0 cannot navigate from the 'Parent' url #1287

Open
BrisWhite opened this issue Oct 22, 2019 · 8 comments
Open

Exceptionless 4.1.0 cannot navigate from the 'Parent' url #1287

BrisWhite opened this issue Oct 22, 2019 · 8 comments
Assignees
Labels

Comments

@BrisWhite
Copy link

Just like title said,when i click the 'Parent' url,I got nothing.

1
2

But I can use a query filter like this to achieve my goal:
(idx.parent-r:63cb4802-3e26-48ee-b4b6-3b1a386e83e3)

@niemyjski
Copy link
Member

How are you setting the reference id on the two submitted events?

@BrisWhite
Copy link
Author

Ok,Firstly,let me introduce my client project for you,it's based on dotnet core 2.2 framework,and here are my all procedures:

  1. Import nuget package,Exceptionless.Extensions.Logging
  2. In "Configure" method,I invoke this method,loggerFactory.AddExceptionless(key, url);
  3. In whatever Contoller,I use logger like this way:
using (var scope = logger.BeginScope(my state))
{
    logger.LogInformation("test 1");
    logger.LogInformation("test 2");
    logger.LogInformation("test 3");
}

That's all.Thanks for your reply!

@niemyjski
Copy link
Member

So the reference is coming from the begin scope? And you're expecting the three to be a child under the my state?

@BrisWhite
Copy link
Author

@niemyjski Exactly!

@niemyjski
Copy link
Member

Sorry for the delay I was on a long holiday. I'll have to take a look at this but I don't think we are adding a reference id on scopes

@niemyjski
Copy link
Member

Looks like we do create an event reference here: https://github.com/exceptionless/Exceptionless.Net/blob/master/src/Platforms/Exceptionless.Extensions.Logging/ExceptionlessLogger.cs#L91-L92 I'll try and add some tests to see what's going on.

@BrisWhite
Copy link
Author

@niemyjski Ok!many thanks!(* ̄︶ ̄)

@niemyjski niemyjski transferred this issue from exceptionless/Exceptionless Apr 3, 2020
@niemyjski niemyjski added the bug label Apr 3, 2020
@niemyjski niemyjski self-assigned this Apr 3, 2020
@niemyjski
Copy link
Member

My apologies for the delay I've been able to reproduce this. Looking into it, doesn't look like an event is being created with a reference id set for the parent scope. I'm not sure what should happen here. Seems like we aren't setting the reference id on any of our events that I can tell. We probably need to make a pass at this on the backend and through all of our logging clients.

@niemyjski niemyjski transferred this issue from exceptionless/Exceptionless.UI Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants