Trace/Event Telemetry not Correlate to Request/Dependency Telemetry

I followed the instructions hereApp Insights to write custom telemetry
But I see that the trace does not work as the document said that they share the same operation ID

Along with setting an operation context, StartOperation creates a
telemetry item of the type that you specify. It sends the telemetry
item when you dispose of the operation or if you explicitly call
StopOperation. If you use RequestTelemetry as the telemetry type, its
duration is set to the timed interval between start and stop.

Telemetry items reported within a scope of operation become children
of such an operation. Operation contexts could be nested.

My test project is .net4.7.2 and installed the app insights nugget
How do I correlate the child trace with the parent request correctly? Thanks

            // Establish an operation context and associated telemetry item:
            using (var operation = telemetryClient.StartOperation<RequestTelemetry>("operationName"))
            {
                // Telemetry sent in here will use the same operation ID.
                telemetryClient.TrackTrace("test"); // or other Track* calls

                // Set properties of containing telemetry item--for example:
                operation.Telemetry.ResponseCode = "200";

                // Optional: explicitly send telemetry item:
                telemetryClient.StopOperation(operation);
                operation.Dispose();
                telemetryClient.Flush();
            } // When operation is disposed, telemetry item is sent.

How do I correlate the child trace with parent request correctly?

To corelate between logs use below code where you can have same operation id for all subsequent actions:

    using (var riop = ri_tc.StartOperation<RequestTelemetry>("HomeController.Index"))
    {
        try
        {
            var rithtc = new TraceTelemetry("Hello Rithwik Bojja", SeverityLevel.Information);
            rithtc.Context.Operation.Id = riop.Telemetry.Context.Operation.Id;
            ri_tc.TrackTrace(rithtc);
            riop.Telemetry.ResponseCode = "200";
            return View();
        }
        finally
        {
            ri_tc.StopOperation(riop);
            ri_tc.Flush();
        }
    }

Here I have used rithtc.Context.Operation.Id = riop.Telemetry.Context.Operation.Id; with this we can have same operation id and I have used Try, catch and finally blocks to flush it correctly.

Output:

Here you can clearly see all three have same Operation Id.

Recognized by Microsoft Azure Collective

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật