When monitoring and troubleshooting modern applications, having a complete view of requests across your entire system has become more critical than ever before. This is where distributed tracing comes in. With distributed tracing, which is included with New Relic application performance monitoring (APM), you can quickly understand complex problems, identify bottlenecks, and resolve issues without additional configuration. But what about finding the right trace faster?
You can now view distributed traces directly in your logs and in errors inbox, making it both quicker and easier to find the traces you need. New Relic presents related distributed traces in the occurrences tab of errors inbox, in the error group in the APM errors page, and in the log details panel, allowing you to view your traces where you’re working.
New Relic traces in context also detect whether or not a trace has been sampled. When a trace isn’t available, you'll have links to relevant documentation so you can improve and adjust your distributed trace sampling or instrumentation. You’ll spend more time resolving issues with data, rather than searching for a trace that doesn’t exist.
With a streamlined way to access related distributed traces across logs and errors, you can improve the way you monitor and troubleshoot your applications.
Get started with distributed tracing in errors inbox, APM errors, and logs
1. Review the distributed tracing documentation.
2. Use our guided install to send logs and errors data to New Relic.
3. Deploy or update to the latest APM agent. Distributed tracing will be immediately available after you install the latest agents.
5. To view traces in your errors inbox:
- Select an error group.
- In the Occurrences tab, select Only show errors with distributed traces.
- From there, you’ll see the distributed trace detail below the Stack trace section, as shown in this screenshot example.
6. To view traces in APM errors:
Select an error group. You’ll see the correlated distributed trace below the stack trace section when a distributed trace has been sampled for that error, as shown in this example.
7. To view traces in logs:
Select an individual log to view the log detail. You'll see the correlated distributed trace below the host section when a distributed trace has been sampled for that log, as shown in this example.
Ready to get started? Distributed tracing is included with New Relic APM at no additional cost, so you can better understand dependencies across your system, troubleshoot faster, and improve app performance.
If you’re already using New Relic, review distributed tracing documentation and get started with distributed tracing in errors inbox, APM errors, and logs.
Don't have a New Relic account yet? Sign up for free. Your account includes 100 GB/month of free data ingest, one free full-access user, and unlimited free basic users.
이 블로그에 표현된 견해는 저자의 견해이며 반드시 New Relic의 견해를 반영하는 것은 아닙니다. 저자가 제공하는 모든 솔루션은 환경에 따라 다르며 New Relic에서 제공하는 상용 솔루션이나 지원의 일부가 아닙니다. 이 블로그 게시물과 관련된 질문 및 지원이 필요한 경우 Explorers Hub(discuss.newrelic.com)에서만 참여하십시오. 이 블로그에는 타사 사이트의 콘텐츠에 대한 링크가 포함될 수 있습니다. 이러한 링크를 제공함으로써 New Relic은 해당 사이트에서 사용할 수 있는 정보, 보기 또는 제품을 채택, 보증, 승인 또는 보증하지 않습니다.