I execute these parameters in both the Dynatrace API harness and in Python.
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.
Solved! Go to Solution.
I'm not familiar with Harness or any processing it may do on inputs.
You can try constructing it through the API Explorer first and make sure the structure is right independent of Python or other tools. You may want to share your Python snippet as well.
Lastly, if you're interested I recommend looking at our open-source Python API client which includes methods for querying data from the metrics API so you just need to provide the inputs instead of creating the queries yourself.