Dev & Engineering ✓ Microsoft · Official

Azure Monitor Telemetry for Java

Guides Java teams in exporting OpenTelemetry data to Azure Monitor.

44/ 100
Not recommended

Current benefit does not outweigh risk or uncertainty.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 2.7k
Last updated
3mo ago
License
MIT
javaazure-monitorapplication-insightsopentelemetry
+3distributed-tracingmetricstelemetry

What does this skill do, and when should you use it?

This Agent Skill helps Java developers send OpenTelemetry traces, metrics, and logs to Azure Monitor or Application Insights. It covers Maven dependencies, connection strings, autoconfiguration, span creation and nesting, span attributes, exception recording, custom SpanProcessors, and basic metrics. The exporter package itself is deprecated, and the source recommends migrating to azure-monitor-opentelemetry-autoconfigure. It is most useful for maintaining legacy integrations or planning migration, rather than starting a new implementation with the deprecated package.

Provides Java examples for adding the Maven dependency, configuring OpenTelemetry with APPLICATIONINSIGHTS_CONNECTION_STRING or an explicit connection string, and calling AzureMonitorExporter.customize. It shows how to create and end spans, add attributes, record exceptions, connect parent and child spans through Context, register a custom SpanProcessor, and create counters and histograms through OpenTelemetry.

Good fit
  • A Java team maintains an application that already uses azure-monitor-opentelemetry-exporter and needs configuration guidance.
  • A service team wants to export Java application traces, metrics, and logs to Application Insights.
  • A developer needs to initialize OpenTelemetry with an environment-based or explicit Azure connection string.
  • An engineering team wants richer debugging context by adding business attributes to spans.
  • A service needs consistent span customization or exception recording through OpenTelemetry APIs.
  • A team is migrating an existing exporter integration to azure-monitor-opentelemetry-autoconfigure.

How do you install this skill?

Before you use it
  • The skill targets a deprecated package; migration to autoconfigure should take priority over copying the legacy dependency.
  • Do not hard-code real connection strings or sensitive business attributes; review telemetry contents, egress, retention, and compliance requirements.
  • Verify AzureMonitorExporter.customize, dependency versions, and imports against the locked project versions and the official migration guidance.
  • Mainland-China network reachability, Azure region endpoints, and enterprise egress policies are not verified in the supplied files and require separate validation.
Before you start
Your agent needs
  • Network access
Install first
  • Java
  • OpenTelemetry Java SDK
  • com.azure:azure-monitor-opentelemetry-exporter
  • com.azure:azure-monitor-opentelemetry-autoconfigure

To install the repository collection, run npx skills add microsoft/skills and select the required skill in the wizard; the README says skills are installed in the selected agent directory, such as .github/skills/. The source does not provide a standalone installation command for this skill. The legacy Java dependency is shown as com.azure:azure-monitor-opentelemetry-exporter:1.0.0-beta.x; new projects should use com.azure:azure-monitor-opentelemetry-autoconfigure instead.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/plugins/azure-sdk-java/skills/azure-monitor-opentelemetry-exporter-java" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

In an Agent Skills-compatible coding agent, use a trigger such as opentelemetry azure java, application insights java otel, or azure monitor tracing java. Set APPLICATIONINSIGHTS_CONNECTION_STRING or pass a connection string explicitly, then initialize AutoConfiguredOpenTelemetrySdk and customize it with AzureMonitorExporter. Because the exporter is deprecated, ask for an autoconfigure-based implementation or migration guidance for new work.

What are this skill's strengths and limitations?

Pros
  • Covers exporting traces, metrics, and logs to Azure Monitor/Application Insights.
  • Includes copyable Java examples for setup, spans, attributes, exceptions, and metrics.
  • Explains custom SpanProcessor registration, nested spans, and migration steps.
  • Published by Microsoft under the MIT license.
Limitations
  • The target exporter package is deprecated and is not the recommended long-term choice for new projects.
  • Some examples use `1.0.0-beta.x` or `LATEST` placeholders rather than fixed production versions.
  • The source provides no skill-specific platform test results or independent coverage evidence.
  • Exporting telemetry requires an Azure Monitor/Application Insights connection string and network access.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Azure Monitor Telemetry for Java this page ✓ Microsoft · Official 44 · Not recommended ★ 2.7k 3mo ago MIT
Azure Monitor OpenTelemetry for TypeScript ✓ Microsoft · Official 43 · Not recommended ★ 2.7k 3mo ago MIT
Azure Monitor OpenTelemetry Exporter ✓ Microsoft · Official 49 · Use with care ★ 2.7k 3mo ago MIT
Azure Monitor OpenTelemetry for Python ✓ Microsoft · Official 45 · Not recommended ★ 2.7k 3mo ago MIT
Application Insights Web Monitoring ✓ Microsoft · Official 54 · Use with care ★ 2.7k 3mo ago MIT

The source explicitly positions azure-monitor-opentelemetry-autoconfigure as the replacement for the deprecated exporter. It adds automatic configuration, automatic instrumentation for common libraries, and tighter OpenTelemetry SDK integration.

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Not recommended
44/ 100 5-point scale 2.2 / 5
1Trust15 / 25 · 3.0/5

