.NET Observability Toolkit
SpanHaven
Bring observability to .NET applications with less setup.
Overview
SpanHaven is a developer-focused observability toolkit that simplifies collecting and visualizing telemetry from .NET applications. It integrates OpenTelemetry with a preconfigured observability stack, helping developers explore traces, metrics, and logs.
Problem
Getting traces, metrics and logs from a .NET application into dashboards usually means wiring together several tools by hand. That setup cost often keeps observability out of day-to-day development.
Solution
SpanHaven combines OpenTelemetry with a preconfigured, Docker-based stack so developers can start exploring telemetry from their application with far less configuration. It runs as a local, Docker-based environment, not as a hosted monitoring service.
Main features
- Simplified local observability setup
- Distributed tracing
- Application metrics
- Centralized logging
- Preconfigured Grafana dashboards
- Environment-specific configurations
- Telemetry gateway configuration
- Developer-friendly CLI workflows
Technology stack
- C#
- .NET
- OpenTelemetry
- OpenTelemetry Collector
- Docker
- Grafana
- Prometheus
- Loki
Technical focus
- Cloud-native observability
- OpenTelemetry instrumentation
- Distributed tracing
- Metrics and logging
- Container orchestration fundamentals
- Telemetry pipelines
- Monitoring architecture
- Developer experience
Architecture overview
Instrumented .NET application
The application being observed; it produces telemetry.
OpenTelemetry SDK
Collects traces, metrics and logs inside the application.
OpenTelemetry Collector
Receives telemetry and routes it to the backends.
Traces, metrics and logs
The three telemetry signals flowing through the pipeline.
Prometheus and Loki
Prometheus stores metrics; Loki stores logs.
Grafana dashboards
Preconfigured dashboards for exploring the collected data.
Docker-based environment
Runs the observability stack locally with environment-specific configuration.
Engineering challenges & design decisions
Telemetry pipeline design
Routing three signal types through a single collector configuration while keeping it understandable.
Environment-specific configuration
Supporting different setups without forcing developers to edit many files.
Developer experience
Keeping setup and everyday workflows simple enough that using the stack is the easy path.
Development status
In development
Under development and in validation. SpanHaven is not yet publicly released.
Links
No public links are available yet.
