Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[native] Expose REST API to fetch worker stats in Prometheus format #22360

Merged
merged 1 commit into from
Jul 3, 2024

Commits on Jul 1, 2024

  1. [native] Expose REST API to fetch worker stats in Prometheus format

    Add Prometheus Reporter using the prometheus-cpp library.
    Add a CMake flag PRESTO_ENABLE_PROMETHEUS_REPORTER to enable Prometheus Reporter.
    Add REST API '/v1/info/metrics' to fetch worker metrics from Prometheus Reporter in prometheus format.
    This endpoint is only enabled if the Prometheus Reporter is enabled.
    
    Co-authored-by:jaystarshot <jay.narale@uber.com>
    karteekmurthys committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    c73c5aa View commit details
    Browse the repository at this point in the history