docker-prometheus | minimal Prometheus Server , Node Exporter | Continuous Deployment library
kandi X-RAY | docker-prometheus Summary
kandi X-RAY | docker-prometheus Summary
A minimal Prometheus Server, Node Exporter, BlackBox Exporter and Grafana implementation with `docker-compose`.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-prometheus
docker-prometheus Key Features
docker-prometheus Examples and Code Snippets
Community Discussions
Trending Discussions on docker-prometheus
QUESTION
I would like to have Prometheus and Grafana running on my developer machine using docker-images / docker-for-windows.
I have system-under-development, ASP.Net core, running on localhost:5001 and metrics are showing just fine on https://localhost:5001/metrics.
Docker-compose.yml and prometheus.yml listed below.
- If I include network_mode: host in docker-compose.yml, I can't access Prometheus on my physical machine via localhost:9090
- If I exclude network_mode and instead use ports: , I can access Prometheus on my physical machine via localhost:9090, but checking http://localhost:9090/targets, it shows https://localhost:5001/metrics as being down.
What am I doing wrong? Any comments welcome!
docker-compose.yml: ...ANSWER
Answered 2021-Mar-22 at 11:51Do not use host network mode on Windows, it is only supported on Linux. What you need is to change target address:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-prometheus
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page