Comments (18)
It's almost ready, please take it for a spin and let me know if everything works.
Thanks
from swarmprom.
Sure will test.
Can you share what you mean by almost :-p
from swarmprom.
Let's use a tag here:
cadvisor:
image: google/cadvisor:v0.27.1
from swarmprom.
I want to use Docker configs more and reduce the number of custom images I have to build, publish and maintain.
from swarmprom.
If I use a fix version for cAdvisor I have to update this repo very often and I don't have time for that. This is just a starter kit, it's up to the user to fork it and have fix versions on everything.
from swarmprom.
Make sense!
from swarmprom.
At the moment my challenge is that caddy is messing with my traefik container (reverse-proxy).
Port 80, 433 seems to be published from caddy. I don't understand why.
The effect of this makes traefik goes does.
from swarmprom.
If you inspect Caddy do you see the port 80 mapping?
from swarmprom.
Continuing to play with swarmprom along traefik service...
What I did is to add those ports to the caddy service. It's not elegant but at least it's not messing with traefik.
caddy:
image: stefanprodan/caddy
ports:
- "3000:3000"
- "9090:9090"
- "9093:9093"
- "9094:9094"
- "9080:80"
- "9443:443"
Gist here.
Now the issue is that it messed with the basic auth. The password I set is not working. But if I use admin as a password, it is working. I'm confused :-/
from swarmprom.
As expected, it's not showing up
If you inspect Caddy do you see the port 80 mapping?
root@CODA05:~/deploy-setup# docker inspect mon_caddy | grep 80
root@CODA05:~/deploy-setup# docker inspect mon_caddy | grep 9094
"TargetPort": 9094,
"PublishedPort": 9094,
"TargetPort": 9094,
"PublishedPort": 9094,
"TargetPort": 9094,
"PublishedPort": 9094,
root@CODA05:~/deploy-setup#
If you are curious, this is the stack I'm running for Traefik.
from swarmprom.
Wondering if I launching swarmprom before traefik could solve this. I'll let you know.
from swarmprom.
Are you running the Prom stack and the Traefik one on the same overlay network? If you want to scrape your services you can only add the Prometheus service to your app networks.
from swarmprom.
I’ve removed the ports 80/443 from the Caddy dockerfile. Can you please try the new image
from swarmprom.
Are you running the Prom stack and the Traefik one on the same overlay network?
Yes, and now that you mention it, it's not a good idea. Thanks for the input!
from swarmprom.
So far it's solid!
I would re-introduce the host dashboard, even if it contains many info from the swarm node dashboard.
I'll do a PR regarding the cpu and memory limits.
from swarmprom.
All services have memory reservations and limits. As for CPU I don't want to add those as it depends on what hardware are you running and how big is your setup.
from swarmprom.
LGTM
from swarmprom.
Thanks
from swarmprom.
Related Issues (20)
- How do I clean the history of prometheus? HOT 1
- Updating packages HOT 2
- Docker compose empty environment variables HOT 1
- Grafana Loki integration
- Running swarmprom behind traefik HOT 3
- Docker swarm node - no data showing HOT 1
- Grafana & Caddy service is instantly terminating HOT 3
- Docker Swarm Nodes dashboard empty HOT 1
- Node exporter not starting through docker service create HOT 1
- add blackbox_exporter
- node_meta only contains mapping for 1 host HOT 1
- Mail notification HOT 1
- Mountpoint set to "/", swap file returns NaN and upgrade of containers ? HOT 1
- worker node details are missing in docker swarm node dashboard HOT 1
- swarm_node.rules.yml: no such file or directory
- Replace Unsee with it's successor Karma
- Swarmprom for kubernetes
- node exporter sends whole nodes metrics
- Custom Grafana Dashboards on Startup
- About project future HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swarmprom.