Skip to content

docs: document opt-in HTTP request Prometheus metric#649

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
docs/http-server-requests-prometheus-metric
Open

docs: document opt-in HTTP request Prometheus metric#649
mintlify[bot] wants to merge 1 commit into
mainfrom
docs/http-server-requests-prometheus-metric

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented May 18, 2026

Summary

Documents the new opt-in http_server_requests_seconds Prometheus histogram that times every HTTP request across the API, scheduler, and NATS worker. The metric is disabled by default and enabled via LIGHTDASH_PROMETHEUS_EXTENDED_METRICS_ENABLED=true.

Changes

  • Added LIGHTDASH_PROMETHEUS_EXTENDED_METRICS_ENABLED to the Prometheus environment variables reference.
  • Added a new HTTP request metrics section to the Prometheus metrics page that explains the metric, its labels (method, uri, status_code), bucket layout, cardinality safeguards (templated routes, unmatched sentinel, /assets/* collapsing), and example PromQL queries for p99 latency and 5xx error rate.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 18, 2026

🤖 Documentation Bot

All checks passed! No issues found.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented May 18, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lightdash 🟢 Ready View Preview May 18, 2026, 11:35 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants