Re: [squid-users] New line in logformat

2021-09-05 Thread Amos Jeffries
On 5/09/21 9:39 pm, Moti Berger wrote: Is there a performance hit by using a logformat per metric? Let's say I need 5-10 metrics. There will be some of course. But I expect it to be trivial compared to the rest of the transaction processing. Amos ___

Re: [squid-users] New line in logformat

2021-09-05 Thread Moti Berger
Is there a performance hit by using a logformat per metric? Let's say I need 5-10 metrics. On Thu, Sep 2, 2021 at 8:15 PM His Shadow wrote: > I think it would be easier to just write a logfile daemon, than > patching squid. The protocol is very easy. > http://www.squid-cache.org/Doc/config/logfi

Re: [squid-users] New line in logformat

2021-09-02 Thread His Shadow
I think it would be easier to just write a logfile daemon, than patching squid. The protocol is very easy. http://www.squid-cache.org/Doc/config/logfile_daemon/ You'd just ignore everything but lines starting with L. чт, 2 сент. 2021 г. в 16:49, Amos Jeffries : > > On 3/09/21 12:07 am, Moti Berger

Re: [squid-users] New line in logformat

2021-09-02 Thread Amos Jeffries
On 3/09/21 12:07 am, Moti Berger wrote: Hi I want to send metrics to statsd, so I tried doing the following: logformat metrics_statsd my_service_latency:%{my_service}adapt::sum_trs|ms\nicap_total:%icap::tt|ms access_log tcp://1.2.3.4:8125 logformat=metrics

[squid-users] New line in logformat

2021-09-02 Thread Moti Berger
Hi I want to send metrics to statsd, so I tried doing the following: > logformat metrics_statsd > my_service_latency:%{my_service}adapt::sum_trs|ms\nicap_total:%icap::tt|ms > access_log tcp://1.2.3.4:8125 logformat=metrics_statsd In statsd daemon I see only the first (it supports multiple metri