blockdiag {
Collectors -> SSHFeeder -> Ingestion -> ... -> Analysis -> PSQL.events -> RSSFeed
S3 -> S3Feeder -> Ingestion
PSQL.events -> Explorer
}See the makefile file for useful commands.
Run unit tests locally:
make functestsRun devel mode:
make run_develMonitor logs:
journalctl -f -t fastpath --utc -o short-precise
# show fields
journalctl -f -t fastpath -N | sort
# filter by field, e.g.:
journalctl -f -t fastpath --utc CODE_LINE=12Monitor metrics locally:
make local_monitor_metricsTo set up credentials for development create:
~/ .aws/credentials
~/var/lib/fastpath/ssh/id_ed25519 from /var/lib/fastpath/ssh/id_ed25519 (created by install scripts)
touch /home/federico/var/lib/fastpath/ssh/known_hostsIn development mode, ~ is treated as /
Run development mode:
fastpath --devel --start-day=2019-7-20 --end-day=2019-7-21On the collectors:
# on fastpath
cat ~/var/lib/fastpath/ssh/id_ed25519.pub
# add pubkey on feeder:
sudo vim /home/sshfeeder/.ssh/authorized_keysTest connectivity:
cat /etc/machine-id
ssh [email protected] -i ~/var/lib/fastpath/ssh/id_ed25519