Skip to content

Commit

Permalink
Rename notifier log field 'status' to 'connectivity_status' (#1086)
Browse files Browse the repository at this point in the history
  • Loading branch information
punchcafe committed May 18, 2024
1 parent e70451c commit 453f7c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/oban/telemetry.ex
Original file line number Diff line number Diff line change
Expand Up @@ -431,22 +431,22 @@ defmodule Oban.Telemetry do
:isolated ->
%{
event: "notifier:switch",
status: status,
connectivity_status: status,
message: "notifier can't receive messages from any nodes, functionality degraded"
}

:solitary ->
%{
event: "notifier:switch",
status: status,
connectivity_status: status,
message:
"notifier only receiving messages from its own node, functionality may be degraded"
}

:clustered ->
%{
event: "notifier:switch",
status: status,
connectivity_status: status,
message: "notifier is receiving messages from other nodes"
}
end
Expand Down

0 comments on commit 453f7c8

Please sign in to comment.