wget -O- http://repo.boatswain.io/boatswain-signing.gpg | sudo apt-key add -
apt-key finger
It should have the fingerprint EF26 4D49 421E C29E 4E67 024D 848D 971D BC51 C54B
pub 4096R/BC51C54B 2020-01-04
Key fingerprint = EF26 4D49 421E C29E 4E67 024D 848D 971D BC51 C54B
uid Boatswain <[email protected]>
echo 'deb http://repo.boatswain.io/packages/apt stable main' | sudo tee /etc/apt/sources.list.d/boatswain.list
apt-get update
apt-cache policy boatswain
apt-get install boatswain
You could find your Boatswain account token on the web portal Settings -> Token. Request for an beta account first if you don’t have one yet.
Insert the token at the /etc/boatswain.yml
.
# Please register and get the token from https://app.boatswain.io/
token: token_here
# Period is the collection time interval of the host and docker metrics.
# CPU load could be reduced by using longer period.
# - short = 10s
# - default = 30s
# - long = 60s
period: default
# Send Log is the flag which determines if you would like to send the docker
# container logs to Boatswain.
# - true
# - false
send_log: true
systemctl start boatswain