prometheus-squid-exporter - Prometheus exporter which exposes Squid proxy server metrics obtained via the
Contents
Description
This exporter parses Squid proxy server metrics from the cache manager API and exposes them as Prometheus
metrics, including:
• Cache hit counters
• Client HTTP request / byte counters
• Server HTTP / FTP requests
• Request error counters
Environment
The following environment variables can be used to override default parameters:
• SQUID_EXPORTER_LISTEN
• SQUID_EXPORTER_METRICS_PATH
• SQUID_HOSTNAME
• SQUID_PORT
• SQUID_LOGIN
• SQUID_PASSWORD
Name
prometheus-squid-exporter - Prometheus exporter which exposes Squid proxy server metrics obtained via the
cache manager API.
Options
-listenstring
Address on which to expose exporter (default ":9301").
-metrics-pathstring
Path under which to expose metrics (default "/metrics").
-squid-hostnamestring
Squid server to connect to (default "localhost").
-squid-portint
Squid cache manager port (default: 3128).
-squid-loginstring
Optional username for Squid cache manager HTTP basic authentication.
-squid-passwordstring
Optional password for Squid cache manager HTTP basic authentication.
-squid-use-proxy-header
Use proxy headers when fetching metrics from Squid
-squid-pidfilestring
Optional path to the squid PID file for additional metrics.
-extractservicetimes
Extract service times metrics (default true).
-labelvalue
Custom metrics to attach to metrics, use -label multiple times for each additional label.
-version
Print version and exit.
See Also
squid(8)
Synopsis
prometheus-squid-exporter [options]
