Grafana Synthetic Monitoring Plugin return `Something went wrong`

Hello,

I’m trying to enable the synthetic-monitoring plugin. But i keep getting an error Something went wrong.

There is nothing in the logs (with debug enabled) which produces anything useful.
The datasources are configured, the plugin provisioning file is loaded according to the logs.
Also, the datasources work, as i can retrieve all the metrics and logs.

How can i determine any better what the issue is?

I had the same issue where the datasources where working, but the app would not start. It seemed to be an issues with the YAML-file. I stripped everything from the file I didn’t need and that worked for me.

Example:

apiVersion: 1

apps:
  - type: grafana-synthetic-monitoring-app
    disabled: false

    jsonData:
      apiHost: https://synthetic-monitoring-api-eu-west-2.grafana.net
      stackId: 0000000

      logs:
        grafanaName: cloud-loki
        hostedId: 0000000

      metrics:
        grafanaName: cloud-prometheus
        hostedId: 0000000

    secureJsonData:
      publisherToken: REDACTED

Please make sure to update the values (names, ids, url and token) accordingly. I will do some debugging to figure out what caused this unhelpful error.