Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Default instructions do not work if you use macOS #13

Open
antejavor opened this issue Jul 17, 2024 · 0 comments
Open

[BUG] Default instructions do not work if you use macOS #13

antejavor opened this issue Jul 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@antejavor
Copy link

Describe the bug
If you use MacOS you need to change the host.docker.internal instead of localhost in the config/prometeus.yaml

This:

global:
  scrape_interval: 15s
  evaluation_interval: 15s

scrape_configs:
  - job_name: "memgraph-metrics"
    static_configs:
      - targets: ["localhost:9115"]

Should be replaced with this:

global:
  scrape_interval: 15s
  evaluation_interval: 15s

scrape_configs:
  - job_name: "memgraph-metrics"
    static_configs:
      - targets: ["host.docker.internal:9115"]

This should be implemented in the exporter code.

@antejavor antejavor added the bug Something isn't working label Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants