Hi,
I have a use-case very similar to the one described here 0
In my scenario, I need to use a client_ip from the squid logs in concert with a prometheus metrics query within the same Grafana panel, which is currently impossible as described in the discussion 0 and with some more evidence of the issue here 1.
In order to, within the context of squid-exporter, eliminate the need for a mixed-datasource/dashboard-datasource query 2 entirely, I want to propose an exporter of a squid_client_info gauge quite similar in its properties to kube_pod_info 3 exported by kube-state-metrics 4.
This gauge must contain the HTTP source IP, but it may also be useful to add some other other useful HTTP information such as user-agent and/or response-code.
Your thoughts?
0: grafana/grafana#68516
1: grafana/grafana#63866 (comment)
2: https://grafana.com/docs/grafana/latest/datasources/#special-data-sources
3: https://github.com/kubernetes/kube-state-metrics/blob/main/docs/pod-metrics.md?plain=1#L6
4: https://github.com/kubernetes/kube-state-metrics
Hi,
I have a use-case very similar to the one described here 0
In my scenario, I need to use a
client_ipfrom the squid logs in concert with a prometheus metrics query within the same Grafana panel, which is currently impossible as described in the discussion 0 and with some more evidence of the issue here 1.In order to, within the context of
squid-exporter, eliminate the need for a mixed-datasource/dashboard-datasource query 2 entirely, I want to propose an exporter of asquid_client_infogauge quite similar in its properties tokube_pod_info3 exported bykube-state-metrics4.This gauge must contain the HTTP source IP, but it may also be useful to add some other other useful HTTP information such as user-agent and/or response-code.
Your thoughts?
0: grafana/grafana#68516
1: grafana/grafana#63866 (comment)
2: https://grafana.com/docs/grafana/latest/datasources/#special-data-sources
3: https://github.com/kubernetes/kube-state-metrics/blob/main/docs/pod-metrics.md?plain=1#L6
4: https://github.com/kubernetes/kube-state-metrics