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 profiler to kiali server #737

Merged
merged 1 commit into from
Feb 7, 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 @@ -464,6 +464,8 @@ spec:
skip_verify: false
tls_enabled: false
port: 20001
profiler:
enabled: false
web_fqdn: ""
web_history_mode: ""
web_port: ""
Expand Down
7 changes: 7 additions & 0 deletions crd-docs/crd/kiali.io_kialis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1357,6 +1357,13 @@ spec:
port:
description: "The port that the server will bind to in order to receive console and API requests."
type: integer
profiler:
description: "Controls the internal profiler used to debug the internals of Kiali"
type: object
properties:
enabled:
description: "When 'true', the profiler will be enabled and accessible at /debug/pprof/ on the Kiali endpoint."
type: boolean
web_fqdn:
description: "Defines the public domain where Kiali is being served. This is the 'domain' part of the URL (usually it's a fully-qualified domain name). For example, `kiali.example.org`. When empty, Kiali will try to guess this value from HTTP headers. On non-OpenShift clusters, you must populate this value if you want to enable cross-linking between Kiali instances in a multi-cluster setup."
type: string
Expand Down
4 changes: 4 additions & 0 deletions deploy/kiali/kiali_cr_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ spec:
service_type: $SERVICE_TYPE
logger:
log_level: info

server:
profiler:
enabled: true
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 @@ -348,6 +348,8 @@ kiali_defaults:
skip_verify: false
tls_enabled: false
port: 20001
profiler:
enabled: false
web_fqdn: ""
web_history_mode: ""
web_port: ""
Expand Down
Loading