Update docs metadata
This commit is contained in:
Родитель
63c951dbba
Коммит
08bf00cd7a
|
@ -1,12 +1,12 @@
|
|||
---
|
||||
title: Azure Monitor Ingestion client library for Java
|
||||
keywords: Azure, java, SDK, API, azure-monitor-ingestion, monitor
|
||||
ms.date: 02/21/2024
|
||||
ms.date: 03/11/2024
|
||||
ms.topic: reference
|
||||
ms.devlang: java
|
||||
ms.service: monitor
|
||||
---
|
||||
# Azure Monitor Ingestion client library for Java - version 1.1.4
|
||||
# Azure Monitor Ingestion client library for Java - version 1.1.5
|
||||
|
||||
|
||||
The Azure Monitor Ingestion client library is used to send custom logs to [Azure Monitor][azure_monitor_overview] using
|
||||
|
@ -30,7 +30,7 @@ that you create in Log Analytics workspace. You can even extend the schema of bu
|
|||
|
||||
Please include the `azure-sdk-bom` to your project to take a dependency on the latest stable version of the library. In
|
||||
the following snippet, replace the `{bom_version_to_target}` placeholder with the version number.
|
||||
To learn more about the BOM, see the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-monitor-ingestion_1.1.4/sdk/boms/azure-sdk-bom/README.md).
|
||||
To learn more about the BOM, see the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-monitor-ingestion_1.1.5/sdk/boms/azure-sdk-bom/README.md).
|
||||
|
||||
```xml
|
||||
<dependencyManagement>
|
||||
|
@ -66,7 +66,7 @@ add the direct dependency to your project as follows.
|
|||
<dependency>
|
||||
<groupId>com.azure</groupId>
|
||||
<artifactId>azure-monitor-ingestion</artifactId>
|
||||
<version>1.1.4</version>
|
||||
<version>1.1.5</version>
|
||||
</dependency>
|
||||
```
|
||||
[//]: # ({x-version-update-end})
|
||||
|
@ -85,7 +85,7 @@ To use the [DefaultAzureCredential][DefaultAzureCredential] provider shown below
|
|||
<dependency>
|
||||
<groupId>com.azure</groupId>
|
||||
<artifactId>azure-identity</artifactId>
|
||||
<version>1.10.1</version>
|
||||
<version>1.11.2</version>
|
||||
</dependency>
|
||||
```
|
||||
[//]: # ({x-version-update-end})
|
||||
|
@ -146,7 +146,7 @@ workspace. The target table must exist before you can send data to it. The follo
|
|||
|
||||
### Logs retrieval
|
||||
The logs that were uploaded using this library can be queried using the
|
||||
[Azure Monitor Query](https://github.com/Azure/azure-sdk-for-java/tree/azure-monitor-ingestion_1.1.4/sdk/monitor/azure-monitor-query#readme)
|
||||
[Azure Monitor Query](https://github.com/Azure/azure-sdk-for-java/tree/azure-monitor-ingestion_1.1.5/sdk/monitor/azure-monitor-query#readme)
|
||||
client library.
|
||||
|
||||
## Examples
|
||||
|
@ -161,7 +161,7 @@ client library.
|
|||
DefaultAzureCredential tokenCredential = new DefaultAzureCredentialBuilder().build();
|
||||
|
||||
LogsIngestionClient client = new LogsIngestionClientBuilder()
|
||||
.endpoint("<data-collection-endpoint")
|
||||
.endpoint("<data-collection-endpoint>")
|
||||
.credential(tokenCredential)
|
||||
.buildClient();
|
||||
|
||||
|
@ -180,7 +180,7 @@ can be concurrently sent to the service as shown in the example below.
|
|||
DefaultAzureCredential tokenCredential = new DefaultAzureCredentialBuilder().build();
|
||||
|
||||
LogsIngestionClient client = new LogsIngestionClientBuilder()
|
||||
.endpoint("<data-collection-endpoint")
|
||||
.endpoint("<data-collection-endpoint>")
|
||||
.credential(tokenCredential)
|
||||
.buildClient();
|
||||
|
||||
|
@ -203,7 +203,7 @@ not provided, the upload method will throw an aggregate exception that includes
|
|||
DefaultAzureCredential tokenCredential = new DefaultAzureCredentialBuilder().build();
|
||||
|
||||
LogsIngestionClient client = new LogsIngestionClientBuilder()
|
||||
.endpoint("<data-collection-endpoint")
|
||||
.endpoint("<data-collection-endpoint>")
|
||||
.credential(tokenCredential)
|
||||
.buildClient();
|
||||
|
||||
|
@ -222,7 +222,7 @@ client.upload("<data-collection-rule-id>", "<stream-name>", logs, logsUploadOpti
|
|||
```
|
||||
## Troubleshooting
|
||||
|
||||
For details on diagnosing various failure scenarios, see our [troubleshooting guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-monitor-ingestion_1.1.4/sdk/monitor/azure-monitor-ingestion/TROUBLESHOOTING.md).
|
||||
For details on diagnosing various failure scenarios, see our [troubleshooting guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-monitor-ingestion_1.1.5/sdk/monitor/azure-monitor-ingestion/TROUBLESHOOTING.md).
|
||||
|
||||
## Next steps
|
||||
More samples can be found [here][samples].
|
||||
|
@ -242,7 +242,7 @@ For more information see the [Code of Conduct FAQ](https://opensource.microsoft.
|
|||
[opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
||||
|
||||
<!-- LINKS -->
|
||||
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/tree/azure-monitor-ingestion_1.1.4/sdk/identity/azure-identity
|
||||
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/tree/azure-monitor-ingestion_1.1.5/sdk/identity/azure-identity
|
||||
[azure_monitor_overview]: https://learn.microsoft.com/azure/azure-monitor/overview
|
||||
[azure_subscription]: https://azure.microsoft.com/free
|
||||
[cla]: https://cla.microsoft.com
|
||||
|
@ -252,11 +252,11 @@ For more information see the [Code of Conduct FAQ](https://opensource.microsoft.
|
|||
[data_collection_endpoint]: https://learn.microsoft.com//azure/azure-monitor/essentials/data-collection-endpoint-overview
|
||||
[data_collection_rule]: https://learn.microsoft.com/azure/azure-monitor/essentials/data-collection-rule-overview
|
||||
[data_collection_rule_tutorial]: https://learn.microsoft.com/azure/azure-monitor/logs/tutorial-logs-ingestion-portal#collect-information-from-the-dcr
|
||||
[DefaultAzureCredential]: https://github.com/Azure/azure-sdk-for-java/blob/azure-monitor-ingestion_1.1.4/sdk/identity/azure-identity/README.md#defaultazurecredential
|
||||
[DefaultAzureCredential]: https://github.com/Azure/azure-sdk-for-java/blob/azure-monitor-ingestion_1.1.5/sdk/identity/azure-identity/README.md#defaultazurecredential
|
||||
[ingestion_overview]: https://learn.microsoft.com/azure/azure-monitor/logs/logs-ingestion-api-overview
|
||||
[jdk_link]: https://learn.microsoft.com/java/azure/jdk/?view=azure-java-stable
|
||||
[log_analytics_workspace]: https://learn.microsoft.com//azure/azure-monitor/logs/log-analytics-workspace-overview
|
||||
[logging]: https://learn.microsoft.com//azure/developer/java/sdk/logging-overview
|
||||
[samples]: https://github.com/Azure/azure-sdk-for-java/blob/azure-monitor-ingestion_1.1.4/sdk/monitor/azure-monitor-ingestion/src/samples/java/com/azure/monitor/ingestion
|
||||
[samples]: https://github.com/Azure/azure-sdk-for-java/blob/azure-monitor-ingestion_1.1.5/sdk/monitor/azure-monitor-ingestion/src/samples/java/com/azure/monitor/ingestion
|
||||
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fmonitor%2Fazure-monitor-ingestion%2FREADME.png)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"Name": "azure-monitor-ingestion",
|
||||
"Version": "1.1.4",
|
||||
"Version": "1.1.5",
|
||||
"DevVersion": null,
|
||||
"DirectoryPath": "sdk/monitor/azure-monitor-ingestion",
|
||||
"ServiceDirectory": "monitor",
|
||||
|
@ -10,5 +10,5 @@
|
|||
"SdkType": "client",
|
||||
"IsNewSdk": true,
|
||||
"ArtifactName": "azure-monitor-ingestion",
|
||||
"ReleaseStatus": "2024-02-20"
|
||||
"ReleaseStatus": "2024-03-11"
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче