Lance Walters
466161f87a
monitoring(forgejo): make the actions_runners metric duplicate-proof
...
The CNPG exporter answers the whole /metrics request with HTTP 500 when a
custom query emits two rows with the same series name + label set, which
also drops every pg_stat_*/cnpg_pg_* series (Prometheus target down).
action_runner held three rows named siriussec-amd64 (one live, two
soft-deleted tombstones from the runner renames), so
cnpg_actions_runners_last_online_seconds was collected twice and the
endpoint returned 500.
- WHERE r.deleted IS NULL -> ignore Forgejo's soft-deleted runner rows.
- GROUP BY r.name with max(last_online) -> the label is the name, so a
duplicate name can never produce a duplicate series again; reporting the
most recent poll per name is the intended semantic.
- label cnpg.io/reload -> the instance manager re-reads the queries on
change instead of needing a pod restart (or kubectl cnpg reload) before
a query fix takes effect.
2026-11-27 01:29:18 -05:00
..
ci-runners-namespace.yaml
ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too
2026-11-27 01:20:56 -05:00
cluster-backup.yaml
apps(backup): cover the remaining stateful gaps off-host
2026-11-19 17:14:36 -05:00
cluster.yaml
monitoring: custom Forgejo runner, CNPG and workload dashboards from git
2026-10-27 01:32:20 -04:00
custom-public.yaml
apps(forgejo): serve a declarative robots.txt that keeps non-portfolio paths out of the index
2026-11-23 22:50:52 -05:00
deployment.yaml
registry(auth): require auth for image pulls (audit F11)
2026-11-27 00:15:20 -05:00
httproute.yaml
Add Forgejo app and CNPG cluster (1 replica).
2026-09-11 00:08:31 -04:00
kustomization.yaml
ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too
2026-11-27 01:20:56 -05:00
namespace.yaml
ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too
2026-11-27 01:20:56 -05:00
pg-actions-queries.yaml
monitoring(forgejo): make the actions_runners metric duplicate-proof
2026-11-27 01:29:18 -05:00
podmonitor.yaml
monitoring: custom Forgejo runner, CNPG and workload dashboards from git
2026-10-27 01:32:20 -04:00
prune-cronjob.yaml
ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too
2026-11-27 01:20:56 -05:00
pvc.yaml
Add Forgejo app and CNPG cluster (1 replica).
2026-09-11 00:08:31 -04:00
runner-amd64.yaml
ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too
2026-11-27 01:20:56 -05:00
runner-arm64.yaml
ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too
2026-11-27 01:20:56 -05:00
runner-configmap.yaml
ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too
2026-11-27 01:20:56 -05:00
runner-deploy-arm64.yaml
ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too
2026-11-27 01:20:56 -05:00
runner-dind-storage.yaml
ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too
2026-11-27 01:20:56 -05:00
secret-cluster-backup-ssh.sops.yaml
secrets: SOPS the backup SSH key and monitoring's hand-made Secrets (F12, part 2)
2026-11-27 00:30:24 -05:00
secret-forgejo-pg-app.sops.yaml
secrets: bring 29 hand-made cluster Secrets under Git via SOPS/age (audit F12)
2026-11-27 00:18:14 -05:00
secret-forgejo-runner-amd64-token.sops.yaml
ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too
2026-11-27 01:20:56 -05:00
secret-forgejo-runner-deploy-arm64-token.sops.yaml
ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too
2026-11-27 01:20:56 -05:00
service.yaml
Add Forgejo app and CNPG cluster (1 replica).
2026-09-11 00:08:31 -04:00