azure-mgmt-monitor
Microsoft Azure Monitor Client Library for Python
Decision gist · record as of 2026-08-14
Yes. This is the official Azure Monitor management SDK—actively maintained, permissively licensed, and low-friction to install. Use it if you need to manage Azure Monitor resources programmatically. The main requirement is correct Azure credential configuration; once set up, the API is straightforward.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Azure subscription and environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID.
- Low install friction; pure Python wheel.
- Maintained actively with a recent release (2025-07-28).
License · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions; safe for most projects.
last release 2025-07-28 (382 days) · last repo commit 2026-08-14 · 5,588 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 8,837,394 downloads/mo, #1,591 on PyPI
Alternatives
Verify before relying
pip install azure-mgmt-monitor
from azure.mgmt.monitor import MonitorManagementClient
from azure.common import AzureHttpAuthentication
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = MonitorManagementClient(credential, subscription_id=sub_id)- Specific performance characteristics or rate limits for large-scale monitoring operations.
- Whether all operation groups listed in 7.0.0 release are fully documented with examples.
- Recommended authentication pattern and credential configuration beyond environment variables.
What it is and what it does
This is the Microsoft Azure Monitor management library for Python, providing a client interface to create, read, update, and delete Azure Monitor resources. It wraps the Azure Resource Manager API for monitoring, allowing developers to programmatically manage alerts, metrics, autoscaling policies, data collection endpoints and rules, action groups, and related monitoring infrastructure.
The package is part of the official Azure SDK and is maintained by Microsoft. It depends on azure-common and azure-mgmt-core for authentication and base client functionality, plus isodate and typing-extensions for data handling. The library is tested against Python 3.9+ and requires explicit Azure credentials to authenticate requests.
Use it for
- Automate creation and management of metric alerts and alert rules across multiple Azure resources.
- Configure autoscaling policies and action groups programmatically as part of infrastructure-as-code workflows.
- Set up data collection rules and endpoints for centralized log and metric ingestion into Azure Monitor.
- Query metric definitions, baselines, and activity logs to build custom monitoring dashboards or reports.
- Manage alert rule incidents and activity log alerts in response to operational events.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is the official Azure Monitor management SDK—actively maintained, permissively licensed, and low-friction to install. Use it if you need to manage Azure Monitor resources programmatically. The main requirement is correct Azure credential configuration; once set up, the API is straightforward.
Install
azure-mgmt-monitor on PyPI
Before you install
Low install friction; pure Python wheel. Maintained actively with a recent release (2025-07-28). Requires Python 3.9+.
Requires Azure subscription and environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID.
License in practice
MIT License permits commercial and private use with minimal restrictions; safe for most projects.
Quickstart
pip install azure-mgmt-monitor
from azure.mgmt.monitor import MonitorManagementClient
from azure.common import AzureHttpAuthentication
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = MonitorManagementClient(credential, subscription_id=sub_id)
Verify before relying
- Specific performance characteristics or rate limits for large-scale monitoring operations.
- Whether all operation groups listed in 7.0.0 release are fully documented with examples.
- Recommended authentication pattern and credential configuration beyond environment variables.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesisodatetyping-extensionsazure-commonazure-mgmt-core |
| Maintenance | Actively maintained 382 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 8,837,394 / month, #1,591 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9 |
Evidence: azure_mgmt_monitor-7.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “azure monitor management client”
- azure-mgmt-monitorProvides programmatic access to Azure Monitor resources—alerts,…
- azure-mgmt-hanaonazureProvides a Python client library to manage SAP HANA on Azure…
- azure-mgmt-resource-deploymentsManages Azure resource deployments programmatically, providing a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also azure-mgmt-commerce · azure-mgmt-resource-deployments · azure-mgmt-securityinsight · azure-mgmt-security · azure-mgmt-resource · azure-monitor-querymetrics · azure-mgmt-policyinsights · azure-monitor-query · azure-mgmt-resource-subscriptions · azure-mgmt-streamanalytics