mirror of https://github.com/milvus-io/milvus.git
fix: init telemetry fails when set otlp as trace exporter (#35301)
issue: #35298 Signed-off-by: Patrick Weizhi Xu <weizhi.xu@zilliz.com>pull/35314/head
parent
344dc6a9f8
commit
1d5bf34e38
|
@ -38,11 +38,12 @@ class MilvusConan(ConanFile):
|
|||
"prometheus-cpp/1.1.0",
|
||||
"re2/20230301",
|
||||
"folly/2023.10.30.08@milvus/dev",
|
||||
"google-cloud-cpp/2.5.0@milvus/dev",
|
||||
"opentelemetry-cpp/1.8.1.1@milvus/dev",
|
||||
"google-cloud-cpp/2.5.0@milvus/2.4#b8dda0943d40adee69d7adc5fafc317d",
|
||||
"opentelemetry-cpp/1.8.3@milvus/2.4#3b8139532791a163c8ff2819c55eb4ac",
|
||||
"librdkafka/1.9.1",
|
||||
"abseil/20230125.3",
|
||||
"roaring/3.0.0",
|
||||
"grpc/1.54.3@milvus/dev#5dfb5e1477b22c6d1e6d6b90ab5501d8",
|
||||
)
|
||||
generators = ("cmake", "cmake_find_package")
|
||||
default_options = {
|
||||
|
@ -76,6 +77,7 @@ class MilvusConan(ConanFile):
|
|||
"fmt:header_only": True,
|
||||
"onetbb:tbbmalloc": False,
|
||||
"onetbb:tbbproxy": False,
|
||||
"grpc:shared": True,
|
||||
}
|
||||
|
||||
def configure(self):
|
||||
|
|
|
@ -41,7 +41,7 @@ func TestOtlpHang(t *testing.T) {
|
|||
defer paramtable.Get().Reset(paramtable.Get().TraceCfg.Exporter.Key)
|
||||
defer paramtable.Get().Reset(paramtable.Get().TraceCfg.InitTimeoutSeconds.Key)
|
||||
|
||||
assert.Panics(t, func() {
|
||||
assert.NotPanics(t, func() {
|
||||
ResetTraceConfig(paramtable.Get())
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue