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.
Describe the bug
If you use MacOS you need to change the
host.docker.internalinstead oflocalhostin theconfig/prometeus.yamlThis:
Should be replaced with this:
This should be implemented in the exporter code.