[Enhancement] Add Prometheus support (#556)

* Added prometheus to deps list

* WIP - screwing around with Prometheus and grafana

* Added basic prometheus config

* Updated docs in prom_ex module

* Updated README
This commit is contained in:
Kieran
2025-01-09 12:38:17 -08:00
committed by GitHub
parent 8a40d296c4
commit fb27988963
9 changed files with 83 additions and 23 deletions
+2
View File
@@ -32,6 +32,8 @@ defmodule PinchflatWeb.Endpoint do
plug Phoenix.Ecto.CheckRepoStatus, otp_app: :pinchflat
end
plug PromEx.Plug, prom_ex_module: Pinchflat.PromEx
plug Phoenix.LiveDashboard.RequestLogger,
param_key: "request_logger",
cookie_key: "request_logger"