boynux / squid-exporter

Squid Prometheus Exporter

Home Page:https://www.boynux.com/squid-exporter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make config simpler

boynux opened this issue · comments

Usually you'd have a single flag for host:port, the code is just joining them together again so you could make it a little simpler by doing so.

Merge --listen-port and --listen-address parameters to one.

Suggestion from Prometheus community, more info: prometheus/docs#1154