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
Performance / custom dashboards: new configs #243
Conversation
deploy/kiali/kiali_cr.yaml
Outdated
# discovery_enabled: auto | ||
# discovery_auto_threshold: 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All peer settings in the operator config files are sorted alphabetically. Sort these alphabetically:
# discovery_enabled: auto | |
# discovery_auto_threshold: 10 | |
# discovery_auto_threshold: 10 | |
# discovery_enabled: auto |
discovery_enabled: "auto" | ||
discovery_auto_threshold: 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All peer settings in the operator config files are sorted alphabetically. Sort these alphabetically:
discovery_enabled: "auto" | |
discovery_auto_threshold: 10 | |
discovery_auto_threshold: 10 | |
discovery_enabled: "auto" |
deploy/kiali/kiali_cr.yaml
Outdated
# discovery_enabled: Enable, disable or set 'auto' mode to the dashboards discovery process. If set to true, Kiali | ||
# will always try to discover dashboards based on metrics. Note that it can generate performance penalties while | ||
# discovering dashboards for workloads having many pods (thus many metrics), especially with versions of Prometheus < 2.24. | ||
# When set to 'auto', Kiali will skip dashboards discovery for workloads with more than a configured threshold of pods | ||
# (see 'discovery_auto_threshold'). When discovery is disabled or auto/skipped, it is still possible to tie workloads | ||
# with dashboards through annotations on pods (refer to the doc https://kiali.io/documentation/latest/runtimes-monitoring/#pods-annotations) | ||
# Allowed values: true, false, auto. Default: auto. | ||
# discovery_auto_threshold: Threshold of pods, for a given Application or Workload, above which dashboards discovery will be skipped | ||
# when in 'auto' mode. Default: 10. | ||
# enabled: Enable or disable custom dashboards, including the dashboards discovery process. Default: true. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All peer settings in the operator config files are sorted alphabetically. Sort these alphabetically. Also, tweaked some of this for more clarity, and no need to mention the "Default" in the text of the description - all the commented values in this example CR file are the documented default values.
# discovery_enabled: Enable, disable or set 'auto' mode to the dashboards discovery process. If set to true, Kiali | |
# will always try to discover dashboards based on metrics. Note that it can generate performance penalties while | |
# discovering dashboards for workloads having many pods (thus many metrics), especially with versions of Prometheus < 2.24. | |
# When set to 'auto', Kiali will skip dashboards discovery for workloads with more than a configured threshold of pods | |
# (see 'discovery_auto_threshold'). When discovery is disabled or auto/skipped, it is still possible to tie workloads | |
# with dashboards through annotations on pods (refer to the doc https://kiali.io/documentation/latest/runtimes-monitoring/#pods-annotations) | |
# Allowed values: true, false, auto. Default: auto. | |
# discovery_auto_threshold: Threshold of pods, for a given Application or Workload, above which dashboards discovery will be skipped | |
# when in 'auto' mode. Default: 10. | |
# enabled: Enable or disable custom dashboards, including the dashboards discovery process. Default: true. | |
# discovery_auto_threshold: Threshold of the number of pods, for a given Application or Workload, above which dashboards discovery will be skipped. | |
# This setting only takes effect when discovery_enabled is set to 'auto' mode. | |
# discovery_enabled: Enable, disable or set 'auto' mode to the dashboards discovery process. If set to true, Kiali | |
# will always try to discover dashboards based on metrics. Note that it can generate performance penalties while | |
# discovering dashboards for workloads having many pods (thus many metrics), especially with versions of Prometheus < 2.24. | |
# When set to 'auto', Kiali will skip dashboards discovery for workloads with more than a configured threshold of pods | |
# (see 'discovery_auto_threshold'). When discovery is disabled or auto/skipped, it is still possible to tie workloads | |
# with dashboards through annotations on pods (refer to the doc https://kiali.io/documentation/latest/runtimes-monitoring/#pods-annotations) | |
# Allowed values: true, false, auto. | |
# enabled: Enable or disable custom dashboards, including the dashboards discovery process. |
- discovery_enabled (true/false/auto) to switch discovery mode - discovery_auto_threshold: pods threshold above which discovery is skipped in auto mode Part of kiali/kiali#3660
94b839d
to
aa318e3
Compare
Ah, damn alphabetical sort! I've been very careful about that when adding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was not addressed: #243 (comment)
Ok I didn't notice you changed the text. I also changed it on my side. Need to merge both now |
@jmazzitelli ok, pushed again, I hope I didn't miss any of your changes |
skipped in auto mode
Part of kiali/kiali#3660
Kiali core PR: kiali/kiali#3668