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

Add new graph setting for the animation style #851

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
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 @@ -445,7 +445,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 @@ -1248,10 +1248,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 @@ -278,10 +278,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