Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-352

Error importing dashboard JSON file in Grafana

    • False
    • None
    • False
    • NetObserv - Sprint 219, NetObserv - Sprint 220, NetObserv - Sprint 221, NetObserv - Sprint 222, NetObserv - Sprint 223, NetObserv - Sprint 224

      On importing the JSON file at config/samples/dashboards/Network Observability.json, a couple of errors are displayed in the UI and in the JavaScript console.  The import fails.

      This should be fixed in the 0.1.2 release and higher.

      Upon further investigation, this section under templating.List should be removed.

      File: config/samples/dashboards/Network Observability.json

            {
              "current": {
                "isNone": true,
                "selected": false,
                "text": "None",
                "value": ""
              },
              "datasource": {
                "type": "loki",
                "uid": "P982945308D3682D1"
              },
              "definition": " label_values({app=\"netobserv-flowcollector\"}, \"SrcNamespace\")",
              "hide": 0,
              "includeAll": false,
              "label": "(ignored)",
              "multi": false,
              "name": "SrcNamespace_doesnt_work",
              "options": [],
              "query": " label_values({app=\"netobserv-flowcollector\"}, \"SrcNamespace\")",
              "refresh": 1,
              "regex": "",
              "skipUrlSync": false,
              "sort": 0,
              "type": "query"
            }, 

      The line:

        "uid": "u0RKeXcnz", 

      should also be removed since uid's have to be unique.

       

              stlee@redhat.com Steven Lee
              stlee@redhat.com Steven Lee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: