Comments (8)
In my case it was RAM amount problem. I use "local" (VirtualBox + vagrant) cluster for testing purposes, prometheus requirements in docker-compose.yml was too much for my VMs
limits:
memory: 2048M
reservations:
memory: 1024M
changed to
limits:
memory: 128M
reservations:
memory: 64M
and dashboards appear.
In normal cirsumstances (enough RAM) this cause won't appear.
from swarmprom.
Also getting
Annotation Query Failed
{"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"api/annotations","params":{"from":1512751416116,"to":1512752316116,"dashboardId":2},"retry":0,"headers":{"X-Grafana-Org-Id":1,"Accept":"application/json, text/plain, /"}},"statusText":"","xhrStatus":"error"}
from swarmprom.
Could be related to #9
from swarmprom.
Got similar error using default configuration.
- Trying
http://swarm-ip:9090/
results to502 Bad Gateway
http://swarm-ip:3000
is ok, graphana GUI is showncurl 127.0.0.1:9323/metrics
fromswarm-ip
node works fine
Seems there is some problem related to prometheus configuration, will continue investigation
PS: Anyhow, nice setup for "startup", thank you very much!
from swarmprom.
Hi @maxim-ge,
Am also facing the same issue, did you find any fix for this?
from swarmprom.
Hi, it was space issue in the swarm host. But it is giving incorrect matrix, one instance: node number is 3, it shows different number each time i do refresh.
from swarmprom.
Fixed by 52ffa41
from swarmprom.
Hello,
I'm new to monitoring tools and prometheus, I'd be grateful if you can explain me this querry command, what exactly does it do ! Does it collect cpu from all manager and worker nodes together or wha!t:
Thank you in advance
query=sum(irate(node_cpu%7Bmode%3D%22idle%22%7D%5B30s%5D)%20*%20on(instance)%20group_left(node_name)%20node_meta%7Bnode_id%3D~%22. %2B%22%7D)%20*%20100%20%2F%20count_scalar(node_cpu%7Bmode%3D%22user%22%7D%20*%20on(instance)%20group_left(node_name)%20node_meta%7Bnode_id%3D~%22.%2B%22%7D)%
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.