~/talk

Finding the Needle in the Stack Trace: APM Logs-in-Context

Talkat RailsConf 2022 · 2022-05-17..05-19· [observability]
name:New Relic
links:none on file
slides:none on file

New Relic ships an APM logs-in-context feature that injects span and trace IDs into logs, forwards logs directly from the Ruby agent (v8.7+), and links log events to transactions so logs appear beside stack traces and distributed traces in the UI. Instrumentation hooks use Ruby logger format_message via module pre-pending or alias chaining. Sampling kicks in at 10,000 logs per 60s (configurable up to 100,000). Early users like New York Public Library and Chegg report reduced toil and lower log volume.

AI-written summary · about

  1. 0:00New Relic APM logs-in-context
  2. 3:10Log data collection challenges
  3. 5:35APM logs-in-context solution
  4. 5:55Ruby agent instrumentation
  5. 15:53Demo of logs-in-context in New Relic
  6. 17:42Customer success with logs-in-context
  7. 20:11Future of logs-in-context
  8. 21:37Q&A on agent upgrades
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.