Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 4 column 11
---
page_type: sample
languages:
- java
products:
- azure
- azure-monitor
urlFragment: query-azuremonitor-java-samples
---
Azure Monitor query samples are a set of self-contained Java programs that demonstrate interacting with Azure self -contained service using the client library. Each sample focuses on a specific scenario and can be executed independently.
Key concepts are explained in detail here.
Getting started explained in detail here.
The following sections provide code samples covering common operations with OpenTelemetry Azure Monitor Exporter client library.
- Get logs for a query
- Get logs for a batch for queries
- Get logs for a query with server timeout
- Get metrics
Troubleshooting steps can be found here.
See Next steps.
If you would like to become an active contributor to this project please refer to our Contribution Guidelines for more information.