[Feature] Аdd a metric for clickhouse proxy responses
NatSau02 opened this issue · 2 comments
Is your feature request related to a problem? Please describe.
When sending concurrent queries with a syntax error, the response "500, concurrent query failed" is returned, although the clickhouse responds to such errors with 400 (screenshot). I would like to know information about the real answers of the clickhouse proxy
Describe the solution you'd like
I added a metric for clickhouse responses
Describe alternatives you've considered
here #404 it was described how to solve this problem by changing the final response codes. I suggest another simpler solution, which is to add a metric. These are two different solutions to the same problem, after solving any of them, the second one can be automatically closed
After reviewing both solutions, this one looks indeed safer. It's better to focus on this one and remove the previous one
I'm closing the issue since I merged the PR, we should release a new version within the next 2 weeks