liveBook · Manning

OpenTelemetry SDK

As explained in Cloud Observability in Action

The OpenTelemetry Node SDK is a JavaScript or Node.js implementation for generating, processing, and exporting OpenTelemetry telemetry.

The OpenTelemetry SDK is a JavaScript or Node.js implementation for generating, processing, and exporting telemetry. It supports manual instrumentation when automatic agents cannot expose business-logic signals. section 4.3.1 section 4.6

Use the SDK when:

  • Auto-instrumentation provides a useful baseline but treats the service as a black box. section 4.3.1
  • Application code must be modified to emit signals that represent business logic. section 4.3.1
  • Telemetry needs vendor-neutral metadata and correlation through semantic conventions. section 4.6

JavaScript application instrumentation

An automatically instrumented JavaScript application can provide baseline telemetry; adding the OpenTelemetry SDK lets developers manually emit signals for business logic that automatic instrumentation cannot see. section 4.3.1

How Cloud Observability in Action covers it

How deep it goes
Defines automatic versus manual instrumentation and identifies the SDK’s role, but does not provide detailed implementation steps.
Examples
Uses JavaScript applications, the Node SDK, Java agents, and .NET profilers to illustrate instrumentation approaches.
What it assumes
Assumes the ability to modify application code, while introducing automatic and manual instrumentation as alternative approaches.
What you can do after
Apply it via the OpenTelemetry SDK to manually emit business-logic telemetry from application code.
How it connects
Connects auto-instrumentation, manual instrumentation, semantic conventions, telemetry signals, and the OpenTelemetry Collector.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Cloud Observability in Action. The section links point to the parts of the book it draws on.