Skip to Content
FlowShapeDocs
Agent

Options

Every option of the agent besides the sources.

Besides the sources and the Grafana options:

OptionDoes
--key <key>the key FlowShape uses, 16 characters or more; a random one is made when none is given
--key-file <path>the key from a file (or FLOWSHAPE_AGENT_KEY)
--port <7777>the port to listen on
--host <127.0.0.1>the address to listen on (see Another machine)
--origin <url>another FlowShape address that may use the agent (repeatable)
--every <15m>collect again on a schedule (1h, 90s …)
--helpall options

Keep the key out of sight

--key on the command line ends up in your shell history and in the process list, visible to other users of the machine. On a shared machine, use FLOWSHAPE_AGENT_KEY or --key-file.