Skip to content

Maybe Logger metadata should affect grouping #837

@ruslandoga

Description

Right now logged errors seem to be grouped by message only.

iex> Logger.error("error from logs", sentry: %{extra: %{response: Bamboo.ApiError.build_api_error("info 1")}})
iex> Logger.error("error from logs", sentry: %{extra: %{response: Bamboo.ApiError.build_api_error("info 2")}})
# 16:06:06.217 [warning] Event dropped due to being a duplicate of a previously-captured event.
:ok

Would it make sense to consider a hash of :sentry metadata as well?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions