diff --git a/crd-docs/cr/kiali.io_v1alpha1_kiali.yaml b/crd-docs/cr/kiali.io_v1alpha1_kiali.yaml index 22ca29cc..9121600f 100644 --- a/crd-docs/cr/kiali.io_v1alpha1_kiali.yaml +++ b/crd-docs/cr/kiali.io_v1alpha1_kiali.yaml @@ -393,6 +393,8 @@ spec: cluster: "cluster-east" query_timeout: 5 tempo_config: + cache_capacity: 200 + cache_enabled: true datasource_uid: "" org_id: "" url_format: "" diff --git a/crd-docs/crd/kiali.io_kialis.yaml b/crd-docs/crd/kiali.io_kialis.yaml index a0916706..08b23b1f 100644 --- a/crd-docs/crd/kiali.io_kialis.yaml +++ b/crd-docs/crd/kiali.io_kialis.yaml @@ -1098,6 +1098,12 @@ spec: description: "Settings used to configure the access url to the Tempo Datasource in Grafana." type: object properties: + cache_capacity: + description: "When `cache_enabled` is true, the number of traces saved in the cache. 200 by default." + type: integer + cache_enabled: + description: "A FIFO cache with the last `cache_capacity` traces viewed." + type: boolean datasource_uid: description: "The unique identifier (uid) of the Tempo datasource in Grafana." type: string diff --git a/roles/default/kiali-deploy/defaults/main.yml b/roles/default/kiali-deploy/defaults/main.yml index a4f59f78..a451bccd 100644 --- a/roles/default/kiali-deploy/defaults/main.yml +++ b/roles/default/kiali-deploy/defaults/main.yml @@ -226,6 +226,8 @@ kiali_defaults: query_scope: {} query_timeout: 5 tempo_config: + cache_capacity: 200 + cache_enabled: true datasource_uid: "" org_id: "" url_format: ""