Skip to content

Commit

Permalink
Added new config options for OpenTelemetry exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
josunect committed Aug 23, 2023
1 parent aaf6af6 commit 3ad84cc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crd-docs/cr/kiali.io_v1alpha1_kiali.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,11 @@ spec:
enabled: true
port: 9090
tracing:
collector_type: "jaeger"
collector_url: "http://jaeger-collector.istio-system:14268/api/traces"
enabled: false
otel:
protocol: "http"
port: 20001
web_fqdn: ""
web_history_mode: ""
Expand Down
10 changes: 10 additions & 0 deletions crd-docs/crd/kiali.io_kialis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1269,12 +1269,22 @@ spec:
description: "Settings that control how the Kiali server itself emits its own tracing data."
type: object
properties:
collector_type:
description: "The collector type to use. Value must be one of: `jaeger` or `otel`."
type: string
collector_url:
description: "The URL used to determine where the Kiali server tracing data will be stored."
type: string
enabled:
description: "When true, the Kiali server itself will product its own tracing data."
type: boolean
otel:
description: "Specific properties when the collector type is `otel`."
type: object
properties:
protocol:
description: "Protocol. Supported values are: `http`, `https` or `grpc`."
type: string
port:
description: "The port that the server will bind to in order to receive console and API requests."
type: integer
Expand Down
3 changes: 3 additions & 0 deletions roles/default/kiali-deploy/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,11 @@ kiali_defaults:
enabled: true
port: 9090
tracing:
collector_type: "jaeger"
collector_url: http://jaeger-collector.istio-system:14268/api/traces
enabled: false
otel:
protocol: "http"
port: 20001
web_fqdn: ""
web_history_mode: ""
Expand Down

0 comments on commit 3ad84cc

Please sign in to comment.