Fähigkeiten azure-monitor-opentelemetry-exporter-java
📦

azure-monitor-opentelemetry-exporter-java

Sicher

Export OpenTelemetry telemetry to Azure Monitor

Integrate Java applications with Azure Monitor for distributed tracing and telemetry. Use OpenTelemetry standards to export traces, metrics, and logs to Application Insights.

UnterstĂĽtzt: Claude Codex Code(CC)
🥉 73 Bronze
1

Die Skill-ZIP herunterladen

2

In Claude hochladen

Gehe zu Einstellungen → Fähigkeiten → Skills → Skill hochladen

3

Einschalten und loslegen

Teste es

Verwendung von "azure-monitor-opentelemetry-exporter-java". Generate code to initialize OpenTelemetry with Azure Monitor using environment variables

Erwartetes Ergebnis:

Java code snippet showing AutoConfiguredOpenTelemetrySdk builder configuration with AzureMonitorExporter.customize() and connection string from APPLICATIONINSIGHTS_CONNECTION_STRING environment variable.

Verwendung von "azure-monitor-opentelemetry-exporter-java". How do I record exceptions in OpenTelemetry spans?

Erwartetes Ergebnis:

Code example demonstrating span.recordException() within a try-catch block, setting error status with span.setStatus(StatusCode.ERROR), and proper span lifecycle management in finally block.

Sicherheitsaudit

Sicher
v1 • 2/25/2026

All static analysis findings are false positives. The skill consists entirely of Markdown documentation (SKILL.md) with Java code examples for Azure Monitor OpenTelemetry integration. The 26 'external_commands' detections are Markdown backtick delimiters for code blocks, not shell execution. The 10 'network' findings are documentation URLs (GitHub, Microsoft Learn, Maven Central), not actual network calls. No executable code or security risks present.

1
Gescannte Dateien
285
Analysierte Zeilen
0
befunde
1
Gesamtzahl Audits
Keine Sicherheitsprobleme gefunden
Auditiert von: claude

Qualitätsbewertung

38
Architektur
100
Wartbarkeit
87
Inhalt
50
Community
100
Sicherheit
83
Spezifikationskonformität

Was du bauen kannst

DevOps Engineer Monitoring Java Applications

Set up end-to-end distributed tracing for microservices running on Azure. Configure OpenTelemetry to automatically export traces and metrics to Application Insights for production monitoring.

Java Developer Implementing Observability

Add custom instrumentation to Java applications using OpenTelemetry APIs. Create meaningful spans, record exceptions, and capture business metrics for debugging and performance analysis.

Cloud Architect Designing Telemetry Strategy

Evaluate OpenTelemetry integration patterns for Azure monitoring. Compare autoconfiguration versus manual setup approaches for enterprise Java application portfolios.

Probiere diese Prompts

Basic Azure Monitor Setup
Help me set up OpenTelemetry to export telemetry to Azure Monitor. I have a Java Spring Boot application and an Application Insights connection string.
Custom Tracing Implementation
Show me how to create custom spans with attributes in my Java application using OpenTelemetry. I need to trace order processing with order ID and customer tier attributes.
Migration from Deprecated Package
My application uses azure-monitor-opentelemetry-exporter which is deprecated. Guide me through migrating to azure-monitor-opentelemetry-autoconfigure with code examples.
Advanced Span Processing
I need to implement a custom SpanProcessor that adds organization-specific attributes to all spans and filters out health check endpoints. Show me the complete implementation.

Bewährte Verfahren

  • Use the autoconfigure package instead of the deprecated direct exporter for simplified setup
  • Always end spans in finally blocks or use try-with-resources for proper Scope management
  • Record exceptions on spans using recordException() and set appropriate error status codes

Vermeiden

  • Using the deprecated azure-monitor-opentelemetry-exporter package for new projects
  • Hardcoding connection strings in source code instead of using environment variables
  • Creating spans without proper exception handling or failing to end spans in error cases

Häufig gestellte Fragen

Is the azure-monitor-opentelemetry-exporter package still supported?
No, this package is deprecated. Microsoft recommends migrating to azure-monitor-opentelemetry-autoconfigure which provides automatic instrumentation and simplified configuration.
How do I get an Application Insights connection string?
Create an Application Insights resource in the Azure Portal. Navigate to the resource and find the connection string under 'Configure' section. It includes the instrumentation key and ingestion endpoint.
Can I use OpenTelemetry with existing Application Insights SDK?
Yes, but Microsoft recommends migrating fully to OpenTelemetry for new development. The autoconfigure package provides compatibility while following OpenTelemetry standards.
What telemetry data can I export to Azure Monitor?
OpenTelemetry supports exporting traces (distributed tracing spans), metrics (counters, histograms, gauges), and logs to Azure Monitor/Application Insights.
Do I need to install the Azure SDK for Java?
You need the azure-monitor-opentelemetry-autoconfigure Maven package. The OpenTelemetry Java SDK handles the core instrumentation, while Azure package provides the exporter.
How does distributed tracing work with OpenTelemetry and Azure?
OpenTelemetry automatically propagates trace context across service boundaries using W3C trace context headers. Each span is exported to Application Insights where you can view end-to-end transaction flows.