Monitoring

Liveness Probe endpoint

1
curl "http://localhost:18081/ping"
Copied!
Returns the HTTP status code 200 right after basic initialisation procedures.

Readiness Probe endpoint

1
curl "http://localhost:18081/ready"
Copied!
Returns the HTTP status code 200 when Bondy is ready to accept client WAMP (WS|TCP) or HTTP connections. Otherwise returns HTTP status code 503.
How quickly Bondy is ready to accept connections depends on the Coordinated Startup configuration settings. As soon as the shutdown procedure is initiated, this endpoint will return 503.

Prometheus Metrics

1
curl "http://localhost:18081/metrics" \
2
-H 'Content-Type: text/plain; version=0.0.4'
Copied!

Metrics

Metric
Type
Description
bondy_cluster_dropped_bytes
counter
The total bytes dropped by a bondy node from another node in the cluster since reset
bondy_cluster_received_bytes
counter
The total bytes received by a bondy node from another node in the cluster since reset
bondy_cluster_sent_bytes
counter
The total bytes sent by a bondy node from another node in the cluster since reset
bondy_errors_total
counter
The total number of errors in a bondy node since reset
bondy_http_early_errors_total
counter
Total number of HTTP early errors
bondy_http_errors_total
counter
Total number of HTTP request errors
bondy_http_receive_body_duration_microseconds
histogram
Request body receiving duration
bondy_http_request_duration_microseconds
histogram
HTTP request duration
bondy_http_requests_total
counter
Total number of HTTP requests
bondy_http_spawned_processes_total
counter
Total number of spawned HTTP handlers (processes)
bondy_protocol_upgrades_total
counter
Total number of protocol upgrades
bondy_received_bytes
counter
The total bytes received by a bondy node from clients since reset
bondy_registry_tries
gauge
Registry tries count
bondy_send_errors_total
counter
The total number of router send errors in a bondy node since reset
bondy_sent_bytes
counter
The total bytes sent by a bondy node from clients since reset
bondy_session_duration_seconds
histogram
A histogram of the duration of sessions
bondy_sessions_closed_total
counter
The number of sessions closed on a bondy node since reset
bondy_sessions_opened_total
counter
The number of sessions opened on a bondy node since reset
bondy_sessions_total
gauge
The number of active sessions on a bondy node since reset