Without the deferral the cron-driven ETS flush GenServer fires every 7.5s alongside Prometheus scrapes, calls PromEx.get_metrics in a Task, and dies with `Task.await ... time out` (hardcoded 10s) under contention. Mirrors upstream PromEx.Plug, which calls defer_ets_flush after a successful render specifically to suppress the cron while scraping is healthy. |
||
|---|---|---|
| .. | ||
| components | ||
| controllers | ||
| live | ||
| plugs | ||
| endpoint.ex | ||
| live_helpers.ex | ||
| live_table_footer.ex | ||
| live_table_resource.ex | ||
| location_resolver.ex | ||
| metrics_plug.ex | ||
| router.ex | ||
| skew_t.ex | ||
| telemetry.ex | ||
| user_auth.ex | ||