Hi I am trying to construct a query for Prometheus to get maximum and minimum memory usage for particular range of time. But I am not sure if I am doing it right.
For the max memory usage I am using:
max(max_over_time(container_memory_usage_bytes{image!="",pod_name=~"containername-XXXX-.*"}[7d])) by (pod_name, image)
but whatever I put as a time range it gives me data for the last hour.
Also I am not sure how can I query for max and min memory on the same graph for list of containers where the XXXX is a value,