Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tempo] Add tempo cache config option #848

Merged
merged 3 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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