mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
[skip e2e] Improve annotation (#14979)
Signed-off-by: Xieql <qianglong.xie@zilliz.com>
This commit is contained in:
parent
0700312a4e
commit
5109b88552
@ -108,7 +108,7 @@ func StartSpanFromContextWithSkip(ctx context.Context, skip int, opts ...opentra
|
||||
return span, opentracing.ContextWithSpan(ctx, span)
|
||||
}
|
||||
|
||||
// StartSpanFromContextWithOperationName starts a opentracing span with specific operation name.
|
||||
// StartSpanFromContextWithOperationName starts an opentracing span with specific operation name.
|
||||
// And will log print the current call line number and file name.
|
||||
func StartSpanFromContextWithOperationName(ctx context.Context, operationName string, opts ...opentracing.StartSpanOption) (opentracing.Span, context.Context) {
|
||||
return StartSpanFromContextWithOperationNameWithSkip(ctx, operationName, 3, opts...)
|
||||
|
Loading…
Reference in New Issue
Block a user