utkuozdemir/nvidia_gpu_exporter

Prometheus setup problems

catid opened this issue · 2 comments

catid commented

image

Here's what I'm seeing while trying to configure the Data Source:

Error reading Prometheus: bad_response: readObjectStart: expect { or n, but found <, error found in #1 byte of ...|<html lang=|..., bigger context ...|<html lang="en"> <head><title>Nvidia GPU Exporter</|...

I think I followed the install guide correctly but still something is not set up properly somewhere...

Oh I see, there's a misunderstanding. You need to set up a prometheus which is configured to scrape this exporter's endpoint, and Grafana should point to that Prometheus as the data source. Needs to be Grafana->Prometheus->Exporter. This won't work: Grafana->Exporter.

catid commented

Ah okay thanks!