Hello. If you pass the promql parameter when query...
# support
u
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
You answered the important part of the question yourself. The code uses the remote read to read the data and return the result.
u
@Srikanth Chekuri Thank you. However, how do I test that promql queries clickhouse db via prometheus remote locally (localhost)?
@Srikanth Chekuri And I tried to execute runPromQueries locally, but goroutine (go func()) could not be performed. Why?
When debugging locally, the prom Config File path is found, but prom Config is nil. Could this be the reason?
s
Hello, I didn't understand what you are trying to do.
u
@Srikanth Chekuri Hello. I want to run signoz locally(http//localhost8080) to debug how promql actually queries queryhouse queries.