I am trying to run DQL in notebook to fetch metric & timeseries data but getting the below error,
1. Command - timeseries avg(dt.host.cpu.usage)
Error - Unknown command: timeseries!
2. Command -
| filter startsWith(metric.key, "dt.process.jvm.threads.count")
Error - Unknown record type: metrics.
Please help me on this.
Unfortunately, none of the two commands is currently available for you. But the team is currently in the progress of deploying it. You can expect the command to be available within the next couple of days.
This turned out to be a permissions issue. The required permission policy is called "Storage Default Monitoring Read". This should be added to the desired user groups in the account management page.
To do this, follow these steps:
The image below provides a visual representation of this process.
I hope this helps!