From the course: Cloud Native Development with Node.js, Docker, and Kubernetes
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Introduction to Prometheus
From the course: Cloud Native Development with Node.js, Docker, and Kubernetes
Introduction to Prometheus
- [Instructor] In the last video, we added our first cloud-native capabilities to our app by supporting readiness and liveness endpoints, which Kubernetes itself uses to manage the lifecycle of our application. We're next going to turn and look at metrics and monitoring. Inside the CNCF Landscape, there's an entire section dedicated to Observability and Analysis, and inside that, one of the key technologies is Prometheus, which is labeled as CNCF Graduated. Prometheus is a metrics system that collects data from both Kubernetes itself and from any Prometheus-enabled application, so we're going to add Prometheus metrics to our application so that Prometheus will be able to collect them. As with a number of the other components, CloudNativeJS provides support for adding Prometheus-style metrics to your application. As we scroll down through what it provides, we can find the Prometheus logo in next to metrics, and view the project on GitHub. Here what's provided is an npm module called…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.