Open davidfowl opened 11 months ago
I was helping a customer make a sample work with the otlp exporter and I was wondering if we wanted to make this a specific resource type that we can make work differently in different environments. Given the fact that we're moving the dashboard out of process the next version, it feels like the right time to start modeling this resource. I also want to make it work with kubernetes deployments.
Here's the file for wiring up the otlp exporter pushing to both the dashboard and the grafana stack (loki, and tempo):
https://github.com/davidfowl/aspiresample/blob/loki/aspiresample.AppHost/Program.cs
@JamesNK @mitchdenny
Today the OTLP exporter is a magic environment variable injected into projects. We can consider modeling it as resource so it can be property represented when publishing.
See https://github.com/dotnet/aspire/pull/95