Skip to content

Commit 7385768

Browse files
authored
Fix urls (Azure#39260)
1 parent dfd8d35 commit 7385768

File tree

6 files changed

+31
-31
lines changed

6 files changed

+31
-31
lines changed

sdk/monitor/azure-monitor-ingestion/samples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ To learn more about Azure Monitor, see the [Azure Monitor service documentation]
8787
<!-- External links -->
8888
[azure_identity]: https://pypi.org/project/azure-identity/
8989
[azure_identity_default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential
90-
[azure_monitor_create_using_portal]: https://docs.microsoft.com/azure/azure-monitor/logs/quick-create-workspace
91-
[azure_monitor_docs]: https://docs.microsoft.com/azure/azure-monitor/
90+
[azure_monitor_create_using_portal]: https://learn.microsoft.com/azure/azure-monitor/logs/quick-create-workspace
91+
[azure_monitor_docs]: https://learn.microsoft.com/azure/azure-monitor/
9292
[azure_monitor_logs_ingestion_overview]: https://learn.microsoft.com/azure/azure-monitor/logs/logs-ingestion-api-overview
9393
[azure_subscription]: https://azure.microsoft.com/free/
9494
[data_collection_endpoint]: https://learn.microsoft.com/azure/azure-monitor/essentials/data-collection-endpoint-overview

sdk/monitor/azure-monitor-opentelemetry-exporter/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ Please find further examples in the [samples][exporter_samples] directory demons
647647

648648
### Additional documentation
649649

650-
For more extensive documentation on the Azure Monitor service, see the [Azure Monitor documentation][product_docs] on docs.microsoft.com.
650+
For more extensive documentation on the Azure Monitor service, see the [Azure Monitor documentation][product_docs] on learn.microsoft.com.
651651

652652
For detailed overview of OpenTelemetry, visit their [overview](https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/overview.md) page.
653653

@@ -673,13 +673,13 @@ contact [[email protected]](mailto:[email protected]) with any additio
673673
[aad_for_ai_docs]: https://learn.microsoft.com/azure/azure-monitor/app/azure-ad-authentication?tabs=python
674674
[api_docs]: https://azure.github.io/azure-sdk-for-python/monitor.html#azure-monitor-opentelemetry-exporter
675675
[exporter_samples]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/monitor/azure-monitor-opentelemetry-exporter/samples
676-
[product_docs]: https://docs.microsoft.com/azure/azure-monitor/overview
676+
[product_docs]: https://learn.microsoft.com/azure/azure-monitor/overview
677677
[azure_sub]: https://azure.microsoft.com/free/
678678
[pip]: https://pypi.org/project/pip/
679679
[pypi]: https://pypi.org/project/azure-monitor-opentelemetry-exporter/
680680
[python]: https://www.python.org/downloads/
681681
[ot_sdk_python]: https://github.com/open-telemetry/opentelemetry-python
682-
[application_insights_namespace]: https://docs.microsoft.com/azure/azure-monitor/app/app-insights-overview#how-do-i-use-application-insights
682+
[application_insights_namespace]: https://learn.microsoft.com/azure/azure-monitor/app/app-insights-overview#how-do-i-use-application-insights
683683
[opentelemetry_spec]: https://opentelemetry.io/
684684
[instrumentation_library]: https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/overview.md#instrumentation-libraries
685685
[log_concept]: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/overview.md#log-signal

sdk/monitor/azure-monitor-opentelemetry-exporter/samples/logs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ $ python sample_properties.py
5959
## Explore the data
6060

6161
After running the applications, data would be available in [Azure](
62-
https://docs.microsoft.com/azure/azure-monitor/app/app-insights-overview#where-do-i-see-my-telemetry)
62+
https://learn.microsoft.com/azure/azure-monitor/app/app-insights-overview#where-do-i-see-my-telemetry)

sdk/monitor/azure-monitor-opentelemetry-exporter/samples/metrics/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ $ python sample_views.py
5858
## Explore the data
5959

6060
After running the applications, data would be available in [Azure](
61-
https://docs.microsoft.com/azure/azure-monitor/app/app-insights-overview#where-do-i-see-my-telemetry)
61+
https://learn.microsoft.com/azure/azure-monitor/app/app-insights-overview#where-do-i-see-my-telemetry)

sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ $ python sample_jaeger.py
197197

198198
### Azure AppConfig Add Config Setting
199199

200-
The following sample assumes that you have setup an Azure App Configuration [Store](https://docs.microsoft.com/azure/azure-app-configuration/quickstart-python).
200+
The following sample assumes that you have setup an Azure App Configuration [Store](https://learn.microsoft.com/azure/azure-app-configuration/quickstart-python).
201201

202202
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
203203

@@ -214,7 +214,7 @@ $ python sample_app_config.py
214214

215215
### Azure Communication Chat Create Client/Thread
216216

217-
The following sample assumes that you have setup an Azure Communication Services [resource](https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource).
217+
The following sample assumes that you have setup an Azure Communication Services [resource](https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource).
218218

219219
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
220220

@@ -233,7 +233,7 @@ $ python sample_comm_chat.py
233233

234234
### Azure Communication Phone Numbers List Purchased Numbers
235235

236-
The following sample assumes that you have setup an Azure Communication Services [resource](https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource).
236+
The following sample assumes that you have setup an Azure Communication Services [resource](https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource).
237237

238238
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
239239

@@ -250,7 +250,7 @@ $ python sample_comm_phone.py
250250

251251
### Azure Communication SMS Send Message
252252

253-
The following sample assumes that you have setup an Azure Communication Services [resource](https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource).
253+
The following sample assumes that you have setup an Azure Communication Services [resource](https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource).
254254

255255
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
256256

@@ -267,7 +267,7 @@ $ python sample_comm_sms.py
267267

268268
### Azure CosmosDb Create Db/Container
269269

270-
The following sample assumes that you have setup Azure CosmosDb [account](https://docs.microsoft.com/azure/cosmos-db/sql/create-cosmosdb-resources-portal).
270+
The following sample assumes that you have setup Azure CosmosDb [account](https://learn.microsoft.com/azure/cosmos-db/sql/create-cosmosdb-resources-portal).
271271

272272
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
273273
* Update `ACCOUNT_URI` environment variable
@@ -286,7 +286,7 @@ $ python sample_cosmos.py
286286

287287
### Azure EventHub Send EventData
288288

289-
The following sample assumes that you have setup an Azure EventHubs namespace and [EventHub](https://docs.microsoft.com/azure/event-hubs/event-hubs-create).
289+
The following sample assumes that you have setup an Azure EventHubs namespace and [EventHub](https://learn.microsoft.com/azure/event-hubs/event-hubs-create).
290290

291291
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
292292
* Update `EVENT_HUB_CONN_STR` environment variable
@@ -305,7 +305,7 @@ $ python sample_event_hub.py
305305

306306
### Azure EventHub Blob Storage Checkpoint Store
307307

308-
The following sample assumes that you have setup an Azure EventHubs namespace, [EventHub](https://docs.microsoft.com/azure/event-hubs/event-hubs-create) and Azure Blob [storage](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal).
308+
The following sample assumes that you have setup an Azure EventHubs namespace, [EventHub](https://learn.microsoft.com/azure/event-hubs/event-hubs-create) and Azure Blob [storage](https://learn.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal).
309309

310310
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
311311
* Update `EVENT_HUB_CONN_STR` environment variable
@@ -325,7 +325,7 @@ $ python sample_blob_checkpoint.py
325325

326326
### Azure EventGrid Send Event
327327

328-
The following sample assumes that you have setup an Azure Event Grid [Topic](https://docs.microsoft.com/azure/event-grid/custom-event-quickstart-portal).
328+
The following sample assumes that you have setup an Azure Event Grid [Topic](https://learn.microsoft.com/azure/event-grid/custom-event-quickstart-portal).
329329

330330
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
331331
* Update `EG_ACCESS_KEY` environment variable
@@ -344,7 +344,7 @@ $ python sample_event_grid.py
344344

345345
### Azure Form Recognizer Analyze Document
346346

347-
The following sample assumes that you have setup an Azure Form Recognizer [Resource](https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account).
347+
The following sample assumes that you have setup an Azure Form Recognizer [Resource](https://learn.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account).
348348

349349
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
350350

@@ -361,7 +361,7 @@ $ python sample_form_recognizer.py
361361

362362
### Azure KeyVault Create Certificate
363363

364-
The following sample assumes that you have setup an Azure Key Vault [resource](https://docs.microsoft.com/azure/key-vault/general/quick-create-portal) and a service [principal](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal) for authentication.
364+
The following sample assumes that you have setup an Azure Key Vault [resource](https://learn.microsoft.com/azure/key-vault/general/quick-create-portal) and a service [principal](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal) for authentication.
365365

366366
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
367367

@@ -380,7 +380,7 @@ $ python sample_key_cert.py
380380

381381
### Azure KeyVault Set Secret
382382

383-
The following sample assumes that you have setup an Azure Key Vault [resource](https://docs.microsoft.com/azure/key-vault/general/quick-create-portal) and a service [principal](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal) for authentication.
383+
The following sample assumes that you have setup an Azure Key Vault [resource](https://learn.microsoft.com/azure/key-vault/general/quick-create-portal) and a service [principal](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal) for authentication.
384384

385385
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
386386

@@ -399,7 +399,7 @@ $ python sample_key_secret.py
399399

400400
### Azure KeyVault Create Keys
401401

402-
The following sample assumes that you have setup an Azure Key Vault [resource](https://docs.microsoft.com/azure/key-vault/general/quick-create-portal) and a service [principal](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal) for authentication.
402+
The following sample assumes that you have setup an Azure Key Vault [resource](https://learn.microsoft.com/azure/key-vault/general/quick-create-portal) and a service [principal](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal) for authentication.
403403

404404
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
405405

@@ -418,7 +418,7 @@ $ python sample_key_keys.py
418418

419419
### Azure Service Bus Send
420420

421-
The following sample assumes that you have setup an Azure Service Bus [namespace](https://docs.microsoft.com/azure/service-bus-messaging/service-bus-quickstart-portal).
421+
The following sample assumes that you have setup an Azure Service Bus [namespace](https://learn.microsoft.com/azure/service-bus-messaging/service-bus-quickstart-portal).
422422

423423
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
424424
* Update `SERVICE_BUS_CONN_STR` environment variable
@@ -437,7 +437,7 @@ $ python sample_servicebus_send.py
437437

438438
### Azure Service Bus Receive
439439

440-
The following sample assumes that you have setup an Azure Service Bus [namespace](https://docs.microsoft.com/azure/service-bus-messaging/service-bus-quickstart-portal).
440+
The following sample assumes that you have setup an Azure Service Bus [namespace](https://learn.microsoft.com/azure/service-bus-messaging/service-bus-quickstart-portal).
441441

442442
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
443443
* Update `SERVICE_BUS_CONN_STR` environment variable
@@ -456,7 +456,7 @@ $ python sample_servicebus_receive.py
456456

457457
### Azure Storage Blob Create Container
458458

459-
The following sample assumes that you have setup Azure Blob [storage](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal).
459+
The following sample assumes that you have setup Azure Blob [storage](https://learn.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal).
460460

461461
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
462462
* Update `AZURE_STORAGE_CONNECTION_STRING` environment variable
@@ -475,7 +475,7 @@ $ python sample_storage_blob.py
475475

476476
### Azure Text Analytics Extract Key Phrases
477477

478-
The following sample assumes that you have setup an Azure Cognitive Services [Resource](https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account).
478+
The following sample assumes that you have setup an Azure Cognitive Services [Resource](https://learn.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account).
479479

480480
* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable
481481

@@ -493,6 +493,6 @@ $ python sample_text_analytics.py
493493
## Explore the data
494494

495495
After running the applications, data would be available in [Azure](
496-
https://docs.microsoft.com/azure/azure-monitor/app/app-insights-overview#where-do-i-see-my-telemetry)
496+
https://learn.microsoft.com/azure/azure-monitor/app/app-insights-overview#where-do-i-see-my-telemetry)
497497

498498
<!-- cSpell:enable -->

sdk/monitor/azure-monitor-query/migration_guide_app_insights.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This guide assists you in the migration from [azure-applicationinsights](https://pypi.org/project/azure-applicationinsights/) v0.1.0 to [azure-monitor-query](https://pypi.org/project/azure-monitor-query/) v1.0.x. Side-by-side comparisons are provided for similar operations between the two packages.
44

5-
Familiarity with the `azure-applicationinsights` v0.1.0 package is assumed. If you're new to the Azure Monitor Query client library for Python, see the [README for `azure-monitor-query`](https://docs.microsoft.com/python/api/overview/azure/monitor-query-readme?view=azure-python) instead of this guide.
5+
Familiarity with the `azure-applicationinsights` v0.1.0 package is assumed. If you're new to the Azure Monitor Query client library for Python, see the [README for `azure-monitor-query`](https://learn.microsoft.com/python/api/overview/azure/monitor-query-readme?view=azure-python) instead of this guide.
66

77
## Table of contents
88

@@ -28,7 +28,7 @@ To improve the development experience across Azure services, a set of uniform [d
2828

2929
The Azure Monitor Query client library also takes advantage of the cross-service improvements made to the Azure development experience. Examples include:
3030

31-
- Using the new [Azure Identity](https://docs.microsoft.com/python/api/overview/azure/identity-readme?view=azure-python) library to share a single authentication approach between clients.
31+
- Using the new [Azure Identity](https://learn.microsoft.com/python/api/overview/azure/identity-readme?view=azure-python) library to share a single authentication approach between clients.
3232
- A unified logging and diagnostics pipeline offering a common view of the activities across each of the client libraries.
3333

3434
### New features
@@ -37,22 +37,22 @@ There are various new features in version 1.0 of the Monitor Query library. Some
3737

3838
- The ability to execute a batch of queries with the `LogsQueryClient.query_batch()` API.
3939
- The ability to configure the retry policy used by the operations on the client.
40-
- Authentication with Azure Active Directory (Azure AD) credentials using [azure-identity](https://docs.microsoft.com/python/api/overview/azure/identity-readme?view=azure-python).
40+
- Authentication with Azure Active Directory (Azure AD) credentials using [azure-identity](https://learn.microsoft.com/python/api/overview/azure/identity-readme?view=azure-python).
4141

4242
For more new features, changes, and bug fixes, see the [change log](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-query/CHANGELOG.md).
4343

4444
## Important changes
4545

4646
### Resource mode support
4747

48-
The Azure Monitor Query library doesn't support Application Insights resources using the [classic resource mode](https://docs.microsoft.com/azure/azure-monitor/app/create-new-resource). To use this library with a classic Application Insights resource, you must first [migrate to a workspace-based resource](https://docs.microsoft.com/azure/azure-monitor/app/convert-classic-resource).
48+
The Azure Monitor Query library doesn't support Application Insights resources using the [classic resource mode](https://learn.microsoft.com/azure/azure-monitor/app/create-new-resource). To use this library with a classic Application Insights resource, you must first [migrate to a workspace-based resource](https://learn.microsoft.com/azure/azure-monitor/app/convert-classic-resource).
4949

5050
### The client
5151

52-
To provide a more intuitive experience, the top-level client to [ApplicationInsightsDataClient](https://docs.microsoft.com/python/api/azure-applicationinsights/azure.applicationinsights.applicationinsightsdataclient?view=azure-python) has been split into two different clients:
52+
To provide a more intuitive experience, the top-level client to [ApplicationInsightsDataClient](https://learn.microsoft.com/python/api/azure-applicationinsights/azure.applicationinsights.applicationinsightsdataclient?view=azure-python) has been split into two different clients:
5353

54-
- [LogsQueryClient](https://docs.microsoft.com/python/api/azure-monitor-query/azure.monitor.query.logsqueryclient?view=azure-python) serves as a single point of entry to execute a single Kusto query or a batch of Kusto queries.
55-
- [MetricsQueryClient](https://docs.microsoft.com/python/api/azure-monitor-query/azure.monitor.query.metricsqueryclient?view=azure-python) is used to query metrics, list metric namespaces, and to list metric definitions.
54+
- [LogsQueryClient](https://learn.microsoft.com/python/api/azure-monitor-query/azure.monitor.query.logsqueryclient?view=azure-python) serves as a single point of entry to execute a single Kusto query or a batch of Kusto queries.
55+
- [MetricsQueryClient](https://learn.microsoft.com/python/api/azure-monitor-query/azure.monitor.query.metricsqueryclient?view=azure-python) is used to query metrics, list metric namespaces, and to list metric definitions.
5656

5757
Both clients can be authenticated using Azure AD.
5858

0 commit comments

Comments
 (0)