Coder Social home page Coder Social logo

dw-monitor's Introduction

dw-monitor

Installation

Run the install script:

./scripts/install.sh

Optional extras

Aliases

Add aliases for frequently used commands to ~/.bash_aliases:

# Start cAdvisor, Prometheus, Grafana
alias amon="cd /path/to/dw-monitor && docker compose up -d"

# Stop cAdvisor, Prometheus, Grafana
alias smon="cd /path/to/dw-monitor && docker compose down"

Set /path/to/ to the location of the repository on your machine. If you prefer to run the containers in the foreground, then omit the -d option.

Uninstall

To delete all the data and Docker images, run:

./scripts/uninstall.sh

Usage

Start the cAdvisor, Prometheus and Grafana containers in detached mode:

docker compose up -d

If you prefer to run the containers in the foreground, then omit the -d option.

Dashboards

The following Docker containers provide dashboards. The open.sh script only opens a URL or application, so remember to start the relevant container(s) beforehand.

Service Command
cadvisor ./scripts/open.sh cadvisor
grafana ./scripts/open.sh grafana
prometheus ./scripts/open.sh prometheus

Networking

The following ports are exposed. The configuration is loaded from ./.env during startup.

Service Port Protocol
cadvisor 29050 HTTP
prometheus 29060 HTTP
grafana 29070 HTTP

Resources

License

Copyright (c) 2023 Hein Bekker. Licensed under the GNU Affero General Public License, version 3.

dw-monitor's People

Contributors

netbek avatar

Watchers

 avatar

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.