condash logo

Description

condash

Single-command ephemeral monitoring for Docker containers

Spins up a temporary Prometheus + Grafana stack, opens a pre-filtered dashboard in your browser, and tears everything down cleanly when you're done.

Features

  • Single command - no config files
  • Dashboard ready in ~10 seconds
  • Auto-filtered to your target container
  • Guaranteed cleanup on any exit
  • CPU, Memory, Network, Disk metrics

Installation

Homebrew (macOS):

brew install Gagrio/condash/condash

Linux/Manual: Download from releases

OR

sudo zypper addrepo https://download.opensuse.org/repositories/home:/geoagriogiannis/openSUSE_Tumbleweed/home:geoagriogiannis.repo
sudo zypper refresh
sudo zypper install condash

Usage

condash 

Perfect for quick debugging, demos, or when you need instant container visibility!

Goals

  • Single binary (Rust)
  • Grafana dashboard filtered to target container
  • Clean shutdown with guaranteed cleanup on any exit path
  • Works on openSUSE Leap 16, Linux x86_64/aarch64, and macOS Apple Silicon
  • Essential metrics: CPU, Memory, Network I/O, Disk I/O
  • CI/CD with automated releases for multiple platforms
  • Homebrew distribution for macOS

Resources

  • Rust
  • Docker
  • Leap 16
  • Grafana
  • Prometheus
  • cAdvisor

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 25

Activity

  • 16 days ago: geoagriogiannis started this project.
  • 16 days ago: geoagriogiannis originated this project.

  • Comments

    • geoagriogiannis
      16 days ago by geoagriogiannis | Reply

      code at: https://github.com/Gagrio/condash

    • geoagriogiannis
      9 days ago by geoagriogiannis | Reply

      .

    • geoagriogiannis
      9 days ago by geoagriogiannis | Reply

      Usage example:

      george@leaper:~> docker run -d --name nginx-test nginx
      3b730b4cfc066ca341360155726f7a69f711f6e616cc0efc9faa4bf2e8f74bc4
      george@leaper:~> condash nginx-test
      Validating container...
      Found container: nginx-test
      Checking port availability...
      Ports 3000, 9090, 8080 are available
      Starting monitoring stack...
      
      Waiting for Grafana...
      Opening dashboard: http://localhost:3000/d/condash?var-container=nginx-test
      Dashboard URL: http://localhost:3000/d/condash?var-container=nginx-test
      Press Ctrl+C to stop monitoring and clean up.
      ^C
      Shutting down...
      Done.
      

    Similar Projects

    This project is one of its kind!