azure-monitor-opentelemetry-ts

azure-monitor-opentelemetry-ts is a skill for Claude Code, Codex from benjaminasterA/antigravity-awesome-skills. It costs 46 tokens per session (1,950 once invoked), scanned A, original, MIT.

A TypeScript package that automatically adds OpenTelemetry tracing, metrics, and logging to Node.js applications and sends the data to Azure Monitor. OpenTelemetry is a standard way to collect information about how software runs.

In plain words
What is it for?
Use it to add Azure Monitor observability to Node.js apps, including applications built with frameworks such as Express.
Why use it?
It reduces the setup needed to observe a Node.js service, including collecting activity from supported libraries before the application starts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node --import @azure/monitor-opentelemetry/loader ./dist/index.js.

Good fit Use it to add Azure Monitor observability to Node.js apps, including applications built with frameworks such as Express.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/benjaminasterA/antigravity-awesome-skills
agentmods
npx agentmods add skills/benjaminastera/antigravity-awesome-skills/azure-monitor-opentelemetry-ts

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for azure-monitor-opentelemetry-ts

README.md
[![agentmods](https://agentmods.dev/badge/skills/benjaminastera/antigravity-awesome-skills/azure-monitor-opentelemetry-ts/github.svg)](https://agentmods.dev/skills/benjaminastera/antigravity-awesome-skills/azure-monitor-opentelemetry-ts)
Your own site
<a href="https://agentmods.dev/skills/benjaminastera/antigravity-awesome-skills/azure-monitor-opentelemetry-ts"><img src="https://agentmods.dev/badge/skills/benjaminastera/antigravity-awesome-skills/azure-monitor-opentelemetry-ts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for azure-monitor-opentelemetry-ts

Your own site · 80×15
<a href="https://agentmods.dev/skills/benjaminastera/antigravity-awesome-skills/azure-monitor-opentelemetry-ts"><img src="https://agentmods.dev/badge/skills/benjaminastera/antigravity-awesome-skills/azure-monitor-opentelemetry-ts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,950 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.01950
Opus 5.5 $0.00018 $0.00780
Sonnet 5.5 $0.00009 $0.00390
Haiku 4.5 $0.00005 $0.00195

Measured 3mo ago against content hash 2ed1afea0c2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

azure-monitor-opentelemetry-ts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/azure-monitor-opentelemetry-ts/SKILL.md · 325 lines

How it starts

The opening of the file, as written. The whole thing — 325 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Azure Monitor OpenTelemetry SDK for TypeScript

Auto-instrument Node.js applications with distributed tracing, metrics, and logs.

Installation

# Distro (recommended - auto-instrumentation)
npm install @azure/monitor-opentelemetry

# Low-level exporters (custom OpenTelemetry setup)
npm install @azure/monitor-opentelemetry-exporter

# Custom logs ingestion
npm install @azure/monitor-ingestion

Environment Variables

APPLICATIONINSIGHTS_CONNECTION_STRING=InstrumentationKey=...;IngestionEndpoint=...

Quick Start (Auto-Instrumentation)

IMPORTANT: Call useAzureMonitor() BEFORE importing other modules.

import { useAzureMonitor } from "@azure/monitor-opentelemetry";

useAzureMonitor({
  azureMonitorExporterOptions: {
    connectionString: process.env.APPLICATIONINSIGHTS_CONNECTION_STRING
  }
});

// Now import your application
import express from "express";
const app = express();

ESM Support (Node.js 18.19+)

node --import @azure/monitor-opentelemetry/loader ./dist/index.js

package.json:

{
  "scripts": {
    "start": "node --import @azure/monitor-opentelemetry/loader ./dist/index.js"
  }
}

Full Configuration

import { useAzureMonitor, AzureMonitorOpenTelemetryOptions } from "@azure/monitor-opentelemetry";
import { resourceFromAttributes } from "@opentelemetry/resources";

const options: AzureMonitorOpenTelemetryOptions = {
  azureMonitorExporterOptions: {
    connectionString: process.env.APPLICATIONINSIGHTS_CONNECTION_STRING,
    storageDirectory: "/path/to/offline/storage",
    disableOfflineStorage: false
  },
  
  // Sampling
  samplingRatio: 1.0,  // 0-1, percentage of traces
  
  // Features
  enableLiveMetrics: true,
  enableStandardMetrics: true,
  enablePerformanceCounters: true,
  
  // Instrumentation libraries
  instrumentationOptions: {
    azureSdk: { enabled: true },
    http: { enabled: true },
    mongoDb: { enabled: true },
    mySql: { enabled: true },
    postgreSql: { enabled: true },
    redis: { enabled: true },
    bunyan: { enabled: false },
    winston: { enabled: false }
  },
  
  // Custom resource
  resource: resourceFromAttributes({ "service.name": "my-service" })
};

useAzureMonitor(options);

Read the full file on GitHub · 325 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 325 lines · 46 tokens per session scan A 2ed1afea0c2b

Subscribe to this mod's changes

azure-monitor-opentelemetry-ts is a skill published in the GitHub repository benjaminasterA/antigravity-awesome-skills (527 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 1,950 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

azure-monitor-opentelemetry-ts compared with skills from other repositories

azure-monitor-opentelemetry-ts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
azure-monitor-opentelemetry-tsbenjaminasterA/antigravity-awesome-skillsSkill527yesterdayMITA46Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k7d agoApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.3kyesterdayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill7072d agoMITA105Claude Code, Codex