-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added OTEL for tracing, metrics, logging (Console and OTLP exporters) #384
Conversation
Started a blog post series related to this work. Part 1 up - https://shawn.vause.us/posts/opentelemetry-dotnet/ |
Logs are here @csharpfritz Something doesn't seem to be working though with the trace to logs feature I will have to look into that. You should be able to explore the tempo traces and have a link on the trace/span to jump to logs. |
@csharpfritz what would you like to see so we can get this merged up? |
Let's put together some samples around creating custom metrics and traces
from the Mastodon provider to show how we can create a custom TagzApp
dashboard and metrics.
Let's also define a custom "TagzApp Dashboard" in Grafana that can reflect these new custom metrics. I particularly want to be able to show line graphs with message volume and a "top 5 most active recent chatters" dashboard widget
This way we can start rolling this work through the rest of the application
|
Foundation for #136
Added Grafana setup utilizing Tempo for tracing (backed by Prometheus), Prometheus for metrics and Loki for logging. Enabled features to correlate traces, metrics and logs within Grafana. All services added to:
https://github.com/FritzAndFriends/TagzApp/blob/a1fdd75f314bbcee7d6d10ccafa278ec6545a548/docker-compose.local.yml
until @csharpfritz figures out what he wants to do with them going forward. Simply run
docker compose -f ./docker-compose.local.yml up
and the observability service stack will spin up. Run TagzApp.Blazor pointed at otlp exporter for traces, logs and metrics and let OTEL collector forward to the appropriate places/formats.Note: The newly announced .NET 8 dashboards are pre-installed and wired up to prometheus (see here):
https://devblogs.microsoft.com/dotnet/introducing-aspnetcore-metrics-and-grafana-dashboards-in-dotnet-8/