/squid-exporter

Squid Prometheus Exporter

Primary LanguageGoMIT LicenseMIT

Build Status Go Report Card

Squid Prometheus exporter

Exports squid metrics in Prometheus format

Usage:

Simple usage:

squid-exporter -squid-hostname "localhost" -squid-port 3128

Configure Prometheus to scrape metrics from localhost:9301/metrics

- job_name: squid
  # squid-exporter is installed, grab stats about the local
  # squid instance.
  target_groups:
    - targets: ['localhost:9301']

To get all the parameteres

squid-exprter -help

Features:

  • Expose Squid counters
    • Client HTTP
    • Server HTTP
    • Server ALL
    • Server FTP
    • Server Other
    • ICP
    • CD
    • Swap
    • Page Faults
    • Others
  • Histograms
  • Other metrics
  • Squid Authentication

Contribution:

Pull request and issues are very welcome.

Copyright:

MIT License