Facing issue when running npm install -g @aws/opensearch-perftop command

Hi Team,

Could you please help me to fix the below issue…

My Requirement is :: Need to see the metrics like cpu_utilization etc… in dashboard…

  1. I was trying to install Perftop to get the Performance Analyzer plugin…
    npm install -g @aws/opensearch-perftop

  2. Before this i have installed the docker and pulled the OpenSearch and OpenSearchDashboard by using below commands and able to launch the OpenSearchDashboard (http://x.x.x.x:5601/)
    sudo apt install docker.io
    sudo docker pull opensearchproject/opensearch:1.1.0
    sudo docker pull opensearchproject/opensearch-dashboards:1.1.0

Error for step 1:
clouduser@gmuvmd42750-2:~$ npm install -g @aws/opensearch-perftop
npm ERR! Linux 5.4.0-1053-gcp
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “install” “-g” “@aws/opensearch-perftop”
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code E404

npm ERR! 404 Not found : @aws/opensearch-perftop
npm ERR! 404
npm ERR! 404 ‘@aws/opensearch-perftop’ is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR! /home/clouduser/npm-debug.log
clouduser@gmuvmd42750-2:~$

Thanks In Advance…

Hi @rhema_135

Looks like those instructions are incorrect. I don’t think that perftop for opensearch has actually been released to npm. See:

https://github.com/opensearch-project/perftop/issues/18

Hi @rhema_135

Currently, OpenSearch Perftop has not been released with npm as @searchymcsearchface mentioned. Installation instructions are updated now. Executables that are available on release page can be used for installing perftop. Instructions can be found here.

1 Like