> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/npp/3.0/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/npp/3.0/releases/3.0.0.md).

# Network Performance Probe 3.0.0

Network Performance Probe (NPP) in version 3.0.0 provides the following features and bug fixes:

- Introduce Helm-based installation
- Introduce Grafana dashboards and Prometheus PodMonitors
- Provide an ability to select a container from Pod for injection
- Provide an ability to define toleration for probes
- Improve metrics names and types
- Start probe execution immediately when Pod starts
- Fix MTRMonitor configuration

## Features 

### Introduce Helm-based installation

The new version of Network Performance Probe is packed into a Helm chart. Thanks to that, it simplified the deployment and configuration process, as the old way of installation required a manual manifest modification. The Helm package installation process is straightforward, and the user can easily override default values. There are two charts - `npp` and `npp-crd`. Read the [Installation guide](https://docs.cennso.com/components/npp/3.0/installation.md) to learn how to install NPP.

### Introduce Grafana dashboards and Prometheus PodMonitors

Together with the new version of NPP, the Helm chart also contains Prometheus PodMonitors responsible for configuring Prometheus to scrape metrics from probe Pods. Also, it includes Grafana dashboards for every type of monitor. Read the [Enable Prometheus monitors](https://docs.cennso.com/components/npp/3.0/installation.md#enable-grafana-dashboards) section in the Installation guide to learn how to enable the monitoring stack.

### Provide an ability to select a container from Pod for injection

Probes from the old version of NPP didn't have the option to specify into which container from the Pod a probe should be injected. It was using the first returned container from the API. The new version of probes can select the container from the Pod that the probe will be injected into. It is crucial when every container has a different network namespace, and the probe needs to run as a specific one. The configuration is exposed as the **spec.container** field on all probes.

### Provide an ability to define toleration for probes

Kubernetes provides multiple approaches to control how pods are distributed across nodes. One option is setting taints on the nodes to block scheduling pods that don't tolerate them. With this release, NPP Probes support tolerations and can be injected into pods that run on tainted nodes. 

### Improve metrics names and types

The new version of NPP improves metrics exposed by probes. Metrics that represent total values of execution are now of the `counter` type instead of `gauge`. Also, some metrics have been renamed as the old names were misleading.

New metrics names and types:

- `download_best_speed` (`gauge`) -> `download_maximum_speed` (`gauge`)
- `download_worst_speed` (`gauge`) -> `download_minimum_speed` (`gauge`)
- `download_history_total` (`gauge`) -> `download_history_total` (`counter`)
- `download_history_failures` (`gauge`) -> `download_history_failures_total` (`counter`)
- `mtr_failures` (`gauge`) -> `mtr_failures_total` (`counter`)
- `mtr_best_ms` (`gauge`) -> `mtr_minimum_ms` (`gauge`)
- `mtr_worst_ms` (`gauge`) -> `mtr_maximum_ms` (`gauge`)
- `ping_history_failures` (`gauge`) -> `ping_history_failures_total` (`counter`)
- `ping_history_total` (`gauge`) -> `ping_history_total` (`counter`)
- `ping_rtt_best_ms` (`gauge`) -> `ping_rtt_minimum_ms` (`gauge`)
- `ping_rtt_worst_ms` (`gauge`) -> `ping_rtt_maximum_ms` (`gauge`)
- 

## Fixes 

### Start probe execution immediately when Pod starts

There was a bug in the probe implementation that the probes waited for the first interval before the execution was started. The problem is fixed with the new NPP version, and test executions begin immediately when the Pod with probe starts.

### Fix MTRMonitor configuration

The old MTRMonitor ignored configuration parameters such as **maxHops**, **maxUnknownHops**, and **packets**. With the new version of NPP, such a configuration is correctly propagated to the Pod and respected.
