8000 Non-collectable resources in Exposer · Issue #716 · jupp0r/prometheus-cpp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Non-collectable resources in Exposer #716
Open
@aeroyorch

Description

@aeroyorch

Hi!

We would like to serve additional non-Prometheus resources under the same HTTP server (e.g. typical health check (/healthz) and readiness (/readyz) endpoints) along with the metrics resources, without loosing the current functionality provided by the Exposerclass.

One possible solution would be using std::shared_ptr instead of std::unique_ptr to store the server_ member and having an additional constructor that accepts the provision of an externally managed CivetServer.

Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0