# Autoinstrumentation-nodejs

Autoinstrumentation-nodejs is a self-hosted development app. An automatic instrumentation agent for Node.js applications that the OpenTelemetry Operator injects into Kubernetes workloads to add OpenTelemetry support without manual code changes. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/6674/autoinstrumentation-nodejs

## Description

An automatic instrumentation agent for Node.js applications that the OpenTelemetry Operator injects into Kubernetes workloads to add OpenTelemetry support without manual code changes.

## Platform availability

Available on 0 of 10 platforms.

## Links

- Docker Hub: https://hub.docker.com/r/otel/autoinstrumentation-nodejs
- Documentation: https://opentelemetry.io/docs/platforms/kubernetes/operator/automatic/

## Common questions

### How do I enable Node.js auto-instrumentation in Kubernetes?

The OpenTelemetry Operator can inject the Node.js instrumentation automatically. Use the automatic-instrumentation docs to enable and configure the injection.

### How can I limit which Node.js instrumentations are active?

Use the OTEL_NODE_ENABLED_INSTRUMENTATIONS setting to control OpenTelemetry auto-instrumentation for Node.js.

### Why do some Node.js libraries not produce telemetry with auto-instrumentation?

Auto-instrumentation only works with libraries that are currently supported. Check the OpenTelemetry Registry for the supported libraries.

### How do I debug Node auto-instrumentation that works locally but not after deployment?

Set OTEL_LOG_LEVEL to DEBUG to get hints about what is going on. In the reported case, incoming and outgoing HTTP metrics stopped after the application was deployed.

---
Source: Our Local Host (https://ourlocalhost.com/app/6674/autoinstrumentation-nodejs), the self-hosted and open-source app directory.
