Description
Hi guys,
We're having a problem that is well described in the documentation:
If you have a single application reporting as multiple entities in New Relic (running in different clusters, cells, etc.), you might see duplicate error groups, since our grouping logic looks at account and entity IDs as part of the fingerprinting process.
So we need to remove Entity ID
out of the fingerprinting process, while keeping all remaining logic as it is.
The Ruby agent documentation for the fingerprinting in the Agent describes the process as this:
proc = proc { |hash| "Access" if hash[:'http.statusCode'] == 401 }
NewRelic::Agent.set_error_group_callback(proc)
But it's not clear how default fingerprinting can be achieved using the error group callback. If we knew that - it would be very easy to adjust the logic to remove entity ID from it, otherwise the documentation is not very usable.
Can you please provided that? Can be pseudocode or anything. As it's not clear how to extract all default fingerprint attributes out of hash
Proc param.
Any help will be very much appreciated
Konstantin.