When I try to run forever monitoring, it asked the key, but there is flag to pass the key.
[edge@bns .edgemicro]$ edgemicro forever -f /usr/lib/node_modules/edgemicro/forever.json -a start
current nodejs version is v6.14.3
current edgemicro version is 2.5.25
key is required
[edge@bns .edgemicro]$ edgemicro forever --help
current nodejs version is v6.14.3
current edgemicro version is 2.5.25
Usage: forever [options]
Start microgateway using forever-monitor
Options:
-f, --file <file> forever-monitor options file
-a,--action <action> action can be start or stop; default is start
-h, --help output usage information
Documentation does not mention the key. How to use forever monitoring in edge micro gateway?
Solved! Go to Solution.
Please use the following environment variables to add parameters:
EDGEMICRO_ORG
EDGEMICRO_ENV
EDGEMICRO_KEY
EDGEMICRO_SECRET
I am also trying the same thing and asked for the key.
$ edgemicro forever -a start
current nodejs version is v8.11.3
current edgemicro version is 2.5.19
key is required
The doc has been updated. Thanks for pointing out the missing information.
https://docs.apigee.com/api-platform/microgateway/2.5.x/cli-reference-edge-microgateway#forevermonit...
Great! Thanks!
Please use the following environment variables to add parameters:
EDGEMICRO_ORG
EDGEMICRO_ENV
EDGEMICRO_KEY
EDGEMICRO_SECRET
Thank you so much! It needs better documentation for this as I didn't see anything about it.
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 |