Reporting metrics
Paddler provides reporting metrics to help you monitor your setup. You can either scrap the /metrics endpoint to obtain metrics in the Prometheus format, or ask Paddler to push StatsD metrics to a given address.
Provided metrics
You can obtain the following metrics:
paddler_slots_processing- the number of slots currently processing requestspaddler_slots_total- number of total available slotspaddler_requests_buffered- the number of requests currently buffered
Metrics prefix
By default, Paddler reports the metrics with the paddler_ prefix, but you can change this prefix when running the balancer with the --statsd-prefix flag.
For example, if you set the prefix to foo_ running this command:
you will receive the following:
foo_slots_processingfoo_slots_totalfoo_requests_buffered
Prometheus format metrics
Paddler exposes the Get metrics endpoint you can scrape to obtain metrics in the Prometheus format.
Method: GET
Path: /metricsStatsD metrics
If enabled, Paddler will send metrics to your StatsD server as gauge values. You can enable this when running the balancer with the --statsd-addr flag, for example: