Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

jotak/nodejs-metrics-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js with metrics on Kubernetes

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/

Build

(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 .

Deploy

Using oc

oc new-project nodejs-prom
oc apply -f Deployment.yml
oc apply -f Service.yml
oc expose svc/nodejs-prom-example

Kiali dashboard

From Kiali sources:

oc apply -f deploy/dashboards/nodejs.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published