Skip to content

Grafana and Homer #525

Answered by lmangani
chabeaumont asked this question in Q&A
Feb 8, 2022 · 4 comments · 5 replies
Discussion options

You must be logged in to vote

Hello @chabeaumont

The configuration seems incorrect. The /metrics endpoint to be scraped by Prometheus is served by heplify-server using the PROMADDR settings, ie:

      - "HEPLIFYSERVER_PROMADDR=0.0.0.0:9096"

So the correct scraper config would look like this:

  - job_name: 'heplify-server'
    scrape_interval: 5s
    static_configs:
      - targets: ['heplify-server:9096']

I'm not sure what 10.0.0.70 might be in your setup, but the port doesn't make sense.
A full example is available here. Please confirm if this helps.

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@chabeaumont
Comment options

Answer selected by lmangani
Comment options

You must be logged in to vote
2 replies
@chabeaumont
Comment options

@chabeaumont
Comment options

Comment options

You must be logged in to vote
1 reply
@chabeaumont
Comment options

Comment options

You must be logged in to vote
1 reply
@chabeaumont
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants