This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 8. Monitoring the Network Observability Operator
You can use the web console to monitor alerts related to the health of the Network Observability Operator.
8.1. Viewing health information Copier lienLien copié sur presse-papiers!
You can access metrics about health and resource usage of the Network Observability Operator from the Dashboards page in the web console. A health alert banner that directs you to the dashboard can appear on the Network Traffic and Home pages in the event that an alert is triggered. Alerts are generated in the following cases:
-
The
NetObservLokiErroralert occurs if theflowlogs-pipelineworkload is dropping flows because of Loki errors, such as if the Loki ingestion rate limit has been reached. -
The
NetObservNoFlowsalert occurs if no flows are ingested for a certain amount of time.
Prerequisites
- You have the Network Observability Operator installed.
-
You have access to the cluster as a user with the
cluster-adminrole or with view permissions for all projects.
Procedure
-
From the Administrator perspective in the web console, navigate to Observe
Dashboards. - From the Dashboards dropdown, select Netobserv/Health. Metrics about the health of the Operator are displayed on the page.
8.1.1. Disabling health alerts Copier lienLien copié sur presse-papiers!
You can opt out of health alerting by editing the FlowCollector resource:
-
In the web console, navigate to Operators
Installed Operators. - Under the Provided APIs heading for the NetObserv Operator, select Flow Collector.
- Select cluster then select the YAML tab.
-
Add
spec.processor.metrics.disableAlertsto disable health alerts, as in the following YAML sample:
- 1
- You can specify one or a list with both types of alerts to disable.
8.2. Creating Loki rate limit alerts for the NetObserv dashboard Copier lienLien copié sur presse-papiers!
You can create custom rules for the Netobserv dashboard metrics to trigger alerts when Loki rate limits have been reached.
An example of an alerting rule configuration YAML file is as follows: