Skip to content

Commit

Permalink
fix(readme): fix instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximBalaganskiy committed Jul 20, 2018
1 parent 8370c83 commit 067b632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ The monitor is based on official [Ajax Monitor](https://github.com/Microsoft/App
## Installation

```
npm i --save-dev applicationinsights-js application-insights-fetch-monitor
npm i --save-dev applicationinsights-js @types/applicationinsights-js application-insights-fetch-monitor
```
## Usage

```js
import { initAppInsightsFetchMonitor } from "application-insights-fetch-monitor";

appInsights.downloadAndSetup({ instrumentationKey: this.settings.appInsightsInstrumentationKey });
appInsights.downloadAndSetup({ instrumentationKey: "[YOUR INSTRUMENTATION KEY]" });
initAppInsightsFetchMonitor();
```

0 comments on commit 067b632

Please sign in to comment.