Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 470 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 470 Bytes

Sample for defra-logging-metrics package use

Assuming you first have NodeJS installed locally:

  1. Create a local .env file. This file won't be tracked by git.
  2. Define an environment variable APPLICATIONINSIGHTS_CONNECTION_STRING in the .env file and initialize it with your Azure Application Insights connection string.
  3. Open a terminal at the root folder of this repository.
  4. Run npm install
  5. Run cd sample
  6. Run npm start (or node sample.js)