Skills azure-monitor-opentelemetry-py
๐Ÿ“ฆ

azure-monitor-opentelemetry-py

Content revision r2 Safe โš™๏ธ External commands๐ŸŒ Network access

Instrument Python Apps with Azure Monitor

Python telemetry setup can be repetitive and inconsistent. This skill provides focused guidance for configuring Azure Monitor OpenTelemetry across common frameworks and telemetry types.

Supports: Claude Codex Code(CC)
๐Ÿฅ‰ 78 Bronze

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "azure-monitor-opentelemetry-py" from https://skillstore.io/skills/sickn33-azure-monitor-opentelemetry-py.md and its manifest at https://skillstore.io/api/skills/sickn33-azure-monitor-opentelemetry-py/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Test it

Using "azure-monitor-opentelemetry-py". Configure monitoring for a small FastAPI service.

Expected outcome:

  • Initialize Azure Monitor before creating the FastAPI application.
  • Read the Application Insights connection string from the environment.
  • Confirm that FastAPI instrumentation is enabled.

Using "azure-monitor-opentelemetry-py". Reduce telemetry volume for a busy service.

Expected outcome:

Use a sampling ratio suited to the traffic level, then verify that critical operations remain visible in Application Insights.

Using "azure-monitor-opentelemetry-py". Separate three services in Application Map.

Expected outcome:

Assign a distinct cloud role name to each service through an OpenTelemetry resource, while keeping shared authentication and sampling policies.

Security Audit

Safe
v5 โ€ข 7/23/2026 Open versioned report

All 35 external-command alerts identify Markdown code fences or inline formatting, not Ruby or shell execution. The two URLs are placeholder Azure Application Insights endpoints in configuration examples, with no hidden destination or exfiltration intent. No prompt injection or other semantic security issue was found.

1
Files scanned
233
Lines analyzed
0
Review items
0
False positives ignored
No confirmed security findings were detected by the latest completed static and semantic audit. This does not prove the skill has no side effects.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/sickn33-azure-monitor-opentelemetry-py/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/sickn33-azure-monitor-opentelemetry-py/security.svg)](https://skillstore.io/skills/sickn33-azure-monitor-opentelemetry-py?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/sickn33-azure-monitor-opentelemetry-py?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-azure-monitor-opentelemetry-py/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/sickn33-azure-monitor-opentelemetry-py.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

sickn33. (2026). azure-monitor-opentelemetry-py security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-azure-monitor-opentelemetry-py/audits/5

BibTeX citation

@techreport{sickn33-sickn33-azure-monitor-opentelemetry-py-2026, author = {sickn33}, title = {azure-monitor-opentelemetry-py security audit report (audit version 5)}, institution = {Skillstore}, year = {2026}, number = {5}, url = {https://skillstore.io/skills/sickn33-azure-monitor-opentelemetry-py/audits/5}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "azure-monitor-opentelemetry-py security audit report (audit version 5)" version: "unspecified" type: report authors: - name: "sickn33" date-released: "2026-07-23" url: "https://skillstore.io/skills/sickn33-azure-monitor-opentelemetry-py/audits/5" identifiers: - type: other value: "skillstore:sickn33-azure-monitor-opentelemetry-py:audit:5" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: High
55
Architecture
85
Maintainability
87
Content
68
Community
83
Spec Compliance

What You Can Build

Add basic Python observability

Configure Azure Monitor quickly for an existing Python service using the standard environment variable.

Instrument a web framework

Apply the correct initialization pattern to Flask, Django, or FastAPI applications.

Standardize production telemetry

Define service names, sampling, authentication, and selected instrumentations across multiple services.

Try These Prompts

Basic setup
Show how to configure Azure Monitor OpenTelemetry for my Python application using an environment variable.
Framework integration
Create an Azure Monitor OpenTelemetry setup for my [Flask, Django, or FastAPI] application.
Custom telemetry
Add custom traces, metrics, and structured logs for these operations: [describe operations].
Production configuration
Design production telemetry settings for [services], including service names, sampling, Azure AD authentication, live metrics, and selected instrumentations.

Best Practices

  • Configure Azure Monitor before importing or initializing instrumented libraries.
  • Store connection strings outside source control and use Azure AD authentication for production.
  • Set clear service names and tune sampling against traffic, diagnostic needs, and cost.

Avoid

  • Do not commit real Application Insights connection strings to source control.
  • Do not initialize telemetry after instrumented frameworks and clients are already active.
  • Do not enable full sampling in high-volume production systems without reviewing cost and data volume.

Frequently Asked Questions

Which Python frameworks are covered?
The skill provides setup examples for Flask, Django, and FastAPI.
Can it create an Application Insights resource?
No. You must provide an existing resource and its connection details.
Does it support custom telemetry?
Yes. It includes examples for custom traces, metrics, span attributes, and Python logs.
Can I control telemetry volume?
Yes. Configure a sampling ratio between zero and one based on traffic and diagnostic requirements.
Does it support passwordless Azure authentication?
Yes. The documented approach passes DefaultAzureCredential to the Azure Monitor configuration.
Will it confirm that telemetry reaches Azure?
No. Validate deployed telemetry, service mapping, logs, and metrics in your own Azure environment.

Developer Details

Author

sickn33

License

MIT

Skillstore revision

r2

Version notice

The author did not declare a version.

Ref

f9e2c34b4f19c7f3e6b0a1e93227b5f77cc12526

Maintenance freshness

7/26/2026

Usage

8 downloads ยท 91 views

File structure

๐Ÿ“„ SKILL.md

More from sickn33

View all
View all