I’m trying to extract SLA report metrics as given in this document https://docs.newrelic.com/docs/apm/reports/service-level-agreements/api-examples-sla-reports
But I see a difference with what’s being fetched from API to what’s shown in UI under SLA reports. I’m looking at daily SLA reports.
I’m using the following query params
As can be seen in the screenshots the metrics differ. The same is the case with other dates. I tried changing it the to date to 2020-07-18T23:00:00+00:00, 2020-07-18T23:59:59+00:00, 2020-07-19T00:00:00+00:00 but still the metrics differ by large extent. The closest I could get is for from=2020-07-20T00:00:00-07:00&to=2020-07-21T00:00:00-07:00 (i.e the MST timezone where I’m accessing the UI dashboard), still for some days the requests count shows a difference of about 50,000 which is huge.
I want to get the metrics in sync digit to digit. Can someone help me with this issue?