ipx-play has no metrics and no place on the dashboard #458
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ipx-play (#447) sends traces to Tempo and logs JSON, but it serves no /metrics, Prometheus does not scrape it, and grafana/dashboard.py has no panel for it: nothing shows its requests, errors, shares made or memory, and the prod-check skill does not look at it. The directory already has all of this (metrics_bind, ipx_directory::metrics, its dashboard row); ipx-play should do the same.
In
5d0ff1a: ipx-play serves /metrics on metrics_bind (9189 in production): play_http_request_duration_seconds{method,route,status}, play_shares_total, memory, open files, uptime, version. The iPX dashboard has an ipx-play row, its warnings join the log panel, alerts.py has 'ipx-play is down', and the prod-check skill and docs/play.md name it with the scrape job. Left open until it is deployed and Prometheus scrapes it.Deployed 2026-11-14 04:14 UTC, from
5d0ff1aandd1ba83b.5d0ff1aput the metrics on 9189, which hnopml has published (192.168.1.130:9189, job="hnopml") since 11-12, sod1ba83bmoves them to 9191. In production: metrics_bind = "0.0.0.0:9191" in play.toml, 192.168.1.130:9191 published in the ipx project's compose file, an ipx-play job in prometheus.yml (Prometheus reloaded, target up), and the dashboard and alerts regenerated and reloaded: the ipx-play row is there and 'ipx-play is down' is inactive. Each production file has a backup beside it (*.pre-metrics, *.pre-play-metrics, *.pre-ipx-play, *.pre-play). The browser suite scrapes ipx-play's /metrics too (61c38ba).