You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar feature requirement.
DeepFlow Component
Server
What you expected to happen
2024-11-01 10:24:54.549 [ERRO] [prometheus] queryable_offload.go:207 function: Percentile(toUnixTimestamp(time), 1) not support
2024-11-01 10:24:54.549 [ERRO] [prometheus] queryable_offload.go:208 offload querier sql: SELECT time(time, 20, 1,'', 16) AS timestamp,tag,Percentile(toUnixTimestamp(time),1) as _last_timestamp,Percentile(toUnixTimestamp(time),0) as _first_timestamp,Percentile(value, 0) as _first_value,Max(value) as value FROM process_runtime_jvm_gc_duration_sum WHERE (time >= 1730405616 AND time <= 1730427516) AND tag.job = 'java' AND tag.instance REGEXP '^11.244.222.18:9567$' GROUP BY tag,timestamp ORDER BY timestamp desc LIMIT 1000000
Look at the code where the problem is with the parseSelectAlias method in clickhouse.go,
This situation may need to be handled according to the BinaryFunction.
查看代码发现问题出在clickhouse.go的 parseSelectAlias方法,可能需要按照BinaryFunction进行处理
How to reproduce
When you use Prometheus Range to query APIs, set operator-offloading=true
Use the increase function in promql, for example: increase(process_runtime_jvm_gc_duration_sum{job="java",instance=~"^11.244.222.18:9567$"}[5m])
Search before asking
DeepFlow Component
Server
What you expected to happen
2024-11-01 10:24:54.549 [ERRO] [prometheus] queryable_offload.go:207 function: Percentile(toUnixTimestamp(
time
), 1) not support2024-11-01 10:24:54.549 [ERRO] [prometheus] queryable_offload.go:208 offload querier sql: SELECT time(time, 20, 1,'', 16) AS timestamp,
tag
,Percentile(toUnixTimestamp(time),1) as _last_timestamp,Percentile(toUnixTimestamp(time),0) as _first_timestamp,Percentile(value, 0) as _first_value,Max(value) as value FROMprocess_runtime_jvm_gc_duration_sum
WHERE (time >= 1730405616 AND time <= 1730427516) ANDtag.job
= 'java' ANDtag.instance
REGEXP '^11.244.222.18:9567$' GROUP BYtag
,timestamp ORDER BY timestamp desc LIMIT 1000000Look at the code where the problem is with the parseSelectAlias method in clickhouse.go,
This situation may need to be handled according to the BinaryFunction.
查看代码发现问题出在clickhouse.go的 parseSelectAlias方法,可能需要按照BinaryFunction进行处理
How to reproduce
When you use Prometheus Range to query APIs, set operator-offloading=true
Use the increase function in promql, for example: increase(process_runtime_jvm_gc_duration_sum{job="java",instance=~"^11.244.222.18:9567$"}[5m])
DeepFlow version
6.6.1.12
DeepFlow agent list
No response
Kubernetes CNI
No response
Operation-System/Kernel version
Ubuntu 22.04
5.15.0-105-generic
Anything else
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: