Dev & Engineering ✓ Microsoft · Official javaazure-monitorapplication-insightsopentelemetrydistributed-tracingmetricstelemetry

Azure Monitor Telemetry for Java

Guides Java teams in exporting OpenTelemetry data to Azure Monitor.

FollowSkills review · FSRS-2.0
Not recommended
44/ 100 5-point scale 2.2 / 5
1 2 3 4 5 6
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.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
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.
See the full review method →

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.

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

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 do you install this skill?

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.

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.

How does this skill compare with similar options?

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.

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.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor OpenTelemetry Exporter

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

Dev & Engineering ✓ Microsoft · Official

Azure Monitor OpenTelemetry for Python

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

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.

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.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Java

Query Azure Monitor logs and resource metrics from Java applications.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Log Ingestion for Java

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

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Custom Log Ingestion

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

Automation & Ops ✓ Microsoft · Official

Azure Production Diagnostics

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

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Java

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

Dev & Engineering ✓ Microsoft · Official

Azure AI Content Safety for Java

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

Dev & Engineering ✓ Microsoft · Official

Azure SMS for Java

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

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.

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.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB Java Skill

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

Dev & Engineering ✓ Microsoft · Official

Azure App Configuration for Java

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

Dev & Engineering ✓ Microsoft · Official

Azure Application Insights Resource Manager for .NET

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

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

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

Dev & Engineering ✓ Microsoft · Official

Azure CallingServer Java Legacy Maintainer

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

Related skills