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.

Logging exceptions doesn't include filename in the kibana apm dashboard

See original GitHub issue

Describe the bug I have a simple asp.net core web application, which logs to my APM server. Now I have a controller action that does a simple throw new Exception("My error!"); This exception is showing up in the apm dashboard in kibana, but the filename shown is the full class name of my controller, not the filename.

To Reproduce Steps to reproduce the behavior:

  1. Create a new asp.net core web application
  2. Enable apm logging
  3. Add the aforementioned exception statement to an action
  4. Trigger the exception
  5. See the exception in the kibana apm dashboard.

Expected behavior The file location (line number) is correct, but the file name isn’t.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
mterwoordcommented, Aug 14, 2019

So, basically first you guys need to decide internally first? Then I’ll hold off on a PR for now, if you don’t mind…

1reaction
SergeyKleymancommented, Aug 14, 2019

@mterwoord if you don’t mind I would like to keep this issue open since #265 is much more narrow in scope and #265 is not a bug issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Traces are not shown in Kibana - APM
You can do this by going to the Console in kibana and checking to see if any transactions are present: GET apm-7.16.3-transaction*/_search ....
Read more >
Logs does not show in kibana
Hi - I am having a little trouble pulling the logs to my Elasticsearch; currently, as I am on the main page, from...
Read more >
Common problems | APM User Guide [8.9]
Data is indexed but doesn't appear in the APM appedit · Open Kibana and select Add integrations > Elastic APM. · Click APM...
Read more >
Configure logging | Kibana Guide [8.9]
If a logger doesn't have any appenders configured, the configuration of that particular logger will be inherited from its closest ancestor.
Read more >
Common problems | APM Server Reference [7.15]
If no data shows up in Elasticsearch, first check that the APM components are properly connected. ... To see if the agent can...
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