GitXplorerGitXplorer
l

azuresdk_tracing_demo

public
1 stars
2 forks
0 issues

Commits

List of commits on branch main.
Unverified
39e002051e64a097c0a58993cb9637448ca381e1

Add Microsoft.Extensions.Azure and SDK logging to the .net app

llmolkova committed 3 years ago
Verified
e786d02e303cbf4ff85490caf19718425e519127

Merge pull request #1 from maorleger/docker-express

llmolkova committed 3 years ago
Unverified
6117252ab09d9347fb0498282aa534ebb6fe16ab

readme

mmaorleger committed 3 years ago
Unverified
a18ae844b133753508c38ac5c2133d58d0a0a641

pin build

mmaorleger committed 3 years ago
Unverified
46dc18b3904d4b25e6466ac45cf99869655c09fb

feedback

mmaorleger committed 3 years ago
Unverified
f1179ec752e07478a405b366cc6176c3c7524bed

remove consumer group and use defualt

mmaorleger committed 3 years ago

README

The README file for this repository.

Distributed Tracing demo for Azure

This is a draft of distributed tracing demo app demonstrating Azure SDKs and OpenTelemetry integration.

Prerequisites

  1. You'll need Azure subscription and resources
    • EventHub
    • Storage
    • ApplicationInsights resource if you're running it with Azure Monitor
  2. Docker

Getting started

  • Create .env file with access keys to resources content:
EVENTHUB_CONNECTION_STRING= <event hub connection string, no entity name here>
EVENTHUB_NAME= <event hub name>
CHECKPOINT_STORAGE_ACCESS_KEY= <storage access key>
CHECKPOINT_STORAGE_ACCOUNT= <storage account name for checkpointing>
CHECKPOINT_CONTAINER_NAME= <storage container name for checkpointin>
CHECKPOINT_STORAGE_CONNECTION_STRING= <Full storage connection string for checkpointing, sorry>

If you're running it with Azure Monitor, please also add

APPINSIGHTS_INSTRUMENTATIONKEY= <your app insights key>

  • Run demo with docker-compose -f docker-compose_applicationinsights.yml up --build (for AzureMonitor) or docker-compose_jaeger.yml (for Jaeger).

Exposed endpoints

  • POST http://localhost:8080/messages?message=hi: java application, will send message to EventHub
  • GET http://localhost:5000/weatherforecast: .NET app
  • POST http://localhost:3000/message: nodejs application, will send the JSON body of the request to EventHub

Diagram

TODO