Add guard clause to hotfix some 500s (#1258)
This commit is contained in:
parent
37fc82c409
commit
b61ac4ce16
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ module Instrumentation
|
|||
end
|
||||
|
||||
def append_to_honeycomb(request, controller_name)
|
||||
return if honeycomb_metadata.nil?
|
||||
honeycomb_metadata["trace.trace_id"] = request.request_id
|
||||
honeycomb_metadata["trace.span_id"] = request.request_id
|
||||
honeycomb_metadata[:service_name] = "rails"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue