-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more internal metrics #163
Comments
Add the following metrics: * pgagroal_sent * pgagroal_received
Add the following metrics: * pgagroal_sent * pgagroal_received
Add the following metrics: * pgagroal_sent * pgagroal_received
Add the following metrics: * pgagroal_network_sent * pgagroal_network_received
Add the following metrics: * pgagroal_client_sockets * pgagroal_self_sockets
@jesperpedersen I have pushed a new commit which contains the implementation of I am considering whether to remove metric |
For |
Add the following metrics: * pgagroal_client_sockets * pgagroal_self_sockets
|
@jesperpedersen Besides, I notice that the main memory size is fixed by configuration file like shared memory created by mmap and so on. I have no idea whether Could you give me some Suggestions? |
There is a very minimal allocation rate which happens during startup of a connection, or with the client. The pipeline uses a fixed buffer for communication so that doesn't change. As such I don't think we need a metric for allocations, and there is no portable system function for checking memory usage. |
I think so, too. Thanks! |
Is your feature request related to a problem? Please describe.
The pgagroal lacks some metrics of internal resource state, such as network traffic and so on.
Describe the solution you'd like
This feature includes new metrics as follows:
pgagroal_network_sent
which characterizes the network traffic sentpgagroal_network_received
which characterizes the network traffic receivedpgagroal_client_sockets
which characterizes the number of sockets client usedpgagroal_self_sockets
which characterizes the number of sockets pgagroal used itselfThe text was updated successfully, but these errors were encountered: