Code Monkey home page Code Monkey logo

dappnodepackage-exporter's Introduction

DAppNode Package Exporter

DAppNode Available

Package responsible of get metrics from the system to be able to check its healthy, based on the tools cadvisor and node_exporter.


avatar


Note

This is early stage software and it's just a PoC

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details

dappnodepackage-exporter's People

Contributors

3alpha avatar alexpeterson91 avatar dapplion avatar dsimog01 avatar eduadiez avatar marketen avatar mgarciate avatar pablomendezroyo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dappnodepackage-exporter's Issues

No usage metrics for Docker resource usage

A few users have reported already a problem with the docker grafana dashboard, saying that it is not displaying data. More info in this forum post,

When trying to visualize the catvisor at URL: http://dappnode-exporter.dappnode:8080/containers/, it throws the following message:

failed to get container "/" with error: unable to find data in memory cache

Error logs:

W0126 16:32:25.252736       8 container.go:526] Failed to update stats for container "/system.slice/systemd-udevd.service": failed to parse memory.usage_in_bytes - open /sys/fs/cgroup/system.slice/systemd-udevd.service/memory.usage_in_bytes: no such file or directory, continuing to push stats
W0126 16:32:26.760486       8 container.go:526] Failed to update stats for container "/init.scope": failed to parse memory.usage_in_bytes - open /sys/fs/cgroup/init.scope/memory.usage_in_bytes: no such file or directory, continuing to push stats
W0126 16:32:27.575993       8 container.go:526] Failed to update stats for container "/system.slice/containerd.service": failed to parse memory.usage_in_bytes - open /sys/fs/cgroup/system.slice/containerd.service/memory.usage_in_bytes: no such file or directory, continuing to push stats
W0126 16:32:27.762294       8 container.go:526] Failed to update stats for container "/system.slice/docker-d554732b6d34836c7af1cb17bc9b2f1410d371dfef390839235f616551697ad0.scope": failed to parse memory.usage_in_bytes - open /sys/fs/cgroup/system.slice/docker-d554732b6d34836c7af1cb17bc9b2f1410d371dfef390839235f616551697ad0.scope/memory.usage_in_bytes: no such file or directory, continuing to push stats
W0126 16:32:27.769149       8 container.go:526] Failed to update stats for container "/user.slice/user-1000.slice": failed to parse memory.usage_in_bytes - open /sys/fs/cgroup/user.slice/user-1000.slice/memory.usage_in_bytes: no such file or directory, continuing to push stats

After investigating this problem there might be two possible problem sources, both of them related to docker:

  1. Docker version: it works on less than 19. Not working on 20.10.2

  2. Users with dappnode instlled from an older version (core 0.2.39 or so): docker was installed in a completely different way, so the following path /usr/src/dappnode/bin/docker exists and this may be breaking how the catvisor read the logs from docker containers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.