chproxy icon indicating copy to clipboard operation
chproxy copied to clipboard

[QUESTION] may be a bug of proxied_response_duration_seconds metric

Open gogodjzhu opened this issue 11 months ago • 1 comments

Which feature your question relates to? I would like to inquire about the feature related to the metric proxied_response_duration_seconds, which is described as 'Response duration proxied from ClickHouse'. I believe this metric is intended to monitor the actual duration of each request from chproxy to ClickHouse. However, upon reviewing the code, I find it to be unconventional.

Question details Could you please provide clarification regarding the code found at https://github.com/ContentSquare/chproxy/blob/b4ef8e076138ed00e6329a76662e1a18f092ab37/proxy.go#L264?

Additional context/motivations I am seeking to understand if there might be a bug in the code or if there is a misunderstanding regarding the usage of the mentioned metric. Your insights would be greatly appreciated.

gogodjzhu avatar Mar 14 '24 12:03 gogodjzhu

we are not even getting this metric in prometheus, is this a known bug?

shivagupta-byte avatar Jun 21 '24 14:06 shivagupta-byte