# Configure Azure Monitor OpenTelemetry Exporters

Custom Python telemetry pipelines require careful exporter configuration. This skill provides focused examples for traces, metrics, logs, authentication, sampling, and retry storage.

## Install

```bash
npx skillstore add sickn33/azure-monitor-opentelemetry-exporter-py
```

## Metadata

- Status: approved
- Slug: sickn33-azure-monitor-opentelemetry-exporter-py
- Skillstore revision: r2
- Version status: missing
- Tree hash: c0bdd2746d3b98db5d6149c24f66630c791ff0559ae0993fe107cd3d30c9fdd6
- Author: sickn33
- GitHub username: sickn33
- License: MIT
- Repository: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/azure-monitor-opentelemetry-exporter-py
- Ref: f9e2c34b4f19c7f3e6b0a1e93227b5f77cc12526
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 78
- Quality tier: bronze
- Public page: https://skillstore.pages.dev/skills/sickn33-azure-monitor-opentelemetry-exporter-py
- Manifest: https://skillstore.pages.dev/api/skills/sickn33-azure-monitor-opentelemetry-exporter-py/manifest

## Capabilities

- Guides installation of the Azure Monitor OpenTelemetry exporter package.
- Configures trace, metric, and log exporters in custom Python pipelines.
- Shows connection-string and DefaultAzureCredential authentication options.
- Explains Application Insights sampling and metric export intervals.
- Covers retry storage and Azure Government endpoint configuration.

## Use Cases

- Add tracing to a Python service: Build a custom trace pipeline with batch processing and Application Insights export.
- Standardize service telemetry: Align trace, metric, and log exporter configuration across Python workloads.
- Tune production observability: Select sampling, export intervals, authentication, and retry storage for operational requirements.

## Prompt Templates

### Configure basic trace export

```
Show how to install the exporter and configure Python trace export. Read the connection string from APPLICATIONINSIGHTS_CONNECTION_STRING and use batch processing.
```

### Build a complete telemetry pipeline

```
Create a Python plan for Azure Monitor trace, metric, and log exporters. Explain each provider, processor, and reader choice.
```

### Tune production exporter settings

```
Review my custom Azure Monitor exporter design. Recommend sampling, batch processing, export intervals, and offline storage for [traffic profile].
```

### Design sovereign-cloud authentication

```
Design Azure Government telemetry export with DefaultAzureCredential. Cover authority, ingestion endpoint, secret handling, retry storage, and validation steps.
```

## Limitations

- Provides examples but does not run, deploy, or validate an application.
- Requires an existing Azure Application Insights resource and valid credentials.
- Uses placeholder connection strings that must be replaced securely.
- Focuses on low-level exporters rather than automatic instrumentation.

## Best Practices

- Prefer Azure AD authentication and keep connection strings outside source control.
- Use batch processors, consistent sampling, and export intervals matched to workload volume.
- Validate telemetry fields, delivery, retry behavior, and costs in a staging environment.

## Anti Patterns

- Do not embed real instrumentation keys or connection strings in source files.
- Do not enable unrestricted telemetry collection without reviewing sensitive data.
- Do not assume placeholder endpoints or storage paths are production-ready.

## Security Audit

- Audited at: 2026-07-23T21:55:16.597\+00:00
- Summary: All 34 external-command findings are Markdown fences or inline code, not Ruby or shell command execution. The two URLs are placeholder Azure ingestion endpoints used in documentation. No prompt injection or malicious intent was found.

## Stats

- Views: 111
- Downloads: 8
- Favorites: 0
- Popularity score: 0
