Skip to content

Unable to access Prometheus type data source in Grafana #14

@robertmoni

Description

@robertmoni

Hello!

I'm facing an error accessing the metrics from your exporter.

Steps performed:

  1. Running the exporter with nvidia-docker
    nvidia-docker run -p 9445:9445 -ti mindprince/nvidia_gpu_prometheus_exporter:0.1

  2. Testing by accesing http://localhost:9445
    extractor

  • seems to work well
  1. Setup Grafana in Docker
    docker run -d --name grafana -p 3000:3000 grafana/grafana
  • works fine
  1. Adding data source in Grafana as Proetheus type
    grafana_docker
  • in the URL I provide the exporter's docker IP address (this worked with other prometheus docker based on this tutorial )
  • if I provide the host machine's IP then it provides Bad Gateway error
  1. Nvidia GPU dasboard
  1. I tried to explore the metrics but they never load
    grafana_explore

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions