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
Trust15 / 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.

Reliability6 / 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.

Adaptability8 / 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.

Convention7 / 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.

Effectiveness5 / 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.

Verifiability3 / 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 it does & when to 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.

Pros & cons

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 to install

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 to use

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.

Compared to similar skills

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 Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

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 Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills