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

Prometheus dashboards are tied to "Local" datasource #206

Open
dillaman opened this issue Jul 12, 2018 · 4 comments
Open

Prometheus dashboards are tied to "Local" datasource #206

dillaman opened this issue Jul 12, 2018 · 4 comments
Assignees

Comments

@dillaman
Copy link

The ansible installer configures a "prometheus" datasource, so lots of dashboards fail to load due to the missing data. These should either just use the "default" datasource or be switched to "prometheus".

[mgr-prometheus]$ git grep Local
alert-status.json:      "name": "Local",
ceph-at-a-glance.json:      "name": "Local",
ceph-backend-storage.json:      "name": "Local",
ceph-cluster.json:      "name": "Local",
ceph-cluster.json:          "datasource": "Local",
ceph-health.json:      "name": "Local",
ceph-osd-information.json:          "datasource": "Local",
ceph-osd-information.json:          "datasource": "Local",
ceph-osd-information.json:          "datasource": "Local",
ceph-osd-information.json:          "datasource": "Local",
ceph-osd-information.json:          "datasource": "Local",
ceph-osd-information.json:          "datasource": "Local",
ceph-osd-information.json:          "datasource": "Local",
ceph-osd-information.json:          "datasource": "Local",
ceph-osd-information.json:          "datasource": "Local",
ceph-osd-information.json:          "datasource": "Local",
ceph-osd-information.json:          "datasource": "Local",
ceph-osd-information.json:          "datasource": "Local",
ceph-pools.json:      "name": "Local",
ceph-rgw-workload.json:      "name": "Local",
iops-by-server.json:      "name": "Local",
iscsi-client-details.json:      "name": "Local",
iscsi-overview.json:      "name": "Local",
iscsi-overview.json:          "datasource": "Local",
iscsi-overview.json:          "datasource": "Local",
iscsi-overview.json:          "datasource": "Local",
iscsi-overview.json:          "datasource": "Local",
iscsi-overview.json:          "datasource": "Local",
latency-by-server.json:      "name": "Local",
mds-performance.json:      "name": "Local",
network-usage-by-node.json:      "name": "Local",
network-usage-by-node.json:          "datasource": "Local",
network-usage-by-node.json:          "datasource": "Local",
osd-node-detail.json:      "name": "Local",

@zmc
Copy link
Member

zmc commented Aug 8, 2018

@dillaman, we use "Local" as our datasource name: https://github.com/ceph/cephmetrics/blob/master/ansible/roles/ceph-grafana/defaults/main.yml#L16

Did you by chance override it?

@dillaman
Copy link
Author

dillaman commented Aug 9, 2018

Negative ghost rider — half the charts are at default and the other are Local. Consistency is important. The ansible scripts set up Prometheus as “prometheus”.

@zmc
Copy link
Member

zmc commented Aug 9, 2018

@dillaman can I see the inventory and any group_vars files you're using?

@dillaman
Copy link
Author

dillaman commented Aug 9, 2018

@zmc it’s been a month since I wrote this bug. I haven’t had his environment for weeks.

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

2 participants