ragesaq / gamergraf Goto Github PK
View Code? Open in Web Editor NEWslick grafana, graphite and collectd based docker container for CPU/GPU performance logging and visualization
slick grafana, graphite and collectd based docker container for CPU/GPU performance logging and visualization
Hello,
First of all, I'd like to thank you a lot for your work, it works flawlessly on my computer after following your detailed installation guide. You sir definitely deserve more stars :).
Now, I'd like to suggest a small improvement for the CPU usage panel. By default, it has fixed number of 4 CPU threads, meaning that you have to edit the panel if you don't have that exact number on your machine as you say in your readme (which is my case).
To fix that, you could simply replace the 4 similar queries by a single one :
aliasSub(collectd.$Computer.curl_xml-afterburner.gauge-CPU[0-9]*_usage, '.*CPU(\d+)_usage', 'CPU #\1 usage')
With this single query, it now displays correctly with any number of threads as shown here :
gamergraf_grafana container 3000 port web page can‘t open it?
chmod: cannot access '/var/lib/grafana/grafana.db': No such file or directory
ERROR: Service 'grafana' failed to build: The command '/bin/sh -c chmod 0644 /var/lib/grafana/grafana.db' returned a non-zero code: 1
docker container should be up, checking status
please help me
solved. docker-compose has made trouble.
bringing up docker container
Creating network "gamergraf-master_default" with the default driver
Building graphite
Step 1/15 : FROM ragesaq/base
---> 9af88e9b17dc
Step 2/15 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> 83e567ed2a2c
Step 3/15 : RUN apt-get update -y && apt-get install -y --no-install-recommends python-minimal supervisor libffi6 libcairo2 collectd curl libcurl3 libcurl3-gnutls libxml2 libxml2-utils xml-core && apt-get clean && rm -rf /var/lib/apt/lists/
---> Running in 2dfb54c92e32
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://deb.debian.org jessie InRelease
Get:2 http://deb.debian.org jessie-updates InRelease [7340 B]
Get:3 http://deb.debian.org jessie Release.gpg [2420 B]
Get:4 http://deb.debian.org jessie Release [148 kB]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [825 kB]
Get:6 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Fetched 10.1 MB in 6s (1660 kB/s)
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: Service 'graphite' failed to build: The command '/bin/sh -c apt-get update -y && apt-get install -y --no-install-recommends python-minimal supervisor libffi6 libcairo2 collectd curl libcurl3 libcurl3-gnutls libxml2 libxml2-utils xml-core && apt-get clean && rm -rf /var/lib/apt/lists/' returned a non-zero code: 100
docker container should be up, checking status```
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.