I execute these parameters in both the Dynatrace API harness and in Python.
metricSelector=builtin%3Akubernetes.container.restarts%3Afilter%28and%28or%28in%28%22dt.entity.cloud_application_namespace%22%2CentitySelector%28%22type%28cloud_application_namespace%29%2CentityName.equals%28~%22XXX-XXXXX-1~%22%29%22%29%29%29%2Cor%28in%28%22dt.entity.cloud_application_instance%22%2CentitySelector%28%22type%28cloud_application_instance%29%2CentityName.contains%28~%22FOO~%22%29%22%29%29%29%29%29%3Alimit%2820%29&from=2023-10-25T00%3A00%3A00.000%2B04%3A00&to=2023-10-25T00%3A01%3A00.000%2B04%3A00
My issue is that it runs fine in the Dynatrace API harness, but NOT in Python, the &to and &from exclude all the data.
I have constructed hundreds of queries, and this is just weird!!!
Any advice would be appreciated.
Thanks,
Lou