View Source Honeybadger.FingerprintAdapter behaviour (Honeybadger v0.21.0)

The callbacks required to implement the FingerprintAdapter behaviour

Summary

Callbacks

This function receives a Honeybadger.Notice.t/0 and must return a string that will be used as a fingerprint for the request

Callbacks

@callback parse(Honeybadger.Notice.t()) :: String.t()

This function receives a Honeybadger.Notice.t/0 and must return a string that will be used as a fingerprint for the request:

def parse(notice) do
  notice.notifier.language <> "_" <> notice.notifier.name
end