Conversation
…e with this feature
Feature Request: Richer Prometheus Metrics for Better ObservabilityHi @gulien 👋 First, thank you for the work on the Prometheus module — having That said, we've been running Gotenberg in production at scale (multiple What's missing in practice
Proposed metricsAll metrics below would live in the existing P0 — Critical for SLOs and alerting
P1 — Operational clarity
P2 — Capacity planning
Why this matters beyond dashboardsWith # Example: scale on queue depth instead of CPU
triggers:
- type: prometheus
metadata:
query: gotenberg_chromium_requests_queue_size > 2
threshold: "1"
Implementation notes
All proposed metrics are straightforward float64 reads — no lock
contention, no sampling complexity. They fit cleanly into the existing
Metrics() method pattern used by the Chromium module today.
We'd be happy to contribute a PR if this direction sounds good to you.
Thanks for considering it! |
This PR is currently outdated.