tusker_push/lib/tusker_push_web/controllers/healthcheck_controller.ex

9 lines
237 B
Elixir
Raw Permalink Normal View History

2024-04-12 20:53:38 +00:00
defmodule TuskerPushWeb.HealthcheckController do
use TuskerPushWeb, :controller
def healthcheck(conn, _params) do
2024-04-25 18:36:31 +00:00
OpenTelemetry.Tracer.set_attribute(:request_id, conn.assigns.request_id)
2024-04-12 20:53:38 +00:00
send_resp(conn, 200, "ok")
end
end