newrelic-cli
newrelic-cli copied to clipboard
Unmarshalling error when using NRQL with FACET clause
Description
nrql query
returns an unmarshalling error when used with FACET
clause.
Current behavior
newrelic nrql query -q 'SELECT latest(k8s.pod.memory.usage) FROM Metric FACET `k8s.pod.name` SINCE 3 MINUTES AGO TIMESERIES 1 MINUTE'
cannot unmarshal array into Go struct field NRDBResultContainer.data.Actor.Account.NRQL.otherResult of type nrdb.NRDBResult
Expected behavior
I expect the query to return data like it does in the browser.