Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove id from ceph-cluster.json; #1127

Open
Sanhajio opened this issue Jan 16, 2024 · 0 comments
Open

Remove id from ceph-cluster.json; #1127

Sanhajio opened this issue Jan 16, 2024 · 0 comments

Comments

@Sanhajio
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant