Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
glibnub authored Oct 15, 2019
1 parent ce6964d commit 62f63f6
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ languages:
- java
products:
- azure
description: "Getting Started with Monitor - Query Metrics And Activity Logs - in Java"
description: "This sample shows examples of retrieving metrics and activity logs for Storage Account."
urlFragment: monitor-java-query-metrics-activitylogs
---

# Getting Started with Monitor - Query Metrics And Activity Logs - in Java #

# Query Metrics And Activity Logs in Azure Monitor (Java)

This sample shows examples of retrieving metrics and activity logs for Storage Account.
- List all metric definitions available for a storage account
Expand All @@ -20,24 +19,22 @@ urlFragment: monitor-java-query-metrics-activitylogs
- Retrieve and show all activity logs for the past 7 days for the same Storage account.


## Running this Sample ##
## Running this Sample

To run this sample:

Set the environment variable `AZURE_AUTH_LOCATION` with the full path for an auth file. See [how to create an auth file](https://github.com/Azure/azure-libraries-for-java/blob/master/AUTH.md).

git clone https://github.com/Azure-Samples/monitor-java-query-metrics-activitylogs.git

cd monitor-java-query-metrics-activitylogs

mvn clean compile exec:java
```bash
git clone https://github.com/Azure-Samples/monitor-java-query-metrics-activitylogs.git
cd monitor-java-query-metrics-activitylogs
mvn clean compile exec:java
```

## More information ##
## More information

[http://azure.com/java](http://azure.com/java)

If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212)

---
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212).

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

0 comments on commit 62f63f6

Please sign in to comment.