Repository navigation
feat(metrics): emit prometheus metrics alongside statsd - #14
Open
StaberindeZA wants to merge 5 commits into
Open
StaberindeZA wants to merge 5 commits into
StaberindeZA wants to merge 5 commits into
Conversation
Because: - We're moving from StatsD to Prometheus, and dashboards need both until scraping is live This commit: - Serves every metric at /metrics on a separate in-cluster port in all four apps Closes ENT-87
StaberindeZA
force-pushed
the
ent-87-switch-prometheus
branch
from
November 24, 2026 20:36
d6ad507 to
ae6290b
Compare
StaberindeZA
marked this pull request as ready for review
November 24, 2026 21:18
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Because
This pull request
prom-clientatGET /metricson a separate port in all four apps (PROMETHEUS_CONFIG__PORT, default 9464), outside the Nest app so ingress, auth and middleware never see itDeployment notes
PodMonitoringper app (ENT-89) on container port 9464, sojobnames the app as theSTATS_D_CONFIG__PREFIXdoes today, and keep that port off every ingress, since its labels include client IDs and slugspreStopsleep of at least the scrape interval (e.g.sleep 30) to all four Deployments, so the last metrics before shutdown are scrapedmax without (pod, instance): a pod clears a scheduled job's gauges when another instance owns the jobIssue that this pull request solves
Closes: ENT-87
Checklist