Azure Monitor
Backend & InfraThis repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
@azure/template_1.0.13-beta.6140844100 releases1 breaking changes6 common errorsView on GitHubRelease History
@azure/template_1.0.13-beta.6140844@azure/template_1.0.13-beta.6140585@azure/arm-appnetwork_1.0.0-beta.1@azure/arm-deviceregistry_1.2.0-beta.1@azure/playwright_1.1.4@azure/keyvault-secrets_4.11.1@azure/keyvault-certificates_4.10.3@azure/keyvault-common_2.1.0@azure/identity-broker_1.4.0@azure/identity-vscode_2.2.0@azure/identity-cache-persistence_1.3.0@azure/identity_4.14.0-beta.3@azure/keyvault-certificates_4.10.2@azure/keyvault-secrets_4.11.0@azure/template_1.0.13-beta.6127129@azure/template_1.0.13-beta.6126982@azure/core-http-compat_2.4.0@azure/core-xml_1.5.1@typespec/ts-http-runtime_0.3.5@azure-rest/core-client_2.6.0@azure/template_1.0.13-beta.6125915@azure/arm-containerservice_25.1.0-beta.1@azure/ai-projects_2.0.2@azure/arm-search_4.0.0-beta.2@azure/arm-playwright_1.1.0-beta.1@azure/arm-azurestackhci_4.0.0@azure/arm-confluent_4.0.0-beta.1@azure/arm-maps_4.0.0-beta.1@azure/arm-containerservicefleet_2.1.0-beta.3@azure/arm-kubernetesconfiguration-fluxconfigurations_1.0.0-beta.2@azure/arm-kubernetesconfiguration-extensiontypes_1.0.0-beta.2@azure/template_1.0.13-beta.6056743@azure/arm-batch_11.0.0@azure/arm-containerregistry_12.1.0-beta.1@azure/arm-nginx_4.0.0@azure/arm-netapp_23.1.0-beta.1@azure/arm-keyvault_5.0.0@azure/template_1.0.13-beta.6038884@azure/arm-policy_7.0.0@azure/arm-marketplace_1.0.0-beta.1@azure/arm-containerservice_25.0.0@azure/identity_4.13.1@azure/template_1.0.13-beta.6037409@azure/arm-containerregistry_12.0.0@azure/cosmos_4.9.2@azure/arm-kubernetesconfiguration-privatelinkscopes_1.0.0-beta.2@azure/arm-kubernetesconfiguration-extensions_1.0.0-beta.2@azure/arm-storagecache_8.2.0@azure/arm-eventgrid_15.0.0-beta.2@azure/template_1.0.13-beta.6031970@azure/playwright_1.1.3@azure-rest/load-testing_1.2.0-beta.15 featuresThis beta release introduces support for several new features including Notification Rules, Triggers, and Actionable Insights by updating the client library to API Version 2025-11-01-preview.
@azure/web-pubsub-client_1.0.4@azure/arm-containerregistrytasks_1.0.0-beta.1@azure/ai-speech-transcription_1.0.0-beta.1@azure/ai-projects_2.0.1@azure/arm-servicefabricmanagedclusters_1.0.0@azure/template_1.0.13-beta.5996851@azure/template_1.0.13-beta.5996719@azure/arm-managedops_1.0.0-beta.2@azure/arm-postgresql-flexible_10.0.0-beta.1@azure/template_1.0.13-beta.5997174@azure/template_1.0.13-beta.5995951@azure/template_1.0.13-beta.5991963@azure/template_1.0.13-beta.5991592@azure/arm-disconnectedoperations_1.0.0@azure/template_1.0.13-beta.5991181@azure/storage-queue_12.30.0-beta.1@azure/storage-file-datalake_12.30.0-beta.1@azure/storage-file-share_12.31.0-beta.1@azure/service-bus_7.10.0-beta.4@azure/template_1.0.13-beta.5977042@azure/ai-projects_2.0.0@azure/storage-blob_12.32.0-beta.1@azure/storage-common_12.4.0-beta.1@azure/arm-disconnectedoperations_1.0.0-beta.1@azure/template_1.0.13-beta.5970304@azure/template_1.0.13-beta.5969671@azure/template_1.0.13-beta.5968911@azure/template_1.0.13-beta.5968427@azure/container-registry_1.1.2@azure/core-rest-pipeline_1.23.0@typespec/ts-http-runtime_0.3.4@azure/opentelemetry-instrumentation-azure-sdk_1.0.0-beta.10@azure/template_1.0.13-beta.5963717@azure/template_1.0.13-beta.5962627@azure/arm-netapp_23.0.0@azure/arm-computebulkactions_1.0.0-beta.1@azure/ai-content-understanding_1.0.0@azure/arm-elasticsan_2.0.0@azure/arm-connectedcache_1.0.0-beta.2Breaking35 featuresThis beta release introduces numerous new operations and data structures related to enterprise and ISP cache node history and details. It also contains breaking changes by removing several legacy operation groups and interfaces.
@azure/ai-projects_2.0.0-beta.5@azure/monitor-opentelemetry_1.16.0@azure/monitor-opentelemetry-exporter_1.0.0-beta.39@azure-rest/confidential-ledger_1.1.2-beta.4@azure/batch_13.0.0-beta.2@azure/arm-artifactsigning_1.0.0@azure/ai-voicelive_1.0.0-beta.3@azure/arm-managedops_1.0.0-beta.1@azure/playwright_1.1.2Common Errors
CredentialUnavailableError2 reportsCredentialUnavailableError in azure-monitor usually means the application can't find or access the specified Azure credentials due to incorrect configurations or missing environment variables. Ensure the correct Azure Identity credentials (e.g., Managed Identity, Service Principal) are configured and properly accessible in your environment, and explicitly set authentication details like tenantId if necessary via DefaultAzureCredentialOptions. Verify environment variables like AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, and AZURE_TENANT_ID are correctly defined if using a Service Principal.
CallingCommunicationError1 reportCallingCommunicationError within azure-monitor often stems from insufficient permissions or improper configuration of the Azure Communication Services resource. Ensure the managed identity or service principal used by azure-monitor has the necessary "Communication Data Reader" or "Communication Data Contributor" role assigned on the Azure Communication Services resource. Additionally, verify that the connection string or endpoint configuration used by azure-monitor to access the Communication Services resource is correct and valid.
VoiceLiveConnectionError1 reportVoiceLiveConnectionError usually arises from the @azure/ai-voicelive package's reliance on Node.js-specific modules (like `require`) that are unavailable in browser environments. To resolve this, either use a bundler like Webpack or Parcel to properly package the library for browser use and polyfill missing Node.js modules, or refactor the code to avoid Node.js dependencies when running in the browser. Consider alternative libraries if direct browser compatibility is essential and bundling is not feasible.
ReferenceError1 reportThe "ReferenceError: process is not defined" error in Azure SDKs usually happens when code meant for Node.js (that relies on the `process` global) runs in a browser environment where `process` is unavailable. To fix this, use a bundler like Webpack or Parcel with appropriate configurations to polyfill or mock the `process` object, or conditionally load the code depending on the runtime environment using environment detection.
RestError1 reportThe "RestError" in azure-monitor often arises from missing required parameters, especially the `api-version`, in your request. Ensure you are explicitly providing the `api-version` parameter when calling Azure Monitor APIs. For instance, update your code to include `api_version='your_api_version'` within the relevant method call, such as `client.files.list(api_version='2020-10-01')`.
OperationTimeoutError1 reportOperationTimeoutError in azure-monitor usually stems from network latency or resource contention preventing operations from completing within the default timeout. Increase the timeout settings for relevant Azure Monitor SDK operations (e.g., using the `timeout` option in client constructors or method calls) to allow more time for requests to succeed. Additionally, review network configurations and resource utilization to identify and resolve potential bottlenecks causing slow response times.
Related Backend & Infra Packages
Production-Grade Container Scheduling and Management
Node.js JavaScript runtime ✨🐢🚀✨
Promise based HTTP client for the browser and node.js
A modern runtime for JavaScript and TypeScript.
Deliver web apps with confidence 🚀
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
Subscribe to Updates
Get notified when new versions are released