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
..
2025-06-12 20:46:36 +08:00
2025-05-16 16:34:23 +08:00
2025-06-17 15:22:38 +08:00
2025-07-02 22:18:44 +08:00
2025-05-10 09:19:16 +08:00
2024-12-11 11:32:44 +08:00
2025-06-17 15:22:38 +08:00
2025-06-12 20:46:36 +08:00
2025-06-12 20:46:36 +08:00
2025-01-07 13:26:55 +08:00
2025-06-04 09:58:39 +08:00
2024-08-23 12:35:02 +08:00
2024-12-26 10:32:49 +08:00
2024-11-19 15:48:40 +08:00
2025-06-12 20:46:36 +08:00
2025-06-17 15:22:38 +08:00
2023-05-12 14:11:20 +08:00
2025-01-14 09:50:58 +08:00
2023-05-12 14:11:20 +08:00
2025-06-12 20:46:36 +08:00
2025-01-13 09:58:57 +08:00
2025-04-02 18:46:20 +08:00
2025-05-10 09:19:16 +08:00
2025-06-12 20:46:36 +08:00
2025-07-02 22:18:44 +08:00
2025-07-02 22:18:44 +08:00
2025-04-28 10:52:40 +08:00
2025-07-02 22:18:44 +08:00
2025-07-02 22:18:44 +08:00
2025-03-04 11:56:02 +08:00
2024-08-02 15:40:14 +08:00
2024-03-11 14:45:02 +08:00
2025-06-17 10:08:38 +08:00
2025-04-30 14:22:58 +08:00
2025-06-17 15:22:38 +08:00
2025-05-27 18:28:27 +08:00
2025-06-12 20:46:36 +08:00
2025-07-02 22:18:44 +08:00
2025-07-02 22:18:44 +08:00
2025-06-12 20:46:36 +08:00
2024-10-25 15:25:30 +08:00
2024-06-22 09:38:02 +08:00
2024-09-30 13:23:32 +08:00
2025-06-12 20:46:36 +08:00
2025-07-07 14:24:46 +08:00
2025-06-12 20:46:36 +08:00
2025-06-27 14:44:42 +08:00
2025-06-12 14:38:35 +08:00
2025-06-17 15:22:38 +08:00
2025-06-10 11:06:35 +08:00
2025-01-17 15:55:03 +08:00
2025-06-17 15:22:38 +08:00
2023-12-26 11:04:47 +08:00
2025-06-12 20:46:36 +08:00
2025-06-17 15:22:38 +08:00
2025-06-12 20:46:36 +08:00
2025-06-24 16:32:42 +08:00
2025-06-24 16:32:42 +08:00
2025-06-24 16:32:42 +08:00
2025-04-30 08:48:54 +08:00
2025-05-08 10:12:54 +08:00
2023-06-25 14:38:44 +08:00
2025-04-16 17:14:33 +08:00
2024-03-21 11:15:20 +08:00
2025-06-03 14:42:31 +08:00
2024-07-19 14:01:39 +08:00
2025-07-01 10:08:44 +08:00
2024-08-02 19:32:46 +08:00
2024-08-02 19:32:46 +08:00
2025-04-09 10:18:26 +08:00
2025-06-12 20:46:36 +08:00
2025-06-12 20:46:36 +08:00
2025-06-12 20:46:36 +08:00
2025-04-30 08:48:54 +08:00
2024-04-26 12:01:26 +08:00
2025-06-12 20:46:36 +08:00
2024-09-30 13:23:32 +08:00
2025-06-12 20:46:36 +08:00
2024-12-16 19:40:45 +08:00
2025-04-28 10:52:40 +08:00
2024-08-27 16:34:59 +08:00
2025-07-02 22:18:44 +08:00
2025-04-28 10:52:40 +08:00
2023-08-31 20:07:00 +08:00
2025-04-28 10:52:40 +08:00
2025-05-20 13:26:23 +08:00
2025-06-18 00:42:38 +08:00
2025-06-12 20:46:36 +08:00
2025-06-25 16:52:42 +08:00
2025-07-04 10:10:45 +08:00
2025-05-30 10:18:36 +08:00
2025-07-10 17:32:48 +08:00
2025-04-16 17:14:33 +08:00
2025-05-08 14:28:52 +08:00
2025-06-12 14:38:35 +08:00