An open API service indexing awesome lists of open source software.

https://github.com/jcmdsbr/otel-sample-dotnet

Sample Open telemetry project
https://github.com/jcmdsbr/otel-sample-dotnet

dotnet dotnet-core grpc jaeger-tracing loki mongodb open-telemetry-collector-contrib open-telemetry-csharp otel otel-collector prometheus rabbitmq redis

Last synced: 7 months ago
JSON representation

Sample Open telemetry project

Awesome Lists containing this project

README

          

# Otel Sample dotnet a open-source project written in .NET Core and implements open telemtry best pratices :sunglasses:

* The goal of this project is implement the most common used technologies.

## Give a Star! :star:

If you liked the project, please give a star ;)

## You need some of the fallowing tools :exclamation:

* Visual Studio 2022 or Visual Studio Code
* .Net 7
* Docker

## Architecture :heavy_check_mark:

* Minimal APIs
* Separation of technology details from the rest of the system
* Single responsibility of each layer
* BFF strategy
* gRPC Client & Server
* Open Telemetry

## Map

![Alternate text](./docs/topologia.drawio.png)

## Description

All application exports logs, traces and metrics in otlp format to a otel-collector using a grpc protocol.

This collector use a open-telemetry pipeline and exports:

* traces -> jaeger
* logs -> loki
* metrics -> prometheus