[GH-ISSUE #75] Datasource prometheus not found #11

Open
opened 2026-03-03 16:27:41 +03:00 by kerem · 7 comments
Owner

Originally created by @xinmans on GitHub (Jan 3, 2025).
Original GitHub issue: https://github.com/natrontech/pbs-exporter/issues/75

Use the Grafana json config load the dashboard, report
"Datasource prometheus not found"

Change the
"uid": "prometheus"
To
"uid": "XXXX"

XXXX is my uid

Work fine.

Originally created by @xinmans on GitHub (Jan 3, 2025). Original GitHub issue: https://github.com/natrontech/pbs-exporter/issues/75 Use the Grafana json config load the dashboard, report "Datasource prometheus not found" Change the "uid": "prometheus" To "uid": "XXXX" XXXX is my uid Work fine.
Author
Owner

@LightningRhino commented on GitHub (Jul 7, 2025):

Where exactly did you change this? I also have the problem that the dashboard can't find the instance and/or datasource.

<!-- gh-comment-id:3045170318 --> @LightningRhino commented on GitHub (Jul 7, 2025): Where exactly did you change this? I also have the problem that the dashboard can't find the instance and/or datasource.
Author
Owner

@xinmans commented on GitHub (Jul 8, 2025):

Where exactly did you change this? I also have the problem that the dashboard can't find the instance and/or datasource.

Grafana json config

<!-- gh-comment-id:3049117533 --> @xinmans commented on GitHub (Jul 8, 2025): > Where exactly did you change this? I also have the problem that the dashboard can't find the instance and/or datasource. Grafana json config
Author
Owner

@LightningRhino commented on GitHub (Jul 9, 2025):

Where exactly did you change this? I also have the problem that the dashboard can't find the instance and/or datasource.

Grafana json config

Ok. There are 42 occurences of "uid": "prometheus". You changed all of them?
And sorry for the dumb question. But where do I get the UID to put in from?

<!-- gh-comment-id:3051265926 --> @LightningRhino commented on GitHub (Jul 9, 2025): > > Where exactly did you change this? I also have the problem that the dashboard can't find the instance and/or datasource. > > Grafana json config Ok. There are 42 occurences of "uid": "prometheus". You changed all of them? And sorry for the dumb question. But where do I get the UID to put in from?
Author
Owner

@xinmans commented on GitHub (Jul 9, 2025):

Where exactly did you change this? I also have the problem that the dashboard can't find the instance and/or datasource.

Grafana json config

Ok. There are 42 occurences of "uid": "prometheus". You changed all of them?
And sorry for the dumb question. But where do I get the UID to put in from?

Yes, change all

<!-- gh-comment-id:3051879130 --> @xinmans commented on GitHub (Jul 9, 2025): > > > Where exactly did you change this? I also have the problem that the dashboard can't find the instance and/or datasource. > > > > Grafana json config > > Ok. There are 42 occurences of "uid": "prometheus". You changed all of them? > And sorry for the dumb question. But where do I get the UID to put in from? Yes, change all
Author
Owner

@LightningRhino commented on GitHub (Jul 10, 2025):

But where do I get the UID to put in from?

<!-- gh-comment-id:3057884111 --> @LightningRhino commented on GitHub (Jul 10, 2025): But where do I get the UID to put in from?
Author
Owner

@xinmans commented on GitHub (Jul 12, 2025):

But where do I get the UID to put in from?

Grafana,goto Configuration > Data Sources。
find your Prometheus Data Sources ,click it

you can see the uid in the url,my uid is AWL6vCpnk
http://192.168.31.131:3001/connections/datasources/edit/AWL6vCpnk

<!-- gh-comment-id:3064637306 --> @xinmans commented on GitHub (Jul 12, 2025): > But where do I get the UID to put in from? Grafana,goto Configuration > Data Sources。 find your Prometheus Data Sources ,click it you can see the uid in the url,my uid is AWL6vCpnk http://192.168.31.131:3001/connections/datasources/edit/AWL6vCpnk
Author
Owner

@LightningRhino commented on GitHub (Jul 14, 2025):

Thank you. But unfortunately this is not working on my end.
I will try the exporter again sometime later in the future.

<!-- gh-comment-id:3067861883 --> @LightningRhino commented on GitHub (Jul 14, 2025): Thank you. But unfortunately this is not working on my end. I will try the exporter again sometime later in the future.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pbs-exporter#11
No description provided.