Skip to content

Commit

Permalink
Add new graph setting for the animation style (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
jshaughn authored Dec 5, 2024
1 parent 36e97ca commit 35a5e5a
Show file tree
Hide file tree
Showing 3 changed files with 17 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 @@ -447,7 +447,10 @@ spec:
expression: "healthy"
- description: "Hide: unknown nodes"
expression: "name = unknown"
settings:
animation: "point"
traffic:
ambient: "total"
grpc: "requests"
http: "requests"
tcp: "sent"
Expand Down
12 changes: 12 additions & 0 deletions crd-docs/crd/kiali.io_kialis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1254,10 +1254,22 @@ spec:
expression:
type: string
description: "The hide expression."
settings:
description: "Various presentation options."
type: object
properties:
animation:
description: "The traffic animation style. Value must be one of: `dash` or `point`. Default is `point`."
type: string
enum: ["dash", "point"]
traffic:
description: "These settings determine which rates are used to determine graph traffic."
type: object
properties:
ambient:
description: "Ambient traffic is reported by ztunnel and/or waypoints. Value must be one of: `none`, `total`, `waypoint`, or `ztunnel`."
type: string
enum: ["none", "total", "waypoint", "ztunnel"]
grpc:
description: "gRPC traffic is measured in requests or sent/received/total messages. Value must be one of: `none`, `requests`, `sent`, `received`, or `total`."
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 @@ -280,10 +280,12 @@ kiali_defaults:
description: "Hide: nodes ranked lower than the 2 top rankings"
expression: "rank > 2"
settings:
animation: "point"
font_label: 13
min_font_badge: 7
min_font_label: 10
traffic:
ambient: "total"
grpc: "requests"
http: "requests"
tcp: "sent"
Expand Down

0 comments on commit 35a5e5a

Please sign in to comment.