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.6535917100 releases1 breaking changes6 common errorsView on GitHubRelease History
@azure/template_1.0.13-beta.6535917@azure/arm-computelimit_1.2.1@azure/template_1.0.13-beta.6555177@azure-rest/confidential-ledger_2.0.0-beta.1@azure/core-http-compat_2.5.0@azure/core-paging_1.7.0@azure/core-client_1.11.0@azure/core-util_1.14.0@azure/core-rest-pipeline_1.25.0@azure/core-tracing_1.4.0@azure-rest/core-client_2.8.0@azure/core-sse_2.4.0@azure/abort-controller_2.2.0@typespec/ts-http-runtime_0.3.7@azure/core-amqp_4.5.0@azure/logger_1.4.0@azure/core-xml_1.6.0@azure/core-lro_3.4.0@azure/core-auth_1.11.0@azure/template_1.0.13-beta.6553908@azure/arm-kubernetesconfiguration-fluxconfigurations_1.0.0@azure/arm-billing-trust_1.0.0-beta.1@azure/arm-netapp_25.0.0-beta.1@azure/arm-mongodbatlas_1.1.0-beta.1@azure/arm-devcenter_2.0.0-beta.1@azure/arm-artifactsigning_2.0.0-beta.1@azure/arm-cosmosdb_17.0.0@azure/ai-projects_2.3.1@azure/keyvault-admin_4.7.3-beta.1@azure/keyvault-keys_4.11.0-beta.1@azure/arm-recoveryservices-siterecovery_6.0.0@azure/arm-prometheusrulegroups_1.0.0@azure/arm-marketplace_1.0.0@azure/arm-communication_5.0.0@azure/arm-datafactory_20.0.0@azure/arm-alertprocessingrules_1.0.0@azure/template_1.0.13-beta.6531446@azure/arm-network_37.0.0@azure/planetarycomputer_1.0.0@azure/ai-projects_2.3.0@azure/monitor-opentelemetry_1.18.2@azure/monitor-opentelemetry-exporter_1.0.0-beta.43@azure/arm-monitor_8.0.0-beta.7@azure/arm-cognitiveservices_9.0.0-beta.3@azure/arm-automation_11.0.0-beta.6@azure/arm-programenrollment_1.0.0-beta.1@azure/arm-netapp_24.1.0@azure/arm-policyinsights_7.0.0-beta.1@azure/arm-machinelearning_4.0.0-beta.1@azure/arm-qumulo_3.0.0@azure/arm-storage_20.1.0@azure/web-pubsub-client_1.1.0@azure/arm-extendedlocation_1.0.0-beta.5@azure/arm-mongocluster_1.2.0@azure/arm-networkfunction_3.0.0-beta.1@azure/arm-sql_11.0.0@azure/arm-elastic_3.0.0-beta.1@azure/arm-relay_4.0.0-beta.1@azure/arm-networkcloud_2.0.0-beta.2@azure/storage-file-datalake_12.31.0@azure/storage-file-share_12.32.0@azure/storage-blob_12.33.0@azure/storage-queue_12.31.0@azure/arm-resiliencemanagement_1.0.0-beta.1@azure/arm-containerinstance_10.0.0-beta.1@azure/arm-cdn_10.0.0-beta.1@azure/arm-kusto_9.0.0-beta.1@azure/arm-compute_24.1.0@azure/arm-computelimit_1.2.0@azure/storage-common_12.4.1@azure-rest/core-client_2.7.0@azure/app-configuration_1.12.1@azure/arm-powerplatform_1.0.0-beta.1@azure/arm-cosmosdbforpostgresql_2.0.0-beta.1@azure/template_1.0.13-beta.6461204@azure/template_1.0.13-beta.6461159@azure/app-configuration_1.12.0@azure/arm-napsteromniagentapi_1.0.0-beta.1@azure/arm-managednetworkfabric_2.0.0@azure/arm-frontdoor_6.0.0-beta.1@azure/arm-consumption_10.0.0-beta.1@azure/communication-call-automation_1.6.0@azure/arm-datamigration_4.0.0-beta.1@azure/arm-servicebus_7.0.0-beta.1@azure/arm-paloaltonetworksngfw_2.0.0-beta.1@azure/arm-databoxedge_3.0.0-beta.1@azure/arm-hybridkubernetes_3.0.0-beta.2@azure/arm-servicefabric_4.0.0-beta.1@azure/arm-securityinsight_1.0.0-beta.8@azure/arm-botservice_5.0.0-beta.1@azure/arm-cloudhealth_1.0.0-beta.2Breaking65 featuresThis beta release introduces a large set of new interfaces and operations related to signals, health reports, and discovery rules. It also contains substantial breaking changes involving the removal of several older interface types and modifications to existing property types and operation signatures.
@azure/arm-eventhub_6.0.0-beta.1@azure/planetarycomputer_1.0.0-beta.1@azure/arm-mongocluster_1.2.0-beta.1@azure/arm-imagebuilder_5.0.0@azure/arm-managednetworkfabric_2.0.0-beta.1@azure/arm-healthbot_3.0.0@azure/arm-domainregistration_1.0.0@azure/arm-weightsandbiases_1.0.01 featureThis release marks the first stable version (1.0.0) of the @azure/arm-weightsandbiases package.
@azure/arm-standbypool_2.1.08 featuresThis release introduces the DynamicSizing interface and adds several new optional parameters and type aliases across various interfaces, along with a new enum value for KnownVersions.
Common 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