GithubHelp home page GithubHelp logo

isabella232 / monitor-java-query-metrics-activitylogs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/monitor-java-query-metrics-activitylogs

0.0 0.0 0.0 80 KB

Getting metrics and activity logs for a resource.

Home Page: https://docs.microsoft.com/en-us/java/azure

License: MIT License

Java 99.94% Shell 0.06%

monitor-java-query-metrics-activitylogs's Introduction

page_type languages products extensions
sample
java
azure
services platforms
Monitor
java

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

This sample shows examples of retrieving metrics and activity logs for Storage Account.

  • List all metric definitions available for a storage account
  • Retrieve and show metrics for the past 7 days for Transactions where
    • Api name was 'PutBlob' and
    • response type was 'Success' and
    • Geo type was 'Primary'
  • Retrieve and show all activity logs for the past 7 days for the same Storage account.

Running this Sample

To run this sample:

See DefaultAzureCredential and prepare the authentication works best for you. For more details on authentication, please refer to 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

More information

For general documentation as well as quickstarts on how to use Azure Management Libraries for Java, please see here.

Start to develop applications with Java on Azure here.

If you don't have a Microsoft Azure subscription you can get a FREE trial account here.


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

monitor-java-query-metrics-activitylogs's People

Contributors

anuchandy avatar azure-fluent avatar lenala avatar supernova-eng avatar v-rajagt-zz avatar xseeseesee avatar yaohaizh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.