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.
Release History
@azure/arm-resources-subscriptions_3.0.0-beta.1@azure/arm-managementgroups_3.0.0-beta.1@azure/arm-databoundaries_1.0.0-beta.3@azure/arm-serialconsole_3.0.0-beta.1@azure/arm-redisenterprisecache_5.0.0-beta.1@azure/arm-attestation_3.0.0-beta.1@azure/arm-containerservice_25.3.0-beta.1@azure/arm-appcontainers_4.0.0-beta.1@azure/arm-billing_6.0.0-beta.1@azure/ai-voicelive_1.0.0@azure/arm-storage_20.0.0@azure/arm-resourcesdeployments_1.0.0-beta.2@azure/arm-authorization_10.0.0-beta.3@azure/arm-appinsights_5.0.0-beta.9@azure/arm-msi_2.3.0-beta.1@azure/arm-operationalinsights_11.0.0-beta.1@azure/arm-horizondb_1.0.0-beta.1@azure/arm-hdinsight_2.0.0-beta.1@azure/arm-subscriptions_7.0.0-beta.1@azure/arm-containerservice_25.2.0@azure/ai-speech-transcription_1.0.0@azure/ai-speech-transcription_1.0.0-beta.2@azure/arm-peering_2.2.0-beta.1@azure/arm-providerhub_1.0.0-beta.1@azure/arm-dataprotection_5.0.0-beta.1@azure/monitor-opentelemetry_1.18.0@azure/monitor-opentelemetry-exporter_1.0.0-beta.41@azure/arm-cognitiveservices_9.0.0-beta.1@azure/storage-file-datalake_12.31.0-beta.1@azure/storage-queue_12.31.0-beta.1@azure/storage-file-share_12.32.0-beta.1@azure/storage-blob_12.33.0-beta.1@azure/monitor-opentelemetry_1.17.0@azure/arm-recoveryservicesbackup_14.0.0-beta.1@azure/batch_13.0.0@azure/monitor-opentelemetry-exporter_1.0.0-beta.40@azure/arm-durabletask_1.1.0@azure/arm-fileshares_1.0.0-beta.1@azure/template_1.0.13-beta.6260096@azure/ai-voicelive_1.0.0-beta.4@azure/notification-hubs_2.1.0@azure/keyvault-secrets_4.11.2@azure/opentelemetry-instrumentation-azure-sdk_1.0.0@azure/arm-netapp_24.0.0@azure/arm-iotoperations_2.0.0141 featuresThis major release introduces a vast number of new interfaces and operation groups across Akri, Dataflow, and Registry Endpoint functionalities. Several existing interfaces have been augmented with new optional properties related to health state, persistence, and configuration.
@azure/search-documents_13.0.0@azure/ai-projects_2.1.1@azure/arm-appconfiguration_6.0.0-beta.2@azure/ai-content-understanding_1.2.0-beta.1@azure/arm-planetarycomputer_1.0.01 featureThis release marks the first stable version (1.0.0) of the @azure/arm-planetarycomputer package.
@azure/arm-compute_24.0.0@azure/arm-communication_5.0.0-beta.1@azure/arm-alertsmanagement_1.0.0-beta.1@azure/arm-prometheusrulegroups_1.0.0-beta.1@azure/arm-datafactory_20.0.0-beta.1@azure/arm-cosmosdb_17.0.0-beta.3@azure/arm-recoveryservices-siterecovery_6.0.0-beta.1@azure/arm-commerce_4.0.0-beta.4@azure/arm-tenantactivitylogalerts_1.0.0-beta.1@azure/arm-previewalertrule_1.0.0-beta.1@azure/arm-alertprocessingrules_1.0.0-beta.1@azure/arm-alertrulerecommendations_1.0.0-beta.1@azure/postgresql-auth_1.0.0-beta.1@azure/arm-monitorslis_1.0.0-beta.1@azure/ai-content-understanding_1.1.0@azure/arm-servicegroups_1.0.0-beta.1@azure/arm-relationships_1.0.0-beta.1@azure/playwright_1.1.5@azure/arm-containerservice_25.1.0@azure/arm-computelimit_1.0.0@azure/arm-azurestackhci_4.1.0-beta.1@azure/core-amqp_4.4.2@azure/event-hubs_6.0.4@azure/cosmos_4.9.3@azure/arm-kubernetesconfiguration-extensions_1.0.0@azure/ai-projects_2.1.0@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.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