Skip to content

Commit

Permalink
Fix image link
Browse files Browse the repository at this point in the history
  • Loading branch information
ncjones committed Oct 13, 2024
1 parent 693f781 commit 50edf70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/shared-logging-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ The first two points — structured events and static log messages — are intui
A shared logging context enables a different approach to logging. Instead of emitting additional log events every time useful information is encountered, we can choose to simply update the log context. The common logging that occurs after every web request is completed will include the context that was attached while handling the request.

The following screenshot shows an example Newrelic log search based on shared logging context. In this example query we are searching for all log events relating to customer API requests for a specific customer.
![Example Newrelic log search, filtering by ](/public/img/newrelic-log-search-example.webp)
![Example Newrelic log search, filtering by ](/img/newrelic-log-search-example.webp)

Decoupling log event emitters from their surrounding context also improves the separation of concerns in our modules. Emitting a contextualized log event no longer requires the caller's context to be explicitly provided.

Expand Down

0 comments on commit 50edf70

Please sign in to comment.