Skip to content

Add WebSocket Proxy Prometheus Metrics Endpoint #18545

@michaeljmarshall

Description

@michaeljmarshall

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Metrics are essential to all production deployments.

Solution

Expose a metrics endpoint. This will require formatting the metrics, and then exposing them. Typically, these metrics are exposed at the /metrics endpoint.

Alternatives

There is currently and endpoint for /admin/v2/proxy-stats/metrics, but that exposes metrics in a JSON format. It looks like the logic for those metrics could easily be converted into correct Prometheus metrics.

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions