Install Perforator CLI
Build perforator/cmd/cli
from the root of the repository.
Configure Perforator CLI
- Set
PERFORATOR_ENDPOINT
environment variable to specify the Perforator server address once. Otherwise you need to use--url
flag for each command. - Set
PERFORATOR_SECURE
to enable or disable TLS. By default, TLS is enabled.
Note
PERFORATOR_ENDPOINT should not contain schema. If port is unset, it is defaulted to 7618 when TLS is enabled and 7617 when it is disabled.
Examples of possible values:
perforator.example.org
perforator.example.org:27618
1.2.3.4:10000
export PERFORATOR_ENDPOINT="<your perforator hostname>"
export PERFORATOR_SECURE=true
Was the article helpful?
Previous
Next