Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Agent File

Depending on your OS, the SeaLights Go Agent files can be downloaded from:

Where OS_ARCH is one of: darwin-amd64, darwin-arm64, linux-amd64, linux-arm64

Download a token from the SeaLights dashboard and place the sltoken.txt file in the working directory.
See 'Generating an Agent token' for instructions on how to generate a token.

Initializing the SeaLights CLI

./slcli config init --lang go --token ./sltoken.txt

Sample script

echo "[Sealights] Downloading Sealights Golang & CLI Agents..."
wget -nv -O sealights-go-agent.tar.gz https://agents.sealights.co/slgoagent/latest/slgoagent-linux-amd64.tar.gz
wget -nv -O sealights-slcli.tar.gz https://agents.sealights.co/slcli/latest/slcli-linux-amd64.tar.gz
tar -xzf ./sealights-go-agent.tar.gz && tar -xzf ./sealights-slcli.tar.gz 
rm -f ./sealights-go-agent.tar.gz ./sealights-slcli.tar.gz 
./slgoagent -v 2> /dev/null | grep version && ./slcli -v 2> /dev/null | grep version

  • No labels