navigation

Observing Node.js Microservices with Metrics


ServiceNow Cloud Observability + OpenTelemetry + Node.js

Welcome!

This workshop is the 2nd part in the Observing Node.js Microservices series. Each workshop builds off the previous ones. It is recommended that you complete the previous workshops but it is not a requirement.

Observing Node.js Microservices with Distributed Tracing (part 1)
Observing Node.js Microservices with Logs (part 3)

In this workshop you will learn how to use OpenTelemetry to capture metrics from your Node.js microservices and send the telemetry data to ServiceNow Cloud Observability (formerly Lightstep).

Learning Objectives

  • How to automatically capture metrics from the Docker daemon
  • How to manually generate and send custom metrics from your services using the Node.js OpenTelemetry API
  • How to use an OpenTelemetry Collector to receive, process and export metric data to Cloud Observability
  • How to query and interact with your metric data in Cloud Observability

Node.js Microservices Demo App

The microservices demo app used in this workshop is inspired by this project by Ashley Davis.

Let’s get started!