unpoller: promunifi: (fix typo) Original title: Prometheus getting a Connection Refused when Scraping

Hi guys,

heres my .conf segment

[prometheus] disable = false http_listen = "0.0.0.0:9130" report_errors = false

I am using kubernetes to scrape the pod… autodiscovery works fine

annotations: prometheus.io/path: /metrics prometheus.io/port: "9130" prometheus.io/scrape: "true"

But i am getting a connection refused from the pod any ideas? image

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 20 (9 by maintainers)

Most upvoted comments

@davidnewhall Issue is solved now… the change was… ive added an additional site… now somebody please explain this to me… i did also some testing added a sidecar container and could access the metrics…

@davidnewhall you’ve been helpful. Pinpointing the string typo in the code is already good when isolating this issue. We will see maybe someone uses kubernetes. Once everything is running i would be happy to share my yaml config as templates to the project…

@davidnewhall

  1. 3 Sites…
  2. i am currently using InfluxDB aswell…
  3. Well i wanted to eventually ditch the influx…
  4. Influx works fine…