Skip to content

Commit a204a5e

Browse files
authored
Create provider field in the tracing config (kiali#679)
* Create provider field in the tracing config * typo
1 parent 1b7937d commit a204a5e

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

crd-docs/cr/kiali.io_v1alpha1_kiali.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ spec:
331331
in_cluster_url: ""
332332
is_core: false
333333
namespace_selector: true
334+
provider: "jaeger"
334335
# default: query_scope is empty
335336
query_scope:
336337
mesh_id: "mesh-1"

crd-docs/crd/kiali.io_kialis.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ spec:
863863
description: "The URL used to query the Prometheus Server. This URL must be accessible from the Kiali pod. If empty, the default will assume Prometheus is in the Istio control plane namespace; e.g. `http://prometheus.<istio_namespace>:9090`."
864864
type: string
865865
tracing:
866-
description: "Configuration used to access the Tracing (Jaeger) dashboards."
866+
description: "Configuration used to access the Tracing (Jaeger or Tempo) dashboards."
867867
type: object
868868
properties:
869869
auth:
@@ -903,6 +903,9 @@ spec:
903903
namespace_selector:
904904
description: "Kiali use this boolean to find traces with a namespace selector : service.namespace."
905905
type: boolean
906+
provider:
907+
description: "The trace provider to get the traces from. Value must be one of: `jaeger` or `tempo`."
908+
type: string
906909
query_scope:
907910
description: "A set of tagKey/tagValue settings applied to every Jaeger query. Used to narrow unified traces to only those scoped to the Kiali instance."
908911
type: object

roles/default/kiali-deploy/defaults/main.yml

+1
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ kiali_defaults:
220220
in_cluster_url: ""
221221
is_core: false
222222
namespace_selector: true
223+
provider: "jaeger"
223224
query_scope: {}
224225
query_timeout: 5
225226
url: ""

0 commit comments

Comments
 (0)