Operation
Monitoring

Monitoring and metrics

Network-level and upstream-level metrics are available via Prometheus (opens in a new tab) and Grafana (opens in a new tab).

Refer to erpc/docker-compose.yml (opens in a new tab) and erpc/monitoring (opens in a new tab) for ready-made templates to bring up montoring.

Available metrics

To get full list of available metrics check the source code of erpc/health/metrics.go (opens in a new tab).

eRPC Grafana Dashboard

Here is a list of some of the most important metrics:

MetricDescription
erpc_upstream_request_totalTotal number of actual requests to upstreams.
erpc_upstream_request_duration_secondsDuration of requests to upstreams.
erpc_upstream_request_errors_totalTotal number of errors for requests to upstreams.
erpc_upstream_request_self_rate_limited_totalTotal number of self-imposed rate limited requests before sending to upstreams.
erpc_upstream_request_remote_rate_limited_totalTotal number of remote rate limited requests by upstreams.
erpc_network_request_received_totalTotal number of requests received by the network.
erpc_network_multiplexed_request_totalTotal number of multiplexed requests (exactly similar requests made at the same time) received by the network.
erpc_network_failed_request_totalTotal number of failed requests received by the network.
erpc_network_request_self_rate_limited_totalTotal number of self-imposed rate limited requests before sending to upstreams.
erpc_network_successful_request_totalTotal number of successful requests received by the network.
erpc_network_cache_hits_totalTotal number of cache hits for requests received by the network.
erpc_network_cache_misses_totalTotal number of cache misses for requests received by the network.
erpc_network_request_duration_secondsDuration of requests received by the network.