Hello Prometheus Community,
          I hope the person reading this has an awesome day, and thanks for 
helping out.

I have a thanos query API endpoint, which if I query for a smaller start 
and end timestamp, it is giving a different value compared to the same 
query which has a bigger difference between start and end timestamps. I 
request to know what might be causing this unexpected behaviour? 

1) *Query with 6 second difference between start and end timestamp: *
*<endpoint>/thanosquery/api/v1/query_range?query=sum(increase(envoy_cluster_upstream_rq*
*{*
*kubernetes_namespace="sample_namespacce",*
*kubernetes_pod_name="sample_pod_name",*
*envoy_cluster_name="sample_cluster_name",*
*}[3m])/3) *
*by (kubernetes_namespace,envoy_cluster_name)*
*&start=1731304828&end=1731304833&step=1s*

2) *Query with 2 minutes difference between start and end timestamp: *
*<endpoint>/thanosquery/api/v1/query_range?query=sum(increase(envoy_cluster_upstream_rq*
*{*
*kubernetes_namespace="sample_namespacce",*
*kubernetes_pod_name="sample_pod_name",*
*envoy_cluster_name="sample_cluster_name",*
*}[3m])/3) *
*by (kubernetes_namespace,envoy_cluster_name)*
*&start=1731304800&end=1731304860&step=1s*

Thank you for your time, 
Kishore. 

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/prometheus-users/c6daff00-4fd7-4c2a-acc4-2370e67f01c6n%40googlegroups.com.

Reply via email to