Add documentation for metrics available#1213
Add documentation for metrics available#1213ThisIsMissEm wants to merge 1 commit intomastodon:mainfrom
Conversation
|
@ThisIsMissEm is attempting to deploy a commit to the Mastodon Team on Vercel. A member of the Team first needs to authorize it. |
| | Gauge | pg_pool_waiting_queries | The number of queued requests waiting on a postgresql client when all clients are checked out | | ||
| | Gauge | connected_clients | The number of clients connected to the streaming server, these are labelled with the type of connection: `http` or `websocket` | | ||
| | Gauge | connected_channels | The number of Redis channels the streaming server is subscribed to | | ||
| | Histogram | streaming_latency | The time delta between when an event is published to redis from Ruby and when the streaming server processes that event | |
There was a problem hiding this comment.
Note: this is a new metric (see: mastodon/mastodon#24886 )
| | Gauge | pg_pool_total_connections | The total number of clients existing within the postgresql pool | | ||
| | Gauge | pg_pool_idle_connections | The number of clients which are not checked out but are currently idle in the postgresql pool | | ||
| | Gauge | pg_pool_waiting_queries | The number of queued requests waiting on a postgresql client when all clients are checked out | | ||
| | Gauge | connected_clients | The number of clients connected to the streaming server, these are labelled with the type of connection: `http` or `websocket` | |
There was a problem hiding this comment.
Note: The labelling is added in: mastodon/mastodon#24886
|
if feasible, i think it would be better to express this information using definition lists instead of using tables. tables don't reflow well for mobile viewers |
I originally had this as lists with everything inline, but a table seemed nicer formatting. Not sure if it's possible to do definition lists (I've never tried that in markdown) |
|
it's something like this you might also use subheaders to categorize certain things or allow for a certain page outline |
I noticed we didn't yet have documentation on the various metrics that Mastodon produces, so I've started to document them; This will likely need a bunch of work to be comprehensive and really useful.