knowhere icon indicating copy to clipboard operation
knowhere copied to clipboard

knowhere print out TraceID in a different format as Milvus

Open cydrain opened this issue 7 months ago • 1 comments

Build Milvus in Debug mode, then you can see TracdID is printed out in a different way between knowhere and Milvus.

[2024/07/17 17:52:34.610 +08:00] [DEBUG] [querynodev2/services.go:680] ["search segments..."] [traceID=c56dd6de3329e8baf581744b0660381b] [msgID=451204844043770863] [collectionID=451204844043370785] [channel=by-dev-rootcoord-dml_15_451204844043370785v0] [scope=Historical]
[2024/07/17 17:52:34.614 +08:00] [DEBUG] [segments/validate.go:50] ["read target partitions"] [traceID=c56dd6de3329e8baf581744b0660381b] [collectionID=451204844043370785] [partitionIDs="[451204844043370786]"]
[2024/07/17 17:52:34.614 +08:00] [DEBUG] [segments/segment.go:575] ["search segment..."] [traceID=c56dd6de3329e8baf581744b0660381b] [collectionID=451204844043370785] [segmentID=451204844043570801] [segmentType=Sealed] [withIndex=true]
I20240717 17:52:34.616413 317924 future_c.cpp:58] [SERVER][executor_set_thread_num][milvus] future executor setup cpu executor with thread num: 24
I20240717 17:52:34.625875 317928 index.cc:32] [KNOWHERE][LoadConfig][MILVUS_FUTURE_C] Search config dump: {"ef":16,"k":10,"metric_type":"COSINE","span_id":[163,228,15,76,126,44,218,97],"trace_flags":1,"trace_id":[197,109,214,222,51,41,232,186,245,129,116,75,6,96,56,27]}

cydrain avatar Jul 17 '24 10:07 cydrain