Prometheus Endpoints
Daemons
Rendezvous Prometheus endpoints provide a familiar interface for basic metrics. The following Prometheus endpoints are added to all the dameon HTTP/HTTPS interfaces:
-
/metrics -
/metrics/subscriptions -
/metrics/clients -
/metrics/neighbors -
/metrics/profiling
rvtrace
By default, when rvtrace starts, an HTTP server is started on the 7595 port. The server presents the Prometheus metrics at the /metrics endpoint. The metrics are presented on the basis of the command-line parameters passed to rvtrace. For example, by default, rvtrace gathers point-to-point statistics only when you pass the -ptp parameter. Therefore, the Prometheus metrics present point-to-point statistics when you pass the -ptp parameter.
The /metrics endpoint uses data from the last snapshot created by rvtrace. rvtrace creates snapshots every 10 seconds unless you change the update interval by passing the -u flag. As a result, before the first snapshot is created, rvtrace returns the 404 NOT FOUND error.