Skip to content

Implement Prometheus /metrics endpoint to ntfy server #210

Closed
@rogeliodh

Description

@rogeliodh

I think it would be very useful to implement a /metrics endpoint to ntfy server so that we could monitor ntfy itself and get some statistics on the service

See https://prometheus.io/docs/guides/go-application/ for details, there is an official library for Go, so it should be relatively easy to integrate

one thing to notice is that "/metrics" is not reserved right now, so if there is a topic named "metrics" it would be a backwards incompatible change. If that is a problem, the endpoint could be moved to another path (ex: "system/metrics", "server/metrics", etc... )

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestserverRelates to the main binary (server or client)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions