Can you show what exactly is different in the output between the two cases,
that you don't expect to be different?
On Tuesday 12 November 2024 at 17:13:26 UTC Kishore Kumar wrote:
> 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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/prometheus-users/611932d0-eb25-44c8-a822-4a7b4d2ab924n%40googlegroups.com.