<p>I use grafana helm chart and configmap for importing dashboards, but when I try to load the official Istio dashboard, I get:</p>
<pre><code>logger=provisioning.dashboard type=file name=sidecarProvider t=2023-04-13T12:28:39.524808833Z level=error msg=&quot;failed to load dashboard from &quot; file=/tmp/dashboards/Istio/istio-performance-dashboard.json error=&quot;Dashboard title cannot be empty&quot;
</code></pre>
<p>How can I fix it? I can fix the <code>title</code> field and save the work version in the Helm chart, but it's bad because I'll need to change the original dashboards every time.</p>

batazor
<p>I see you are trying to import <code>Istio Performance Dashboard</code> using the grafana helm chart (as you mentioned), which would be <a href="https://github.com/grafana/helm-charts/tree/main/charts/grafana" rel="nofollow noreferrer">this</a></p>
<p>As an alternative to importing a dashboard(s) in grafana via the json file &amp; configmap, you could also import the dashboard using the dashboard id from <code>grafana.com</code>. The configuration needs to go into the values.yaml when using that helm chart.</p>
<p>Specifically <a href="https://github.com/grafana/helm-charts/blob/grafana-6.52.9/charts/grafana/values.yaml#L636" rel="nofollow noreferrer">here</a> to enable/configure dashboardProviders and <a href="https://github.com/grafana/helm-charts/blob/grafana-6.52.9/charts/grafana/values.yaml#L655" rel="nofollow noreferrer">here</a> to provision the dashboard using dashboard id from the grafana website.</p>
<p>In your case, the values should look like this:</p>
<pre><code>dashboardProviders:
  dashboardproviders.yaml:
   apiVersion: 1
   providers:
   - name: 'default'
     orgId: 1
     folder: 'default'
     type: file
     disableDeletion: true
     editable: true
     options:
       path: /var/lib/grafana/dashboards/standard

dashboards:
  default:
    Istio Perf:
      gnetId: 11829
      revision: 162
      datasource: yourdatasource
</code></pre>
<p>Shows up in grafana:</p>
<p><a href="https://i.stack.imgur.com/Q02J5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Q02J5.png" alt="enter image description here" /></a></p>
<p>No metrics ofcourse as I don't have a data source.</p>
<p>Hope it helps.</p>
