diff --git a/all-in-one/confs/instance-1/deployment.toml b/all-in-one/confs/instance-1/deployment.toml index 2589c9b2..cb7ab67f 100644 --- a/all-in-one/confs/instance-1/deployment.toml +++ b/all-in-one/confs/instance-1/deployment.toml @@ -321,6 +321,22 @@ revoke_endpoint = {{ .Values.wso2.apim.configurations.oauth_config.revokeEndpoin enable_token_encryption = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenEncryption }} enable_token_hashing = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenHashing }} +{{- if .Values.wso2.apim.configurations.openTracer.enabled }} +[apim.open_tracer] +remote_tracer.enable = {{ .Values.wso2.apim.configurations.openTracer.enabled }} +remote_tracer.name = {{ .Values.wso2.apim.configurations.openTracer.name | quote }} +remote_tracer.properties.hostname = {{ .Values.wso2.apim.configurations.openTracer.properties.hostname | quote }} +remote_tracer.properties.port = {{ .Values.wso2.apim.configurations.openTracer.properties.port | quote }} +{{- end }} + +{{- if .Values.wso2.apim.configurations.openTelemetry.enabled }} +[apim.open_telemetry] +remote_tracer.enable = {{ .Values.wso2.apim.configurations.openTelemetry.enabled }} +remote_tracer.name = {{ .Values.wso2.apim.configurations.openTelemetry.name | quote }} +remote_tracer.hostname = {{ .Values.wso2.apim.configurations.openTelemetry.hostname | quote }} +remote_tracer.port = {{ .Values.wso2.apim.configurations.openTelemetry.port | quote }} +{{- end }} + [apim.devportal] url = "https://{{ .Values.kubernetes.ingress.management.hostname }}/devportal" mode = {{ .Values.wso2.apim.configurations.devportal.mode | quote }} diff --git a/all-in-one/confs/instance-2/deployment.toml b/all-in-one/confs/instance-2/deployment.toml index f1a6a307..0a752e89 100644 --- a/all-in-one/confs/instance-2/deployment.toml +++ b/all-in-one/confs/instance-2/deployment.toml @@ -321,6 +321,22 @@ revoke_endpoint = {{ .Values.wso2.apim.configurations.oauth_config.revokeEndpoin enable_token_encryption = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenEncryption }} enable_token_hashing = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenHashing }} +{{- if .Values.wso2.apim.configurations.openTracer.enabled }} +[apim.open_tracer] +remote_tracer.enable = {{ .Values.wso2.apim.configurations.openTracer.enabled }} +remote_tracer.name = {{ .Values.wso2.apim.configurations.openTracer.name | quote }} +remote_tracer.properties.hostname = {{ .Values.wso2.apim.configurations.openTracer.properties.hostname | quote }} +remote_tracer.properties.port = {{ .Values.wso2.apim.configurations.openTracer.properties.port | quote }} +{{- end }} + +{{- if .Values.wso2.apim.configurations.openTelemetry.enabled }} +[apim.open_telemetry] +remote_tracer.enable = {{ .Values.wso2.apim.configurations.openTelemetry.enabled }} +remote_tracer.name = {{ .Values.wso2.apim.configurations.openTelemetry.name | quote }} +remote_tracer.hostname = {{ .Values.wso2.apim.configurations.openTelemetry.hostname | quote }} +remote_tracer.port = {{ .Values.wso2.apim.configurations.openTelemetry.port | quote }} +{{- end }} + [apim.devportal] url = "https://{{ .Values.kubernetes.ingress.management.hostname }}/devportal" mode = {{ .Values.wso2.apim.configurations.devportal.mode | quote }} diff --git a/all-in-one/values.yaml b/all-in-one/values.yaml index a3b78585..c3b1e84a 100644 --- a/all-in-one/values.yaml +++ b/all-in-one/values.yaml @@ -542,6 +542,29 @@ wso2: # -- Enable token hashing enableTokenHashing: false oauth2JWKSUrl: "" + + # APIM Open Tracing configurations + # https://apim.docs.wso2.com/en/latest/observe/api-manager/traces/monitoring-with-opentracing/ + openTracer: + # -- Open Tracing enabled + enabled: false + # -- Remote tracer name. e.g. jaeger, zipkin + name: "" + properties: + # -- Remote tracer hostname + hostname: "" + # -- Remote tracer port + port: "" + # APIM Open Telemetry configurations + openTelemetry: + # -- Open Telemetry enabled + enabled: false + # -- Remote tracer name. e.g. jaeger, zipkin, OTLP + name: "" + # -- Remote tracer hostname + hostname: "" + # -- Remote tracer port + port: "" # APIM Devportal configurations devportal: