Check if Repo process is started before attempting to collect PostgreSQL metrics. This prevents the 'could not lookup Ecto repo' error message during application startup when the periodic metrics collector runs before the Repo is fully initialized. The metrics collection now silently skips when the Repo isn't ready and will succeed on subsequent runs once the Repo is started. |
||
|---|---|---|
| .. | ||
| aprsme | ||
| aprsme_web | ||
| aprs_web.ex | ||
| aprsme.ex | ||