milvus/pkg/tracer
congqixia 55b33cd3cf
fix: [2.4] Fix tracing config update logic (#35928) (#35998)
Cherry-pick from master
pr: #35928 
Related to #35927

There are serveral issue this PR addresses:
- Use `ResetTraceConfig` method instead init one in update event handler
- Implement dynamic stats.Handler to receive tracing config update event
- Update `enable_trace` flag when `ResetTraceConfig` is invoked
- Change `enable_trace` to `std::atomic<bool>` in case of data race

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-09-06 11:19:05 +08:00
..
interceptor_suite.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
stack_trace_test.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
stack_trace.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
stats_handler.go fix: [2.4] Fix tracing config update logic (#35928) (#35998) 2024-09-06 11:19:05 +08:00
tracer_test.go enhance: Support dynamic config for opentelemetry trace (#32169) 2024-05-09 17:43:30 +08:00
tracer.go enhance: [2.4] Support otlp http exporter (#35053) (#35073) 2024-07-30 21:00:08 +08:00
util.go enhance: Make compaction log has traceID (#30338) 2024-01-30 10:09:03 +08:00