Skip to content

Remove id from ceph-cluster.json;  #1127

Open
@Sanhajio

Description

@Sanhajio

I needed to remove "id" from ceph-mixin/dashboards/ceph-cluster.json

{
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "description": "Ceph Cluster overview.\r ",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "gnetId": 2842,
  "graphTooltip": 0,
  "id": 190,
  "iteration": 1649942733255,
  "links": [],
  "liveNow": false,
  "panels": [
  ]
}

Otherwise when I apply it using grizzly, it tries to apply the changes to the id in the db that is set in json rather than the one in the dashboard db.

DEBU[0000] Getting the remote value for Dashboard.ceph
DEBU[0000] Dashboard.ceph was not found, adding it...
FATA[0000] Non-200 response from Grafana while applying dashboard ceph: 404 Not Found {"message":"Dashboard not found","status":"not-found"}

Related Issue: grafana/grafana#31147

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogItems that will be tackled soon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions