AppInsights Client for Javascript
A javascript client to query App Insights REST API ...because the LogAnalyticsClient Azure SDK is not easy to use
Install
npm install appinsights-client
Usage
const AppInsightsClient = const client = const timespan = 'PT12H' // past 12 hrsconst query = 'customEvents | project name,timestamp,operation_Name,cloud_RoleName | limit 2' const objects = await client
API Reference
https://dev.applicationinsights.io/reference