Node.js
Instrumenting your existing Node.js application with the OpenTelemetry SDK gives you the flexibility to capture custom metrics, manual spans, and tailored application context.
Installation
Section titled “Installation”Install the required OpenTelemetry packages for Node.js:
Configuration
Section titled “Configuration”Point your OpenTelemetry SDK exporter to the KloudMate Agent’s OTLP endpoint. By default, the KloudMate agent listens on port 4318 for HTTP OTLP traffic.
(Replace KM_AGENT_HOST with the IP address or hostname of your KloudMate Agent).
Official Documentation
Section titled “Official Documentation”OpenTelemetry is continuously evolving. For the most up-to-date SDK instructions, advanced configurations, and custom instrumentation details, refer to the official OpenTelemetry documentation:
Looking for a step-by-step tutorial?
Check out our Instrument a Node.js App guide to see how to build and instrument a simple Express application from scratch.