sickn33/antigravity-awesome-skills/azure-monitor-opentelemetry-py
Claude Code and agent skill by sickn33/antigravity-awesome-skills
- community
Checking that the SKILL.md file is still in the repository.
Azure Monitor OpenTelemetry Distro for Python. Use for one-line Application Insights setup with auto-instrumentation.
Install
npx vskill@latest install sickn33/antigravity-awesome-skills/azure-monitor-opentelemetry-pySKILL.md
Azure Monitor OpenTelemetry Distro for Python
One-line setup for Application Insights with OpenTelemetry auto-instrumentation.
Installation
Environment Variables
Quick Start
Explicit Configuration
With Flask
With Django
With FastAPI
Custom Traces
Custom Metrics
Custom Logs
Sampling
Cloud Role Name
Set cloud role name for Application Map:
Disable Specific Instrumentations
Enable Live Metrics
Azure AD Authentication
Configure once per process. Pin and inspect the installed distro: supported libraries and defaults change, and Azure Monitor versus Microsoft OpenTelemetry distros use different APIs. Do not initialize both. Azure SDK reference documents instrumentation_options; confirm optional instrumentations/dependencies rather than assuming every library below is included. Telemetry leaves the process: authorize its destination/retention, redact secrets and personal data from logs/spans, limit cardinality and ingestion cost, and verify export using synthetic data. Trace sampling does not imply metrics or all logs are sampled.
Auto-Instrumentations Included
| Library | Telemetry Type | |
|---|---|---|
| Flask | Traces | |
| Django | Traces | |
| FastAPI | Traces | |
| Requests | Traces | |
| urllib3 | Traces | |
| httpx | Traces | |
| aiohttp | Traces | |
| psycopg2 | Traces | |
| pymysql | Traces | |
| pymongo | Traces | |
| redis | Traces |
Configuration Options
| Parameter | Description | Default | |
|---|---|---|---|
connection_string | Application Insights connection string | From env var | |
credential | Azure credential for AAD auth | None | |
sampling_ratio | Explicit trace sampling fraction | Version-dependent; inspect sampler/environment | |
resource | OpenTelemetry Resource | Auto-detected | |
instrumentation_options | Per-library enabled dictionary | Version-dependent defaults | |
enable_live_metrics | Enable Live Metrics stream | Version-dependent; set explicitly |
Best Practices
- Call configure_azure_monitor() early — Before importing instrumented libraries
- Use environment variables for connection string in production
- Set cloud role name for multi-service applications
- Enable sampling in high-traffic applications
- Use structured logging for better log analytics queries
- Add custom attributes to spans for better debugging
- Use AAD authentication for production workloads
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/azure-monitor-opentelemetry-py/SKILL.md
Popularity
- Repository stars
- 26,684
- Repository forks
- 4,541
- Repository npm downloads, 7 days
- 5,562
- 7-day trend score
- 72
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 23 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sickn33/antigravity-awesome-skills/azure-monitor-opentelemetry-py)