Closed AnthonyDewhirst closed 1 year ago
Actually I think that this was my bad. I had used the same name for all clusterRoleBindings and also misconfigured the logging within my c# app. I do have one thing though that has become apparent that might need putting in the documentation. When the c# app first starts and the Microsoft hosting logging kicks in. It appears that the k8s information hasn't been fetched yet and so isn't on the initial sets of telemetry. So what I was also seeing earlier when I first created this post is that the first sets of telemetry may indeed be missing the k8s information. Is this expected? I could see a scenario where someone new to this framework might apply it only having the hosting information for reference and then wonder why this telemetry hadn't been enriched.
Hi AnthonyDewhirst, thanks for the detailed info. Let me repeat what you said to make sure I understand the current situation correctly:
For issue #2, it is by design. We have been trading that for reliable output.
That said, thank you for the reminder, I think it is worth documenting.
I have updated the FAQ. I'll close this issue for now. Feel free to reopen or file new ones if there's any follow-up needed.
I have just plugged in the enricher into our microservices in AKS which have RBAC enabled.
We are using .net 6 and:
We are using a cluster role and binding to enable this.
Here is a sample of the trace logging that we can see:
and then many repeated rows of:
Looking in application inisghts for a trace record, I don't see any additional values:![image](https://user-images.githubusercontent.com/642569/207008635-2dc9b771-9801-476c-8bd8-a6ad45005043.png)
I was under the impression that I would be able to see the values here, but I don't and the logging suggests that something isn't quite correct. All help would be appreciated. Thanks