Habilidades Azure Monitor OpenTelemetry Exporter for Python
📊

Azure Monitor OpenTelemetry Exporter for Python

Seguro

Export OpenTelemetry Data to Azure Application Insights

This skill provides Claude Code with knowledge about the Azure Monitor OpenTelemetry Exporter for Python, enabling developers to send custom telemetry pipelines directly to Application Insights for monitoring and analysis.

Soporta: Claude Codex Code(CC)
📊 69 Adecuado
1

Descargar el ZIP de la skill

2

Subir en Claude

Ve a Configuración → Capacidades → Skills → Subir skill

3

Activa y empieza a usar

Pruébalo

Usando "Azure Monitor OpenTelemetry Exporter for Python". How do I export traces to Application Insights?

Resultado esperado:

To export traces to Application Insights, create an AzureMonitorTraceExporter and add it to a BatchSpanProcessor. Set up the tracer provider with your exporter, then use the tracer to create spans that will be automatically sent to Azure.

Usando "Azure Monitor OpenTelemetry Exporter for Python". What is the difference between this exporter and the distro?

Resultado esperado:

The azure-monitor-opentelemetry-exporter provides low-level exporter classes for custom pipelines. The azure-monitor-opentelemetry distro includes auto-instrumentation and pre-configured defaults. Use the exporter when you need fine-grained control over your telemetry pipeline.

Auditoría de seguridad

Seguro
v1 • 2/25/2026

This is a documentation-only skill containing only a SKILL.md file with usage examples for the azure-monitor-opentelemetry-exporter Python package. No executable code was scanned. Static analysis found 0 files, 0 lines of code, and 0 security issues. The skill provides legitimate Azure monitoring documentation with no malicious patterns.

0
Archivos escaneados
0
Líneas analizadas
0
hallazgos
1
Auditorías totales
No se encontraron problemas de seguridad
Auditado por: claude

Puntuación de calidad

38
Arquitectura
100
Mantenibilidad
87
Contenido
21
Comunidad
100
Seguridad
83
Cumplimiento de la especificación

Lo que puedes crear

Custom OpenTelemetry Pipeline

Build a custom telemetry pipeline with specific processors, samplers, and exporters for advanced monitoring scenarios

Azure-Native Monitoring

Integrate Python applications with Azure Application Insights for enterprise monitoring and alerting

Multi-Service Tracing

Implement consistent distributed tracing across microservices with Application Insights sampling

Prueba estos prompts

Basic Trace Export
How do I set up AzureMonitorTraceExporter to send OpenTelemetry traces to Application Insights?
Custom Metrics Setup
Show me how to configure AzureMonitorMetricExporter with a custom meter provider and export interval.
Logging Integration
How do I integrate Python logging with AzureMonitorLogExporter using BatchLogRecordProcessor?
AAD Authentication
Configure AzureMonitorTraceExporter to use Azure AD authentication with DefaultAzureCredential instead of instrumentation keys.

Mejores prácticas

  • Use BatchSpanProcessor instead of SimpleSpanProcessor in production for better performance
  • Enable ApplicationInsightsSampler for consistent sampling across distributed services
  • Use Azure AD authentication (DefaultAzureCredential) instead of instrumentation keys for better security

Evitar

  • Do not use SimpleSpanProcessor in production as it blocks on each export
  • Avoid hardcoding instrumentation keys in source code - use environment variables
  • Do not disable offline storage without understanding the impact on telemetry reliability

Preguntas frecuentes

What is the difference between azure-monitor-opentelemetry and azure-monitor-opentelemetry-exporter?
The distro package (azure-monitor-opentelemetry) provides auto-instrumentation and ready-to-use defaults. The exporter package gives you low-level control over the OpenTelemetry pipeline.
How do I authenticate without instrumentation keys?
Use Azure AD authentication by passing a credential like DefaultAzureCredential to the exporter constructor instead of a connection string.
Can I use this with sovereign clouds?
Yes, configure the credential with the appropriate authority (AzureGovernment or AzureChina) and use the sovereign cloud connection string.
What happens if Application Insights is unavailable?
With offline storage enabled (default), telemetry is stored locally and retried when connection is restored. Disable offline storage if you don't need this reliability.
How do I sample traces consistently?
Use ApplicationInsightsSampler which coordinates sampling decisions across service calls to ensure complete traces.
Does this support all telemetry types?
Yes, there are separate exporters for traces (AzureMonitorTraceExporter), metrics (AzureMonitorMetricExporter), and logs (AzureMonitorLogExporter).

Detalles del desarrollador

Estructura de archivos

📄 SKILL.md