aoiasd
cfeb095ad7
enhance: forbid build analyzer at proxy ( #44067 )
...
relate: https://github.com/milvus-io/milvus/issues/43687
We used to run the temporary analyzer and validate analyzer on the
proxy, but the proxy should not be a computation-heavy node. This PR
move all analyzer calculations to the streaming node.
---------
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2025-10-23 10:58:12 +08:00
PjJinchen
a90694165b
feat: Supports tracing services that require header-based authentication. ( #43211 )
...
issue: https://github.com/milvus-io/milvus/issues/43082
support tracing services that require header-based authentication.
for example: aliyun SLS, volcengine LogService etc...
[aliyun
SLS](https://help.aliyun.com/zh/sls/import-trace-data-from-golang-applications-to-log-service-by-using-opentelemetry-sdk-for-golang?spm=a2c4g.11186623.help-menu-search-28958.d_1#section-ktk-xxz-8om )
Add a headers config in trace config
```
trace:
exporter: otlp
sampleFraction: 1
otlp:
endpoint: milvus-cn-beijing-pre.cn-beijing.log.aliyuncs.com:10010
method: # otlp export method, acceptable values: ["grpc", "http"], using "grpc" by default
secure: true
headers: # base64
initTimeoutSeconds: 10
```
it is encoded as base64, raw data is json
```
{
"x-sls-otel-project": "milvus-cn-beijing-pre",
"x-sls-otel-instance-id": "milvus-cn-beijing-pre",
"x-sls-otel-ak-id": "xxx",
"x-sls-otel-ak-secret": "xxx"
}
```
[volcengine
tls](https://www.volcengine.com/docs/6470/812322#grpc-%E5%8D%8F%E8%AE%AE%E5%88%9D%E5%A7%8B%E5%8C%96%E7%A4%BA%E4%BE%8B )
Add a headers config in trace config
```
trace:
exporter: otlp
sampleFraction: 1
otlp:
endpoint: xxx
method: # otlp export method, acceptable values: ["grpc", "http"], using "grpc" by default
secure: true
headers: # base64
initTimeoutSeconds: 10
```
it is encoded as base64, raw data is json
```
{
"x-tls-otel-region": "cn-beijing",
"x-tls-otel-tracetopic": "milvus-cn-beijing-pre",
"x-tls-otel-ak": "xxx",
"x-tls-otel-sk": "xxx"
}
```
Signed-off-by: PjJinchen <6268414+pj1987111@users.noreply.github.com>
2025-07-10 17:32:48 +08:00
congqixia
cb7f2fa6fd
enhance: Use v2 package name for pkg module ( #39990 )
...
Related to #39095
https://go.dev/doc/modules/version-numbers
Update pkg version according to golang dep version convention
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-02-22 23:15:58 +08:00
congqixia
9e96ed4873
fix: Fix tracing config update logic ( #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-05 14:27:04 +08:00
congqixia
972752258a
enhance: Support otlp http exporter ( #35053 )
...
See also #35052
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-07-29 17:43:49 +08:00
aoiasd
f8929cc36a
fix: can't generate traceID when use noop exporter ( #33191 )
...
relate: https://github.com/milvus-io/milvus/issues/33190
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2024-05-21 10:39:39 +08:00
aoiasd
54a51b1236
enhance: Support dynamic config for opentelemetry trace ( #32169 )
...
relate: https://github.com/milvus-io/milvus/issues/31940
---------
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2024-05-09 17:43:30 +08:00
congqixia
0c7a96b48d
enhance: Make compaction log has traceID ( #30338 )
...
See also #30167
After support open telemetry tracing, we want to have traceID as well,
this PR adds util functions to set traceID with span & propagate traceID
between different context.
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-01-30 10:09:03 +08:00
Enwei Jiao
0e65e90338
enhance: Support otlp with insecure ( #29115 )
...
issue: https://github.com/milvus-io/milvus/issues/28914
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-12-12 11:14:37 +08:00
SimFG
26f06dd732
Format the code ( #27275 )
...
Signed-off-by: SimFG <bang.fu@zilliz.com>
2023-09-21 09:45:27 +08:00
jaime
c9d0c157ec
Move some modules from internal to public package ( #22572 )
...
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-04-06 19:14:32 +08:00