Standalone app
Running Butler as a standalone app is in most cases the easiest way to use Butler.
Pre-built executables are available for Windows, macOS and Linux.
How to start Butler varies depending on whether you run it as a standalone app, as a Docker container or as a Node.js app.
Once Butler is running it’s a good idea to also monitor it. Otherwise you stand the risk of not getting notified if Butler for some reason misbehaves.
Butler logs its own memory usage to the console and log files (if enabled), but can also send these metrics to an InfluxDB database and New Relic.
Butler will log its own memory usage to InfluxDB if
Butler.uptimeMonitor.enable
and Butler.uptimeMonitor.storeInInfluxdb.enable
properties are both set to true
.Similarly, uptime metrics will be sent to New Relic if
Butler.uptimeMonitor.enable
and Butler.uptimeMonitor.storeNewRelic.enable
properties are both set to true
.Assuming everything is correctly set up, you can then create a Grafana dashboard showing Butler’s memory use over time, using data from InfluxDB. You can also set up alerts in Grafana if so desired, with notifications going to most IM tools and email.
A Grafana dashboard can look like this. Note that one of the available metrics (external
) is not used in this particular dashboard. It’s still logged to InfluxDB though.
There is a sample Grafana dashboard in Butler’s GitHub repo.
A New Relic graph covering the same information (but a different time range!) can look like this:
Running Butler as a standalone app is in most cases the easiest way to use Butler.
Pre-built executables are available for Windows, macOS and Linux.