Skip to content

Commit

Permalink
chart: add tracing options to gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
ElysaSrc committed Jan 4, 2024
1 parent 7c97fd3 commit 1257ad8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/gateway_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ data:
root_folder = "/srv/front"
redirect_404_to_index = true
{{- if $config.tracing.enabled }}
[telemetry.tracing]
type = "{{ $config.tracing.type }}"
endpoint = "{{ $config.tracing.endpoint }}"
service_name = "{{ $config.tracing.service_name }}"
{{- end }}
{{- if .Values.tileServer.enabled }}
[[targets]]
prefix = "/api/layers"
Expand Down
5 changes: 5 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ gateway:
provider_id: "mocked"
username: "osrd-admin"
require_login: false
tracing:
enabled: false
type: ""
endpoint: ""
service_name: "osrd-gateway"
trusted_proxies:
- "10.0.0.0/8"
- "172.16.0.0/12"
Expand Down

0 comments on commit 1257ad8

Please sign in to comment.