You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior implemented in #222 is to nest everything under message key (I guess because NR method to log doesn't support attributes), so by using your appender we get this:
Environment
Provide at least:
Expected Behavior
In JSON should be something like:
Actual Behavior
Current behavior implemented in #222 is to nest everything under
message
key (I guess because NR method to log doesn't support attributes), so by using your appender we get this:It would be super nice to lift everything in top level, They implemented newrelic/newrelic-ruby-agent#2084 (and also have a proposal to have them contextually newrelic/newrelic-ruby-agent#2297)
I don't know if
NewRelic::Agent.agent.log_event_aggregator.add_custom_attributes(foo: 'bar', baz: 'bat')
can be used as is, but it could help.The text was updated successfully, but these errors were encountered: