azure-monitor-opentelemetry-exporter-java
Skill by sickn33
Explains how to export OpenTelemetry traces, metrics, and logs from Java applications to Azure Monitor and Application Insights. It is written for Java developers, and the source marks the exporter package as deprecated in favor of the autoconfigure package.
Install azure-monitor-opentelemetry-exporter-java
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-monitor-opentelemetry-exporter-java ~/.claude/skills/azure-monitor-opentelemetry-exporter-javRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install azure-monitor-opentelemetry-exporter-java in Claude Code
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-monitor-opentelemetry-exporter-java ~/.gemini/antigravity-cli/skills/azure-monitor-opentelemetry-exporter-javAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install azure-monitor-opentelemetry-exporter-java in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant guidance for exporting OpenTelemetry traces, metrics, and logs from Java applications to Azure Monitor and Application Insights. It shows how to set up the SDK with the AzureMonitorExporter customizer, read a connection string from the APPLICATIONINSIGHTS_CONNECTION_STRING environment variable or pass it explicitly, create and nest spans, add attributes, record exceptions, register a custom span processor, and create counters and histograms.
The source marks the exporter package as deprecated and recommends migrating to azure-monitor-opentelemetry-autoconfigure, with a link to a migration guide. It states that the example version is a placeholder that must be replaced with a resolved, compatible version from the official docs. The skill warns that configuring exporters does not prove application libraries are instrumented, that duplicate SDKs should not be initialized, that sensitive attributes and exceptions should be redacted, and that SDK shutdown and flush should be managed through the application lifecycle. It is aimed at Java developers adding Azure Monitor telemetry to their applications.
Written from the project's SKILL.md and checked against it.
What it can do
- Connection setupConfigure the OpenTelemetry SDK from an environment variable or an explicit connection string.
- Span creationCreate spans with a tracer and end them in a finally block.
- Span attributesAdd attributes when building a span and while it runs.
- Custom span processorRegister a span processor that adds attributes to every span.
- Nested spansLink child spans to parent spans through the current context.
- Exception recordingRecord exceptions and error status on spans.
- MetricsCreate counters and histograms with the OpenTelemetry meter.
What you need
- Java application using Maven dependencies
- Application Insights connection string
Try asking
- Set up OpenTelemetry in my Java app to send traces to Application Insights.
- Add a custom span processor that tags every span in my Java service.
- Create a counter and histogram for HTTP requests using the OpenTelemetry meter.
Good to know
- The exporter package is deprecated; the source recommends the autoconfigure package.
- The example dependency version is a placeholder and must be replaced with a resolved version.
- Configuring the exporter does not prove that application libraries are instrumented.
- Sensitive attributes and exceptions should be redacted before export.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/azure-monitor-opentelemetry-exporter-java/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to azure-monitor-opentelemetry-exporter-java
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
azure-monitor-opentelemetry-exporter-java: common questions
Is the Azure Monitor OpenTelemetry exporter for Java deprecated?
Yes. The source says this package is deprecated and recommends migrating to azure-monitor-opentelemetry-autoconfigure, with a linked migration guide.
How is the connection string supplied?
The source reads it from the APPLICATIONINSIGHTS_CONNECTION_STRING environment variable, or it can be passed explicitly to AzureMonitorExporter.customize.
Does configuring the exporter instrument my libraries automatically?
No. The source says configuring exporters is not proof that every application library is instrumented, so export must be verified for each pinned integration.
How do I install azure-monitor-opentelemetry-exporter-java?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is azure-monitor-opentelemetry-exporter-java free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is azure-monitor-opentelemetry-exporter-java safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to azure-monitor-opentelemetry-exporter-java?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
