How to use Kamal Proxy run command options in Kamal
Kamal now allows a bit more flexibility in the way the Proxy is being run.
Kamal Proxy options
Kamal 2.6.0 introduced the ability to set --metrics_port and --debug options through the boot configuration. These options provide us with more control over how the kamal-proxy operates and reports metrics.
The use is similar to other options:
# config/deploy.yml
proxy:
debug: true
metrics_port: 9000
As the names suggest, the debug option let's us run Kamal Proxy in the debug mode with more logging and metrics_port let's us access the proxy's metrics on a given port.
Note the --metrics_port support is targeting Kamal Proxy version 0.8.8 which is not part of Kamal 2.6.0 yet.