Skip to content

Commit

Permalink
Ajout Plug.Telemetry (#4191)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineAugusti authored Sep 19, 2024
1 parent 77135a9 commit 9cd6ace
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/transport/lib/transport_web/endpoint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ defmodule TransportWeb.Endpoint do
)

plug(Plug.RequestId)
plug(Plug.Telemetry, event_prefix: [:phoenix, :endpoint])
plug(RemoteIp, headers: ["x-forwarded-for"])
plug(Plug.Logger)

Expand Down
1 change: 1 addition & 0 deletions apps/unlock/lib/endpoint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ defmodule Unlock.Endpoint do
end

plug(Plug.RequestId)
plug(Plug.Telemetry, event_prefix: [:phoenix, :endpoint])
plug(Plug.Logger)
plug(Plug.Head)

Expand Down

0 comments on commit 9cd6ace

Please sign in to comment.