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
Describe the bug
Datasource Metadata queries have measurement duration of 15 days and do not consider the specified bulk time range
Test failed with 503 http code and kruize pod was restarted with parallel requests.
How to reproduce it
Invoke the bulk API with a time range difference of 1 hour in start & end time with prometheus datasource, metadata queries fetch 15 days instead of using the bulk time range
Expected behavior
Metadata queries should consider the bulk time range.
Relevant logs
2025-01-0904:02:20.375 INFO [pool-9-thread-1][DataSourceMetadataOperator.java(215)]-namespaceQuery: sum by (namespace) ( avg_over_time(kube_namespace_status_phase{namespace!='' }[15d]))
2025-01-0904:02:20.375 INFO [pool-9-thread-3][DataSourceMetadataOperator.java(301)]-filterBuilder: workload!=''
2025-01-0904:02:20.375 INFO [pool-9-thread-4][DataSourceMetadataOperator.java(215)]-namespaceQuery: sum by (namespace) ( avg_over_time(kube_namespace_status_phase{namespace!='' }[15d]))
2025-01-0904:02:20.375 INFO [pool-9-thread-3][DataSourceMetadataOperator.java(301)]-filterBuilder: container!=''
2025-01-0904:02:20.375 INFO [pool-9-thread-4][DataSourceMetadataOperator.java(216)]-workloadQuery: sum by (namespace, workload, workload_type) ( avg_over_time(namespace_workload_pod:kube_pod_owner:relabel{workload!='' }[15d]))
2025-01-0904:02:20.375 INFO [pool-9-thread-3][DataSourceMetadataOperator.java(215)]-namespaceQuery: sum by (namespace) ( avg_over_time(kube_namespace_status_phase{namespace!='' }[15d]))
Environment:
Kubernetes Cluster : openshift
The text was updated successfully, but these errors were encountered:
Describe the bug
Datasource Metadata queries have measurement duration of 15 days and do not consider the specified bulk time range
Test failed with 503 http code and kruize pod was restarted with parallel requests.
How to reproduce it
Invoke the bulk API with a time range difference of 1 hour in start & end time with prometheus datasource, metadata queries fetch 15 days instead of using the bulk time range
Expected behavior
Metadata queries should consider the bulk time range.
Relevant logs
Environment:
The text was updated successfully, but these errors were encountered: