Aaron Stannard
Aaron Stannard
Going to leave this PR open for comments for a while before it gets merged in
Also: documentation. Will add it once I get review comments.
I still need to do API approvals here
I wasted an hour of my time trying to understand why my OTLP Collector `DaemonSet` wasn't picking up any of my traces - turns out, this issue is why! It's...
My comment should be read as: only supporting Msft dependency injection is crazy.
Decided to check some of the other popular environment variables while I was at it: ```csharp services .AddOpenTelemetry() .ConfigureResource(builder => { builder .AddEnvironmentVariableDetector() // need this .AddTelemetrySdk() .AddAttributes(new [] {...
> I'm guessing the issue is/was in your k8s config loading somewhere. Not super familiar with k8s, did you make sure all updated config was deployed when you were testing?...
i.e., I was inspecting the `ENV` section of each these containers individually in Docker Desktop (local K8s) to make sure this value was set correctly.
The relevant K8s configuration is OSS too: https://github.com/petabridge/DrawTogether.NET/blob/12696faf5ae201a07f85b04fe3cc9cff03d57a1c/k8s/services/k8s-web-service.yaml#L89-L94 Edit: worth mentioning: I didn't use OTEL Collector `DaemonSet` when I was debugging this - used a separate one running on a...
> > My comment should be read as: only supporting Msft dependency injection is crazy. > > I'm not following you at all here. Care to elaborate? per @CodeBlanch 's...