grafanagrafana-templating

How to validate Grafana's json file against 3.1 version


I'd like to share my dashboard to Grafana community, but at the upload page the json isn't validated as "Old dashboard JSON format". it isn't clear which part is wrong or missing. How I can upgrade it and what particular part can be missed there?

enter image description here

I have added __inputs part according to https://grafana.com/docs/grafana/v7.5/dashboards/export-import/ , but it is still impossible to upload the file.

P.S. Upload page is specific to my account and is: https://grafana.com/orgs/eljah/dashboards?pg=dashboards&plcmt=usr-upload

Grafana version according to helm chart is:

- name: grafana
  repository: https://grafana.github.io/helm-charts
  version: 6.1.17

UPD2.

Can't figure out SHare option on the Grafana ui: enter image description here


Solution

  • It is not clear how did you export dashboard. Please follow doc https://grafana.com/docs/grafana/latest/dashboards/export-import/#exporting-a-dashboard and check "Export for sharing externally". Then you can publish your dashboard on grafana.com portal without any modification of exported json file.