https://github.com/joaopaulopmedeiros/otel-net-lecture
Hands-on demo project for .NET developers exploring OpenTelemetry, presented during my lecture at WTADS/WINFO
https://github.com/joaopaulopmedeiros/otel-net-lecture
dotnet otel
Last synced: about 1 month ago
JSON representation
Hands-on demo project for .NET developers exploring OpenTelemetry, presented during my lecture at WTADS/WINFO
- Host: GitHub
- URL: https://github.com/joaopaulopmedeiros/otel-net-lecture
- Owner: joaopaulopmedeiros
- Created: 2025-07-27T17:31:12.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-08-09T14:37:26.000Z (about 2 months ago)
- Last Synced: 2025-08-09T15:20:54.537Z (about 2 months ago)
- Topics: dotnet, otel
- Language: C#
- Homepage:
- Size: 1.61 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenTelemetry .NET
Hands-on demo project for .NET developers exploring [OpenTelemetry](https://opentelemetry.io/), presented during my lecture at **WTADS/WINFO**.
This project demonstrates how to collect and visualize **distributed traces**, **metrics**, and **logs** using .NET 8 and OpenTelemetry — integrated with **Grafana**, **Prometheus**, **Tempo**, and **Loki**.
---
## Stack
- .NET 8 – ASP.NET Core Web API
- OpenTelemetry – Tracing, Metrics, Logging
- Grafana – Unified Observability Dashboard
- Prometheus – Metrics backend
- Tempo – Trace backend
- Loki – Log backend
- Docker + Docker Compose – Environment orchestration---
## How to Run Locally
### Prerequisites
- Docker & Docker Compose
- `make` installed### Start the environment
```bash
make up
```## Explore Observability with Grafana
After hitting some endpoints, visit Grafana at: http://localhost:3000Use the preconfigured dashboards to explore:
## Metrics (via Prometheus)
![]()
## Traces (via Tempo)
![]()
## Logs (via Loki)
![]()
## How to Stop and Clean Up
To stop all containers, remove volumes and orphans:
```
make down
```### Presentation
Complementary slides are available in PDF format [here](./docs/presentation.pdf)