Skip to content

Metrics

ExVenture publishes Prometheus metrics at /metrics.

nginx

The metrics endpoint will be public to the internet unless it is specifically denied. Here is sample nginx config that allows a single private IP to view the metrics page:

location /metrics {
  set $metrics 1;

  if ($remote_addr = 192.168.x.x) {
    set $metrics 0;
  }

  if ($metrics) {
    return 403;
  }

  proxy_pass   http://127.0.0.1:4000;
}

Grafana

Metrics

This is a sample Grafana dashboard showcasing the metrics that are available.