About Sampler
Sampler is a command-line tool for executing shell commands, visualizing their output and raising alerts, all configured with a simple YAML file. The idea is that anything you can measure with a shell command can be shown as a live chart in the terminal, whether that is database changes, message queue depth or the completion of a deployment script. It is aimed at developers and operators who want quick insight without standing up a monitoring stack.
Using it is a three-step process: define the commands in a YAML configuration, run sampler with that file, and adjust the size and position of components on the screen. The README says it is not an alternative to full-scale monitoring systems, but a development tool for cases where setting up Prometheus and Grafana would be overkill. There are no servers, databases or deployments, and it can run locally while still collecting telemetry from multiple remote machines.
It can be installed with Homebrew, MacPorts, Linux package managers, Chocolatey (Windows support is experimental), or Docker. A system sound library is needed on Linux for audible alert tones. Sampler is written in Go and licensed under GPL-3.0.
Key features
- Runs shell commands at set intervals
- Live terminal charts of command output
- Alerts including sound triggers
- YAML-based configuration
- No server or database required
- Gathers metrics from multiple machines
Good fit for
- Watching a database or queue from the terminal
- Getting notified when a deployment script finishes
Sampler: questions and answers
- What is Sampler used for?
- Sampler is a terminal tool that runs shell commands on an interval and visualizes the output as live charts with alerts, configured through a YAML file. It is a good fit for watching a database or queue from the terminal and getting notified when a deployment script finishes.
- Is Sampler open source?
- Yes. Sampler is open source under the GPL-3.0 licence. Its source code is on GitHub at sqshq/sampler and is written mainly in Go.
- Is Sampler free?
- Yes. Sampler is open source, so the software itself is free to use.
- What is Sampler an alternative to?
- Sampler is an open-source alternative to Systems. Other open-source alternatives to Systems include Habitica, ArangoDB and OpenEMR.
- Is Sampler actively maintained?
- The most recent commit to Sampler was on 22 February 2024, and the latest release is v1.1.0, published on 24 December 2019. The project has 15k stars on GitHub, with 8 added in the last 30 days.
Open-source alternatives to Sampler
See all
Habitica
Productivity
A habit tracker app which treats your goals like a Role Playing Game.
OSSvs Todoist★ 14k
ArangoDB
Databases
🥑 ArangoDB is a native multi-model database with flexible data models for documents, grap
OSSvs Azure Cosmos DB★ 14k
OpenEMR
ERP
The most popular open source electronic health records and medical practice management sol
GPL-3.0vs SimplePractice★ 5.6k
ctop
Monitoring & Observability
Top-like interface for container metrics
MIT★ 18k
Grafana
Monitoring & Observability
The open and composable observability and data visualization platform. Visualize metrics,
AGPL-3.0vs Datadog★ 78k
Gatus
Monitoring & Observability
Create beautiful, automated status pages with advanced monitoring. Track HTTP, DNS, TCP en
Apache-2.0vs UptimeRobot★ 13k
SaaS alternatives to Sampler
See all
Systems
Productivity
iOS app for capturing repeatable workflows so nothing gets overlooked
SaaS
Loggly
Monitoring & Observability
Cloud log management with search, dashboards and alerting
SaaS
Nagios XI
Monitoring & Observability
Commercial monitoring platform for servers, networks and applications built on Nagios
SaaS
Zenduty
Monitoring & Observability
Incident management and response orchestration platform
SaaS
Amazon CloudWatch
Monitoring & Observability
AWS service for metrics, logs, alarms and dashboards
SaaS
AppDynamics
Monitoring & Observability
Cisco application performance monitoring that maps technical metrics to business impact
SaaS

