healthckeck improvements
All checks were successful
CI/CD Pipeline / build (push) Successful in 52s

This commit is contained in:
2026-03-09 15:30:47 -06:00
parent 3fd64aa2f8
commit 6acb01d335
7 changed files with 45 additions and 44 deletions

View File

@@ -1,19 +0,0 @@
defmodule ElixirAiWeb.Plugs.HealthCheckLogger do
@moduledoc """
Plug that marks health check requests for filtering.
"""
@behaviour Plug
require Logger
@impl true
def init(opts), do: opts
@impl true
def call(%Plug.Conn{path_info: ["health"]} = conn, _opts) do
# Mark this as a health check for logger filtering
Logger.metadata(health_check: true)
conn
end
def call(conn, _opts), do: conn
end