PROMETH...EXPORTER(1)
π NAME π
prometheus-squid-exporter β it's the Prometheus exporter that spills all the Squid proxy server metrics it got from the cache manager API. no cap, that's literally the whole job. π¦
β¨ SYNOPSIS β¨
prometheus-squid-exporter [options]
πΈ DESCRIPTION πΈ
Okay bestie, listen. This little icon grabs Squid proxy server metrics by talking to the cache manager API, and then serves them right back up as Prometheus metrics. It's giving middle-man, but make it observability. π
Here's the tea on what it exposes:
- Cache hit counters
- Client HTTP request / byte counters
- Server HTTP / FTP requests
- Request error counters
Periodt. That's the menu. π
π OPTIONS π
-listen stringβ the address where the exporter parks itself and shows off (default":9301").-metrics-path stringβ the path under which metrics get exposed (default"/metrics").-squid-hostname stringβ which Squid server we're connecting to (default"localhost").-squid-port intβ the Squid cache manager port (default:3128).-squid-login stringβ optional username for Squid cache manager HTTP basic authentication.-squid-password stringβ optional password for Squid cache manager HTTP basic authentication. π keep it secret, keep it safe.-squid-use-proxy-headerβ use proxy headers when fetching metrics from Squid.-squid-pidfile stringβ optional path to the squid PID file, for bonus extra metrics. π-extractservicetimesβ extract service times metrics (defaulttrue).-label valueβ custom metrics to attach to metrics; hit-labelmultiple times, once for each additional label you want. the way that stacks up... obsessed. π-versionβ print version and exit. bye bestie π
π¦ ENVIRONMENT π¦
These environment variables can override the default parameters, iykyk:
SQUID_EXPORTER_LISTENSQUID_EXPORTER_METRICS_PATHSQUID_HOSTNAMESQUID_PORTSQUID_LOGINSQUID_PASSWORD
π SEE ALSO π
squid(8) β go say hi to the main character. π
π§ AUTHOR π§
Mohamad Arab <boynux@gmail.com>
and that's the whole page, bestie β version 1.11.0, from February 2024, brought to you by the prometheus-squid-exporter man page. slay, stay hydrated, and may your counters always increment. πβ¨π
π¦ where this page comes from
- debian trixie: prometheus-squid-exporter 1.12.0-1+b9 Β· MIT
- ubuntu questing: prometheus-squid-exporter 1.12.0-1
- ubuntu resolute: prometheus-squid-exporter 1.13.0-1 Β· MIT
- ubuntu stonking: prometheus-squid-exporter 1.13.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms