Skip to content
Skill

Azure monitor opentelemetry ts

Instruments Node.js apps with Azure Monitor and OpenTelemetry traces, metrics and logs

Install
Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
3.2K
Last commit
1 day ago
License
MIT
Listing updated
1 day ago

Similar skills

About Azure monitor opentelemetry ts

Azure monitor opentelemetry ts is an open-source agent skill for cloud and infrastructure. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

This skill gives an agent the code patterns for adding Application Insights telemetry to Node.js and TypeScript services using the @azure/monitor-opentelemetry distro. It covers one-call auto-instrumentation, a full options object for sampling, live metrics, offline storage and per-library instrumentation toggles, and manual setup with trace, metric and log exporters for teams building their own OpenTelemetry pipeline.

The guidance also covers custom spans, counters, histograms and observable gauges, span processors for enriching or filtering telemetry, and graceful shutdown to flush data. It includes ESM startup via a Node loader and notes that the telemetry setup must run before other application modules are imported.

The skill expects a Node.js project with a connection string in the APPLICATIONINSIGHTS_CONNECTION_STRING environment variable. Custom log ingestion additionally requires an Azure data collection endpoint and rule, and uses the Azure identity library for authentication.

When your agent uses it

Instrument applications with Azure Monitor and OpenTelemetry for JavaScript (@azure/monitor-opentelemetry). Use when adding distributed tracing, metrics, and logs to Node.js applications with Application Insights.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (9 KB) on GitHub on 19 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/azure-monitor-opentelemetry-ts to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/azure-monitor-opentelemetry-ts &&
cp -R "$tmp/.github/plugins/azure-sdk-typescript/skills/azure-monitor-opentelemetry-ts" ~/.claude/skills/azure-monitor-opentelemetry-ts &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/azure-monitor-opentelemetry-ts inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/azure-monitor-opentelemetry-ts to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/azure-monitor-opentelemetry-ts &&
cp -R "$tmp/.github/plugins/azure-sdk-typescript/skills/azure-monitor-opentelemetry-ts" ~/.agents/skills/azure-monitor-opentelemetry-ts &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/azure-monitor-opentelemetry-ts inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/azure-monitor-opentelemetry-ts to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/azure-monitor-opentelemetry-ts &&
cp -R "$tmp/.github/plugins/azure-sdk-typescript/skills/azure-monitor-opentelemetry-ts" ~/.cursor/skills/azure-monitor-opentelemetry-ts &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/azure-monitor-opentelemetry-ts inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/microsoft/skills.git --path .github/plugins/azure-sdk-typescript/skills/azure-monitor-opentelemetry-ts

Or copy the folder to ~/.gemini/skills/azure-monitor-opentelemetry-ts yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/azure-monitor-opentelemetry-ts:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/azure-monitor-opentelemetry-ts &&
cp -R "$tmp/.github/plugins/azure-sdk-typescript/skills/azure-monitor-opentelemetry-ts" ~/.copilot/skills/azure-monitor-opentelemetry-ts &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/azure-monitor-opentelemetry-ts inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/microsoft/skills.git

Then copy skills/.github/plugins/azure-sdk-typescript/skills/azure-monitor-opentelemetry-ts into your agent's skills folder as azure-monitor-opentelemetry-ts. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

One-call auto-instrumentation
Sets up tracing, metrics and logs for common Node.js libraries with a single setup call.
Manual exporter configuration
Shows how to wire trace, metric and log exporters into a custom OpenTelemetry provider setup.
Custom spans and metrics
Covers creating spans with attributes and events, plus counters, histograms and gauges.
Sampling and offline storage
Explains ratio-based sampling and local storage for telemetry during connectivity gaps.
Custom logs ingestion
Shows uploading custom records to Azure Monitor through a data collection rule.
ESM and shutdown handling
Covers the Node loader for ES modules and flushing telemetry on process exit.

Good for

  • Add Application Insights tracing to an Express API
  • Send custom metrics such as request duration to Azure Monitor
  • Configure sampling for a high-traffic Node.js service
  • Upload custom application logs to a Log Analytics table
  • Wire OpenTelemetry trace exporters into an existing Node app

Azure monitor opentelemetry ts FAQ

What does this skill need to work?

A Node.js project using the @azure/monitor-opentelemetry packages and an Application Insights connection string in APPLICATIONINSIGHTS_CONNECTION_STRING.

Does it cover Python or other languages?

No, the guidance is specific to JavaScript and TypeScript with Node.js.

Does the skill include scripts?

No, it is a single SKILL.md file with code examples and no bundled scripts.

How do I install Azure monitor opentelemetry ts in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/azure-monitor-opentelemetry-ts to use it in all your projects, or to .claude/skills/azure-monitor-opentelemetry-ts in one project.

Does Azure monitor opentelemetry ts run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Azure monitor opentelemetry ts?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Azure monitor opentelemetry ts?

The closest alternatives to Azure monitor opentelemetry ts are Azure monitor opentelemetry py, Azure monitor opentelemetry exporter py, Connect observability, Applicationinsights web ts and Azure kusto graph.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from microsoft/skills

  1. Finds AKS scheduling, bin-packing, node scaling and storage cost inefficiencies

    • Open source
    • 3.2K GitHub stars
    • Cloud and infrastructure
  2. Diagnoses AKS GPU and KAITO incidents using read-only cluster evidence

    • Open source
    • 3.2K GitHub stars
    • Cloud and infrastructure
  3. Matches exact AKS error signatures to documented fixes, with citations and read-only

    • Open source
    • 3.2K GitHub stars
    • Cloud and infrastructure
  4. Guides bounded packet captures on AKS nodes and Azure network evidence collection

    • Open source
    • 3.2K GitHub stars
    • Cloud and infrastructure
  5. Investigates live AKS incidents read-only, tracing pod, node, network and quota failures

    • Open source
    • 3.2K GitHub stars
    • Cloud and infrastructure
  6. Builds Azure portal deep links to the blade that performs a given operation

    • Open source
    • 3.2K GitHub stars
    • Cloud and infrastructure