Skip to content

Commit 51933b0

Browse files
committed
feat: add headers for tracing in seed client and client
Signed-off-by: Gaius <gaius.qi@gmail.com>
1 parent 181cf55 commit 51933b0

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

charts/dragonfly/Chart.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: dragonfly
33
description: Dragonfly is an intelligent P2P based image and file distribution system
44
icon: https://raw.githubusercontent.com/dragonflyoss/dragonfly/main/docs/images/logo/dragonfly.svg
55
type: application
6-
version: 1.3.33
6+
version: 1.3.34
77
appVersion: 2.2.4-beta.1
88
keywords:
99
- dragonfly
@@ -27,8 +27,7 @@ sources:
2727

2828
annotations:
2929
artifacthub.io/changes: |
30-
- Bump client to v0.2.34.
31-
- Bump dragonfly to v2.2.4-beta.1.
30+
- Add headers for tracing in seed client and client.
3231
3332
artifacthub.io/links: |
3433
- name: Chart Source

charts/dragonfly/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ helm delete dragonfly --namespace dragonfly-system
276276
| manager.config.server.rest.tls.key | string | `""` | Key file path. |
277277
| manager.config.server.workHome | string | `""` | Work directory. |
278278
| manager.config.tracing.addr | string | `""` | |
279+
| manager.config.tracing.headers | object | `{}` | |
279280
| manager.config.verbose | bool | `true` | Whether to enable debug level logger and enable pprof. |
280281
| manager.deploymentAnnotations | object | `{}` | Deployment annotations. |
281282
| manager.enable | bool | `true` | Enable manager. |
@@ -378,6 +379,7 @@ helm delete dragonfly --namespace dragonfly-system
378379
| scheduler.config.server.port | int | `8002` | Server port. |
379380
| scheduler.config.server.workHome | string | `""` | Work directory. |
380381
| scheduler.config.tracing.addr | string | `""` | |
382+
| scheduler.config.tracing.headers | object | `{}` | |
381383
| scheduler.config.verbose | bool | `true` | Whether to enable debug level logger and enable pprof. |
382384
| scheduler.containerPort | int | `8002` | Pod containerPort. |
383385
| scheduler.enable | bool | `true` | Enable scheduler. |

charts/dragonfly/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ manager:
224224
tracing:
225225
# - Jaeger endpoint url, like: jaeger.dragonfly.svc:4317.
226226
addr: ""
227+
# - Headers is the grpc's headers to send with tracing log.
228+
headers: {}
227229
metrics:
228230
# -- Enable manager metrics.
229231
enable: true
@@ -497,6 +499,8 @@ scheduler:
497499
tracing:
498500
# - Jaeger endpoint url, like: jaeger.dragonfly.svc:4317.
499501
addr: ""
502+
# - Headers is the grpc's headers to send with tracing log.
503+
headers: {}
500504
metrics:
501505
# -- Enable scheduler metrics.
502506
enable: true
@@ -1018,6 +1022,8 @@ seedClient:
10181022
# tracing:
10191023
# # addr is the address to report tracing log, like jaeger.dragonfly.svc:4317.
10201024
# addr: ""
1025+
# # Headers is the grpc's headers to send with tracing log.
1026+
# headers: {}
10211027
metrics:
10221028
# -- Enable seed client metrics.
10231029
enable: true
@@ -1488,6 +1494,8 @@ client:
14881494
# tracing:
14891495
# # addr is the address to report tracing log, like jaeger.dragonfly.svc:4317.
14901496
# addr: ""
1497+
# # Headers is the grpc's headers to send with tracing log.
1498+
# headers: {}
14911499
metrics:
14921500
# -- Enable client metrics.
14931501
enable: true

0 commit comments

Comments
 (0)