Sample app demonstrating how to instrument your application with Azure Monitor OpenTelemetry.
Contains both samples for the Application Insights 3.x beta and the Application Insights shim for Application Insights 2.x APIs.
- Install all dependencies.
npm install
-
Update .env file with Application Insights Connection String and Azure Event Hub name and host.
-
Start Docker running following command inside docker folder.
docker compose up
-
Build project
npm run build
-
Start server
npm run server
-
Start client
npm run client
-
Telemetry should be available and visible in Azure Portal in Application Resource which connection string was provided. To visualize telemetry exported through OTLP to Zipkin, you can use http://localhost:9411/zipkin