Skip to main content
The following example shows how to collect configuration data that is not exposed through an API from a SaaS service (Grafana) configuration page.
const result = await anchorClient.agent.task(
  'Collect the node names and their CPU average %, return in JSON array',
  {
    taskOptions: {
      url: 'https://play.grafana.org/a/grafana-k8s-app/navigation/nodes',
    }
  }
)
console.log(result);