PM2 module to monitor a ElasticSearch cluster with Keymetrics
pm2 install pm2-elasticsearch
elasticsearchUri
(Defaults tohttp://localhost:9200/
): Set the URI to connect to your Elastic cluster (can be load fromPM2_ELASTICSEARCH_URI
env var)
After having installed the module you have to type :
pm2 set pm2-elasticsearch:<key> <value>
e.g:
pm2 set pm2-elasticsearch:elasticsearchUri https://user:password@host:port
(use simple auth to connect to the cluster)
pm2 uninstall pm2-elasticsearch