Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Add statistics endpoint for monitoring & tracking server stats #23

Open
kriswehner opened this issue Nov 15, 2016 · 0 comments
Open

Add statistics endpoint for monitoring & tracking server stats #23

kriswehner opened this issue Nov 15, 2016 · 0 comments

Comments

@kriswehner
Copy link

Right now, we don't have any stats exposed for production monitoring AFAICT.

We need to know at least:

  • Total requests served
  • Total bytes transmitted
  • Number of connected clients (this can easily be derived from exposed counters of requests started / requests finished)
  • Number of errored clients
  • Earliest and latest database LSN / record time
  • Whether or not the replication connection is up, and number of replication connection flaps

This can be done as simply as using "expvar" perhaps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant