Library (SDK) provides capabilities to retrieve and query Metrics, Events data from Azure Application Insights.
-
Metrics: this is a REST API which allows users to retrieve metric data such as the number of exceptions each hour for the last day. It allows users to specify a metric name, a timespan, time intervals, the type of aggregation (sum, average, minimum or maximum) and the property over which to segment the data. There is a corresponding metadata path which returns the available metrics and information about them such as support aggregation types and segmentation properties.
-
Events: this is a REST API which allows users rich capabilities to access their event data using OData syntax. The API supports
$filter
,$orderBy
,$search
,$apply
,$top
,$skip
and$format
, so that it can be used to both return individual event data as well as aggregate over specific sets of events. This also supports $metadata which returns the set of data types and their properties. -
Query: the query API is designed to enable users API access to the same data using the same queries as they do with Application Insights Analytics. There is also a schema path which returns the schema in which data will be returned.
-
To enable Azure App Insights API support for your Azure resource follow the API documentation and using screenshot below.
-
Clone repository
-
Run UnitTests / Integration tests
-
Build / Run.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
All changes can be easily found in RELEASENOTES
This project is licensed under the MIT License