Skip to content

Commit

Permalink
[Tempo] Add tempo cache config option (#848)
Browse files Browse the repository at this point in the history
* Add tempo cache config option

---------

Co-authored-by: John Mazzitelli <[email protected]>
  • Loading branch information
josunect and jmazzitelli authored Dec 3, 2024
1 parent 364cf37 commit 401510e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crd-docs/cr/kiali.io_v1alpha1_kiali.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand Down
6 changes: 6 additions & 0 deletions crd-docs/crd/kiali.io_kialis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions roles/default/kiali-deploy/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand Down

0 comments on commit 401510e

Please sign in to comment.