Skip to content

Commit

Permalink
Merge branch 'main' into automate-plugin-installation
Browse files Browse the repository at this point in the history
Signed-off-by: Mostafa Moradian <mostafa@gatewayd.io>
  • Loading branch information
mostafa authored Jan 29, 2024
2 parents 0b4ca2f + eb2c23d commit 0435864
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions using-gatewayd/global-configuration/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,27 @@ scrape_configs:
The following are built-in metrics emitted by GatewayD. The namespace of all the metrics is always set to `gatewayd` and all the metrics are prefixed with `gatewayd_`. Emitted metrics from plugins are listed on their own page.

| Name | Type | Description |
| ------------------------------------ | ------- | ------------------------------------------------------------------ |
| client_connections | Gauge | Number of client connections |
| server_connections | Gauge | Number of server connections |
| tls_connections | Gauge | Number of TLS connections |
| server_ticks_fired_total | Counter | Total number of server ticks fired |
| bytes_received_from_client | Summary | Number of bytes received from client |
| bytes_sent_to_server | Summary | Number of bytes sent to server |
| bytes_received_from_server | Summary | Number of bytes received from server |
| bytes_sent_to_client | Summary | Number of bytes sent to client |
| traffic_bytes | Summary | Number of total bytes passed through GatewayD via client or server |
| plugins_loaded_total | Counter | Number of plugins loaded |
| plugin_hooks_registered_total | Counter | Number of plugin hooks registered |
| plugin_hooks_executed_total | Counter | Number of plugin hooks executed |
| proxy_health_checks_total | Counter | Number of proxy health checks |
| proxied_connections | Gauge | Number of proxy connects |
| proxy_passthroughs_total | Counter | Number of successful proxy passthroughs |
| proxy_passthrough_terminations_total | Counter | Number of proxy passthrough terminations by plugins |
| Name | Type | Description |
| ------------------------------------ | --------------------- | ------------------------------------------------------------------ |
| client_connections | Gauge | Number of client connections |
| server_connections | Gauge | Number of server connections |
| tls_connections | Gauge | Number of TLS connections |
| server_ticks_fired_total | Counter | Total number of server ticks fired |
| bytes_received_from_client | Summary | Number of bytes received from client |
| bytes_sent_to_server | Summary | Number of bytes sent to server |
| bytes_received_from_server | Summary | Number of bytes received from server |
| bytes_sent_to_client | Summary | Number of bytes sent to client |
| traffic_bytes | Summary | Number of total bytes passed through GatewayD via client or server |
| plugins_loaded_total | Counter | Number of plugins loaded |
| plugin_hooks_registered_total | Counter | Number of plugin hooks registered |
| plugin_hooks_executed_total | Counter | Number of plugin hooks executed |
| proxy_health_checks_total | Counter | Number of proxy health checks |
| proxied_connections | Gauge | Number of proxy connects |
| proxy_passthroughs_to_client_total | Counter | Number of successful proxy passthroughs from server to client |
| proxy_passthroughs_to_server_total | Counter | Number of successful proxy passthroughs from client to server |
| proxy_passthrough_terminations_total | Counter | Number of proxy passthrough terminations by plugins |
| api_requests_total | Counter (with labels) | Number of API requests |
| api_requests_errors_total | Counter (with labels) | Number of API request errors |

## Example configuration

Expand Down

0 comments on commit 0435864

Please sign in to comment.