Git Product home page Git Product logo

practical-opentelemetry's Introduction

Opentelemetry Experiment with .NET Core 3.x

OpenTelemetry Badge

This is a demo to show how to use OpenTelemetry for tracing on multiple services with multi-protocols on .NET Core 3.x

Demo scenario

  1. Web API (REST) - http://localhost:5000
  2. WeatherService (gRPC) - http://localhost:5002
  3. ProductService (REST) - http://localhost:5001
  4. MeteoriteService (gRPC) - http://localhost:5003

Step 1:

$ docker-compose up

Step 2:

Then run 3 projects above with Visual Studio or Visual Code

Step 3: Run Web API with url as below

http://localhost:/WeatherForecast

Jaeger UI

REST -> gRPC -> REST

http://localhost:16686

Zipkin UI

REST -> gRPC -> REST

http://localhost:9412

Trace from SampleWeb to MeteoriteService and to Remote URL at https://data.nasa.gov/resource/y77d-th95.json

Trace with error on the consumer side

Prometheus - Grafana

Healthcheck with Prometheus

Monotoring .NET resource with Grafana

Loki - Grafana

http://localhost:3000

Type {app="sample-web", level="information"} \d{1,9}ms on Log labels

Seq UI

http://localhost:5340

practical-opentelemetry's People

Contributors

thangchung avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.