What is Sampler?

Sampler is a tool that executes shell commands, visualizes the process, and alerts users.

It is configured with a simple YAML file and can monitor dynamic processes such as database changes, in-flight messages, and deployment scripts. Any metric obtainable via a shell command can be visualized with Sampler.

Features

  • Easy to use
  • Simple YAML files support
  • Supports Linux, macOS, and Windows
  • Comes with dozens of visualization
  • Features-rich components
  • Charts including: Line chart, Barchart, Sparkline, Gauge,
  • Textboxes
  • ASCII boxes
  • Triggers and Whistles
  • Interactive shell support
  • Support color themes
  • Can work with Databases as: MySQL, PostgreSQL, MongoDB, Neo4j
  • Works will with SSh, Kafka, JMX
  • Supports SSh

Platforms

  • Windows
  • Linux
  • macOS
  • Docker

Install

macOS

1- Homebrew

brew install sampler

2- Macports

sudo port install sampler

3- Direct Install

sudo curl -Lo /usr/local/bin/sampler https://github.com/sqshq/sampler/releases/download/v1.1.0/sampler-1.1.0-darwin-amd64
sudo chmod +x /usr/local/bin/sampler

Linux

sudo wget https://github.com/sqshq/sampler/releases/download/v1.1.0/sampler-1.1.0-linux-amd64 -O /usr/local/bin/sampler
sudo chmod +x /usr/local/bin/sampler

Fedora and Arch Linux distro users can install them directly from the repos using DNF or YAY.

Windows (experimental)

Windows users can install Sampler either by downloading and running the exe file or install it using Chocolatey.

License

GPL-3.0 License

Resources & Downloads

GitHub - sqshq/sampler: Tool for shell commands execution, visualization and alerting. Configured with a simple YAML file.
Tool for shell commands execution, visualization and alerting. Configured with a simple YAML file. - sqshq/sampler