I'm trying to count the number of requests which the average response time in their time slot was less than 1 second with the below metricSelector (I'm using Metrics API V2):
but receiving this error in response:
code:400 message:"Failed to parse selector: Illegal filter predicate "series" with 3 arguments."
is there something I'm doing wrong here?
This query is working for me - just to confirm, you are using /api/v2/metrics/query endpoint? Are you able to provide a screenshot of the request and error response you are receiving?
Hmm, I try that exact query in the API Explorer in Dynatrace, as well as in Postman, and it works. Are you able to try a different API tool to make the request - to try and narrow down where the issue lies?
I am also testing on Managed version 1.220. Could you provide what the exact request URL was in the Data Explorer so I can check against mine?
Here it is:
and the cluster version is 1.218.113
Your query is identical to mine, that is definitely strange. What version is your Dynatrace Managed cluster? I think that this might need a Dynatrace Support ticket to investigate further: https://support.dynatrace.com