Filter by labels

Hi

How can I filter by labels tried adding

sum(container_memory_working_set_bytes{namespace=‘xxx-sandbox’,label=‘app=nginx2’}) BY (pod, namespace)/1024/1024

But got no data.

Please help!

Well given such little information it’s hard to say for sure, though the first thing i notice is that the quotes appear incorrect. They should be “ double quotes.