Hello. If you pass the promql parameter when querying metrics from query-service, your Clickhouse data will appear to be retrieved via prometheus remote read.
Can you briefly explain the v3/query_range query flow using the github.com/SigNoz/prometheus code?
s
Srikanth Chekuri
05/08/2024, 9:43 AM
You answered the important part of the question yourself. The code uses the remote read to read the data and return the result.
u
진현리
05/08/2024, 11:36 PM
@Srikanth Chekuri Thank you. However, how do I test that promql queries clickhouse db via prometheus remote locally (localhost)?
진현리
05/09/2024, 1:33 AM
@Srikanth Chekuri And I tried to execute runPromQueries locally, but goroutine (go func()) could not be performed. Why?
진현리
05/09/2024, 1:33 AM
진현리
05/09/2024, 1:49 AM
When debugging locally, the prom Config File path is found, but prom Config is nil.
Could this be the reason?
s
Srikanth Chekuri
05/10/2024, 7:50 AM
Hello, I didn't understand what you are trying to do.
u
진현리
05/12/2024, 11:53 PM
@Srikanth Chekuri Hello. I want to run signoz locally(http//localhost8080) to debug how promql actually queries queryhouse queries.