Skip to content

Commit 418cd67

Browse files
jpinsonneaujotak
andauthored
NETOBSERV-2401 Static plugin forms polishing (#1028)
* address feedback * Static plugin, use pre text + use wilcard order everywhere * fix lint * Address more feedback * Revert last change on sampling, instead remove from previous step * Fix wrong description on ebpf features * FlowMetrics updates: - remove divider, flatten, charts - do not use example as the prepopulated data - few changes in the introduction text (e.g. use "network flows" rather than "flowlogs data"). Mention that FlowCollector is needed. * FlowMetrics form updates: - Add link to advanced form - Clarify what namespace is expected - Show name/namespace as required * Sampling configuration with a slider and more information * Remove slider number input * Flowmetrics: Use netobserv namespace by default * Move namespace caveat text to description --------- Co-authored-by: Joel Takvorian <[email protected]>
1 parent 473a0d6 commit 418cd67

File tree

11 files changed

+439
-325
lines changed

11 files changed

+439
-325
lines changed

web/locales/en/plugin__netobserv-plugin.json

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -168,21 +168,25 @@
168168
"Namespaces": "Namespaces",
169169
"Pods": "Pods",
170170
"Recommendations": "Recommendations",
171+
"The example outlined in the table demonstrates a scenario that is tailored to your workload. Consider this example only as a baseline from which adjustments can be made to accommodate your needs.": "The example outlined in the table demonstrates a scenario that is tailored to your workload. Consider this example only as a baseline from which adjustments can be made to accommodate your needs.",
171172
"vCPU": "vCPU",
172173
"Memory": "Memory",
173174
"LokiStack size": "LokiStack size",
174175
"Kafka": "Kafka",
175-
"Estimation": "Estimation",
176-
"Sampling": "Sampling",
177-
"(current)": "(current)",
176+
"Performance tuning and estimation": "Performance tuning and estimation",
177+
"The sampling interval is one of the main settings used to balance performance and accuracy. The lower the interval, the higher the accuracy.": "The sampling interval is one of the main settings used to balance performance and accuracy. The lower the interval, the higher the accuracy.",
178+
"Use the slider below to configure the desired sampling interval.": "Use the slider below to configure the desired sampling interval.",
179+
"Sampling interval": "Sampling interval",
180+
"The estimations are based on the number of nodes in the cluster and the sampling rate. They do not take into account the number of namespaces or pods, as their impact is comparatively lower than that of nodes.\nThey are calculated using a linear regression model based on data collected from various OpenShift clusters. Actual resource consumption may vary depending on your specific workload and cluster configuration.": "The estimations are based on the number of nodes in the cluster and the sampling rate. They do not take into account the number of namespaces or pods, as their impact is comparatively lower than that of nodes.\nThey are calculated using a linear regression model based on data collected from various OpenShift clusters. Actual resource consumption may vary depending on your specific workload and cluster configuration.",
178181
"There is some issue in this form view. Please select \"YAML view\" for full control.": "There is some issue in this form view. Please select \"YAML view\" for full control.",
179182
"Note: Some fields may not be represented in this form view. Please select \"YAML view\" for full control.": "Note: Some fields may not be represented in this form view. Please select \"YAML view\" for full control.",
183+
"(see more...)": "(see more...)",
180184
"Remove {{singularLabel}}": "Remove {{singularLabel}}",
181185
"Add {{singularLabel}}": "Add {{singularLabel}}",
182186
"Error": "Error",
183187
"Fix the following errors:": "Fix the following errors:",
184-
"Enabled": "Enabled",
185-
"Disabled": "Disabled",
188+
"True": "True",
189+
"False": "False",
186190
"Select {{title}}": "Select {{title}}",
187191
"Configure via:": "Configure via:",
188192
"Form view": "Form view",
@@ -201,20 +205,22 @@
201205
"Create FlowCollector": "Create FlowCollector",
202206
"Network Observability FlowCollector setup": "Network Observability FlowCollector setup",
203207
"Overview": "Overview",
204-
"Network Observability Operator deploys a monitoring pipeline that consists in:\n - an eBPF agent, that generates network flows from captured packets\n - flowlogs-pipeline, a component that collects, enriches and exports these flows\n - a Console plugin for flows visualization with powerful filtering options, a topology representation and more\n\nFlow data is then available in multiple ways, each optional:\n - As Prometheus metrics\n - As raw flow logs stored in Grafana Loki\n - As raw flow logs exported to a collector\n\nThe FlowCollector resource is used to configure the operator and its managed components.\nThis setup will guide you on the common aspects of the FlowCollector configuration.": "Network Observability Operator deploys a monitoring pipeline that consists in:\n - an eBPF agent, that generates network flows from captured packets\n - flowlogs-pipeline, a component that collects, enriches and exports these flows\n - a Console plugin for flows visualization with powerful filtering options, a topology representation and more\n\nFlow data is then available in multiple ways, each optional:\n - As Prometheus metrics\n - As raw flow logs stored in Grafana Loki\n - As raw flow logs exported to a collector\n\nThe FlowCollector resource is used to configure the operator and its managed components.\nThis setup will guide you on the common aspects of the FlowCollector configuration.",
208+
"The FlowCollector resource is used to configure the Network Observability operator and its managed components. When it is created, network flows start being collected.": "The FlowCollector resource is used to configure the Network Observability operator and its managed components. When it is created, network flows start being collected.",
209+
"This wizard is a helper to create a first FlowCollector resource. It does not cover all the available configuration options, but only the most common ones.\nFor advanced configuration, please use YAML or the": "This wizard is a helper to create a first FlowCollector resource. It does not cover all the available configuration options, but only the most common ones.\nFor advanced configuration, please use YAML or the",
210+
"FlowCollector form": "FlowCollector form",
211+
", which includes more options such as:\n- Filtering options\n- Configuring custom exporters\n- Custom labels based on IP\n- Pod identification for secondary networks\n- Performance fine-tuning\nYou can always edit a FlowCollector later when you start with the simplified configuration.": ", which includes more options such as:\n- Filtering options\n- Configuring custom exporters\n- Custom labels based on IP\n- Pod identification for secondary networks\n- Performance fine-tuning\nYou can always edit a FlowCollector later when you start with the simplified configuration.",
205212
"Operator configuration": "Operator configuration",
206-
"Capture": "Capture",
207-
"Pipeline": "Pipeline",
208-
"Storage": "Storage",
209-
"Integration": "Integration",
213+
"Processing": "Processing",
210214
"Consumption": "Consumption",
211-
"Review": "Review",
215+
"Submit": "Submit",
212216
"Network Observability FlowMetric setup": "Network Observability FlowMetric setup",
213-
"You can create custom metrics out of the flowlogs data using the FlowMetric API. In every flowlogs data that is collected, there are a number of fields labeled per log, such as source name and destination name. These fields can be leveraged as Prometheus labels to enable the customization of cluster information on your dashboard.\nThis setup will guide you on the common aspects of the FlowMetric configuration.": "You can create custom metrics out of the flowlogs data using the FlowMetric API. In every flowlogs data that is collected, there are a number of fields labeled per log, such as source name and destination name. These fields can be leveraged as Prometheus labels to enable the customization of cluster information on your dashboard.\nThis setup will guide you on the common aspects of the FlowMetric configuration.",
214-
"General configuration": "General configuration",
217+
"You can create custom metrics out of the network flows using the FlowMetric API. A FlowCollector resource must be created as well in order to produce the flows. Each flow consists in a set of fields with values, such as source name and destination name. These fields can be leveraged as Prometheus labels to enable customized metrics and dashboards.": "You can create custom metrics out of the network flows using the FlowMetric API. A FlowCollector resource must be created as well in order to produce the flows. Each flow consists in a set of fields with values, such as source name and destination name. These fields can be leveraged as Prometheus labels to enable customized metrics and dashboards.",
218+
"This simplified setup guides you through the common aspects of the FlowMetric configuration. For advanced configuration, please use YAML or the ": "This simplified setup guides you through the common aspects of the FlowMetric configuration. For advanced configuration, please use YAML or the ",
219+
"FlowMetric form": "FlowMetric form",
220+
"Resource configuration": "Resource configuration",
215221
"Metric": "Metric",
216222
"Data": "Data",
217-
"Charts": "Charts",
223+
"Review": "Review",
218224
"Update {{kind}}": "Update {{kind}}",
219225
"Create {{kind}}": "Create {{kind}}",
220226
"Update by completing the form. Current values are from the existing resource.": "Update by completing the form. Current values are from the existing resource.",
@@ -400,6 +406,7 @@
400406
"from": "from",
401407
"in": "in",
402408
"Configuration": "Configuration",
409+
"Sampling": "Sampling",
403410
"Max chunk age": "Max chunk age",
404411
"Version": "Version",
405412
"Number": "Number",

0 commit comments

Comments
 (0)