ApplicationInsights-Kubernetes
ApplicationInsights-Kubernetes copied to clipboard
Container id found by cgroup requires normalization
An issue related to #290, reported by SantoshG-Derivco.
TL;DR
- In cGroupV1, container id info: 6:cpuset:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod3e221707_600c_4eb1_8fe7_a9a7163a1278.slice/cri-containerd-5146b2bcd77ab4f2624bc1fbd98cf9751741344a80b043dbd77a4e847bff4f06.scope
- The matched container id: cri-containerd-5146b2bcd77ab4f2624bc1fbd98cf9751741344a80b043dbd77a4e847bff4f06.scope
- The expected container id: 5146b2bcd77ab4f2624bc1fbd98cf9751741344a80b043dbd77a4e847bff4f06
- [x] Fix in 2.x
- [x] Fix in 3.x
This issue should have been addressed in 2.0.5-beta1. Please check it out.
I'll keep this issue open until the same functionality has been forward port to 3.0.
@xiaomi7732 I've tested 2.0.5-beta1 and all looks good thanks 😄
@SantoshG-Derivco Thanks for the confirmation. It is important for us to know that it works for you :-).
Stable package released: https://www.nuget.org/packages/Microsoft.ApplicationInsights.Kubernetes/2.0.5 @SantoshG-Derivco thanks for the contribution!