- In your development environment follow the 3 simple steps for getting started with appmetrics.
cf pushas usual to push your application to IBM Cloud.
cf ssh APP_NAME -L localhost:3001:localhost:3001to make appmetrics-dash available on
localhost:3001/appmetrics-dashexactly as when you were running your application locally.
cf sshopens a secure connection to your application container instance and the
-Lparameter tells ssh to listen for connections to
localhost:3001on the local machine and forward them to
localhost:3001on the remote machine. This limits access to appmetrics-dash to only users who can use
cfcommands to access your application and ensures the data is sent across a secure connection.
If you want to be able to access a remote instance of appmetrics-dash at the same time as a local one you are using for development you can just forward the remote port to a different local port For example
cf ssh -L localhost:3002:localhost:3001will make the remote instance available on