tellet / el-q-test Goto Github PK
View Code? Open in Web Editor NEWExample of node-exporter + cadvisor + prometheus + grafana
License: Apache License 2.0
Example of node-exporter + cadvisor + prometheus + grafana
License: Apache License 2.0
When I try to run docker-compose with provided instructions, 3 out of 5 containers refuse to start during the file permission problems:
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
ts=2024-03-21T15:23:38.513Z caller=query_logger.go:93 level=error component=activeQueryTracker msg="Error opening query log file" file=/prometheus/queries.active err="open /prometheus/queries.active: permission denied"
panic: Unable to create mmap-ed active query log
goroutine 1 [running]:
github.com/prometheus/prometheus/promql.NewActiveQueryTracker({0x7ffcee7eef02, 0xb}, 0x14, {0x42ae200, 0xc000548460})
/app/promql/query_logger.go:123 +0x425
main.main()
/app/cmd/prometheus/main.go:748 +0x82fe
F0321 15:22:18.592560 1 cadvisor.go:146] Failed to create a Container Manager: mountpoint for cpu not found
F0321 15:22:44.476625 1 cadvisor.go:146] Failed to create a Container Manager: mountpoint for cpu not found
F0321 15:23:35.993874 1 cadvisor.go:146] Failed to create a Container Manager: mountpoint for cpu not found
I was able to temporary fix the first two problems by commenting out
./grafana/grafana_storage:/var/lib/grafana
./prometheus/prometheus_data:/prometheus
I assume it is only needed for the persistence between restarts.
But I don't yet know how to fix cadvisor
problem
I noticed, that default poll intervals are quite large. For example, the initialization of qdrant db from snapshot on my machine takes 1 minute, while the gap between CPU measurement is 2.5 minutes.
for memory and disk metrics it is a little bit better, but still far away from preferred. It would be interesting if we could see different loading stages on the graphs, and for this purpose we might want to collect metrics as wast as possible.
I tried to change timings in prometheus.yaml
but it didn't result in any changes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.