The documentation clearly states that telemetry is sent to Azure Monitor/Application Insights and that a connection string is used; no malicious behavior or excessive permissions are evident. However, it does not cover sensitive-attribute filtering, retention, user confirmation, egress controls, or rollback, so points are deducted.

2Reliability6 / 20 · 1.5/5

Installation, initialization, spans, metrics, and exception-handling paths are documented, but the target package is deprecated, examples mix the old exporter package with autoconfigure, versions use beta.x/LATEST, and there are no dedicated tests or failure diagnostics for this skill's key paths. Static calibration therefore limits the score.

3Adaptability8 / 15 · 2.7/5

The Java OpenTelemetry/Azure Monitor audience, trigger phrases, and migration boundary are reasonably clear. Non-fit scenarios, runtime prerequisites, dependency compatibility, Chinese-language support, and mainland-China network reachability are not sufficiently specified, so points are deducted.

4Convention7 / 15 · 2.3/5

The skill has front matter, MIT licensing, version and author metadata, installation guidance, layered examples, migration notes, and reference categories. It lacks a clear maintenance owner, changelog, stable version policy, troubleshooting guidance, and explicit data-governance limitations; LATEST also weakens dependency stability.

5Effectiveness5 / 15 · 1.7/5

It can guide telemetry setup, span and metric creation, and migration direction, but the target package is deprecated, some examples may not align fully with the recommended package/API, and no directly verified execution output is included. Additional manual validation is likely required.

6Verifiability3 / 10 · 1.5/5

It identifies auditable Maven, GitHub, migration, OpenTelemetry, and Application Insights materials, but the supplied evidence is static and contains no key-path tests, CI results, or independently reproducible execution evidence, so only limited credit is justified.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a Review evidence[1][2][3][4][5][6][7][8][9][10][11]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Should a new Java project adopt this exporter skill as its primary approach?
No. The source marks the exporter package as deprecated and recommends azure-monitor-opentelemetry-autoconfigure.
What Azure configuration is required?
Provide APPLICATIONINSIGHTS_CONNECTION_STRING or pass an explicit Application Insights connection string during initialization.
Does the skill configure all instrumentation automatically?
It focuses on initialization, manual spans, attributes, exceptions, SpanProcessors, and metrics. Automatic instrumentation is described as a benefit of the autoconfigure package.
Does it require MCP or a special agent runtime?
The supplied material shows no MCP requirement, Claude-specific extension, or Codex-specific packaging. It uses a standard SKILL.md structure.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Monitor OpenTelemetry for TypeScript

Add Application Insights observability to Node.js services with OpenTelemetry.

★ 2.7k FS 43 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor OpenTelemetry Exporter

Build a controlled Python OpenTelemetry pipeline that exports traces, metrics, and logs to Application Insights.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor OpenTelemetry for Python

Connect Python applications to Application Insights with one-line OpenTelemetry setup.

★ 2.7k FS 45 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Application Insights Web Monitoring

Instrument browser and React Native apps with Application Insights for user behavior, requests, errors, and GenAI trace visibility.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Application Insights Instrumentation Guide

Practical guidance for adding Application Insights telemetry to Azure-hosted ASP.NET Core and Node.js web apps.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Java

Query Azure Monitor logs and resource metrics from Java applications.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Log Ingestion for Java

Guides Java applications in sending structured custom logs to Azure Monitor through DCRs.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Custom Log Ingestion

Guides Python agents to send custom logs to Log Analytics through the Logs Ingestion API.

★ 2.7k FS 53 Use with care 3mo ago
Automation & Ops ✓ Microsoft · Official

Azure Production Diagnostics

Systematically investigate Azure production failures, identify root causes, and guide safe remediation.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Java

Configure secure Microsoft Entra ID authentication for Java applications using Azure SDKs.

★ 2.7k FS 51 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Content Safety for Java

Helps Java applications detect harmful text and images and manage custom blocklists.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure SMS for Java

Send Azure Communication Services SMS from Java with per-recipient results and delivery tracking.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Persistent Agents for Java

Guides Java developers through building and managing Azure AI agents with persistent threads, messages, runs, and tools.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Anomaly Detector for Java

A practical Java skill for building univariate and multivariate time-series anomaly detection with Azure AI Anomaly Detector.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB Java Skill

Guides Java developers in building globally distributed, partitioned, and reactive Azure Cosmos DB applications.

★ 2.7k FS 45 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure App Configuration for Java

Guides Java apps in centralizing settings, feature flags, and release snapshots.

★ 2.7k FS 43 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Application Insights Resource Manager for .NET

Manage Application Insights components, availability tests, and workbooks from .NET code.

★ 2.7k FS 44 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

★ 2.7k FS 57 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure CallingServer Java Legacy Maintainer

Maintain legacy CallingServer Java code and migrate it toward Azure Communication Services Call Automation.

★ 2.7k FS 52 Use with care 3mo ago

Related skills