This is a slightly modified version of this tutorial: https://developers.redhat.com/blog/2018/12/21/monitoring-node-js-applications-on-openshift-with-prometheus/
(You can ignore this step, docker image will be dowloaded from my repo)
npm install
npm build
docker build -t jotak/nodejs-prom-example:latest .Using oc
oc new-project nodejs-prom
oc apply -f Deployment.yml
oc apply -f Service.yml
oc expose svc/nodejs-prom-exampleFrom Kiali sources:
oc apply -f deploy/dashboards/nodejs.yaml