Skip to content

Commit

Permalink
Merge pull request #1882 from netdata/ingest
Browse files Browse the repository at this point in the history
  • Loading branch information
Ancairon authored Nov 10, 2023
2 parents d5bd1d9 + 6c03fa0 commit 9e7129a
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 22 deletions.
24 changes: 2 additions & 22 deletions docs/alerting/health-configuration-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ Netdata parses the following lines. Beneath the table is an in-depth explanation
| [`plugin`](#alert-line-plugin) | no | Restrict an alert or template to only a certain plugin. |
| [`module`](#alert-line-module) | no | Restrict an alert or template to only a certain module. |
| [`charts`](#alert-line-charts) | no | Restrict an alert or template to only certain charts. |
| [`families`](#alert-line-families) | no | Restrict a template to only certain families. |
| [`lookup`](#alert-line-lookup) | yes | The database lookup to find and process metrics for the chart specified through `on`. |
| [`calc`](#alert-line-calc) | yes (see above) | A calculation to apply to the value found via `lookup` or another variable. |
| [`every`](#alert-line-every) | no | The frequency of the alert. |
Expand Down Expand Up @@ -447,23 +446,6 @@ template: disk_svctm_alert
charts: !*sdb* *
```

#### Alert line `families`

The `families` line, used only alongside templates, filters which families within the context this alert should apply
to. The value is a space-separated list.

The value is a space-separate list of simple patterns. See our [simple patterns docs](/docs/miscellaneous/libnetdata/simple-patterns) for
some examples.

For example, you can create a template on the `disk.io` context, but filter it to only the `sda` and `sdb` families:

```yaml
families: sda sdb
```

Please note that the use of the `families` filter is planned to be deprecated in upcoming Netdata releases.
Please use [`chart labels`](#alert-line-chart-labels) instead.

#### Alert line `lookup`

This line makes a database lookup to find a value. This result of this lookup is available as `$this`.
Expand Down Expand Up @@ -891,13 +873,11 @@ registry](https://registry.my-netdata.io/api/v1/alarm_variables?chart=system.cpu

Netdata supports 3 internal indexes for variables that will be used in health monitoring.

<details markdown="1"><summary>The variables below can be used in both chart alerts and context templates.</summary>
<details><summary>The variables below can be used in both chart alerts and context templates.</summary>

Although the `alarm_variables` link shows you variables for a particular chart, the same variables can also be used in
templates for charts belonging to a given [context](https://github.com/netdata/netdata/blob/master/web/README.md#contexts). The reason is that all charts of a given
context are essentially identical, with the only difference being the [family](https://github.com/netdata/netdata/blob/master/web/README.md#families) that
identifies a particular hardware or software instance. Charts and templates do not apply to specific families anyway,
unless if you explicitly limit an alert with the [alert line `families`](#alert-line-families).
context are essentially identical, with the only difference being the family that identifies a particular hardware or software instance.

</details>

Expand Down
1 change: 1 addition & 0 deletions docs/data-collection/Containers and VMs/Containers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Metrics:
| cgroup.io_some_pressure_stall_time | time | ms |
| cgroup.io_full_pressure | some10, some60, some300 | percentage |
| cgroup.io_full_pressure_stall_time | time | ms |
| cgroup.pids_current | pids | pids |

### Per cgroup network device

Expand Down
1 change: 1 addition & 0 deletions docs/data-collection/Containers and VMs/LXC-Containers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Metrics:
| cgroup.io_some_pressure_stall_time | time | ms |
| cgroup.io_full_pressure | some10, some60, some300 | percentage |
| cgroup.io_full_pressure_stall_time | time | ms |
| cgroup.pids_current | pids | pids |

### Per cgroup network device

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Metrics:
| cgroup.io_some_pressure_stall_time | time | ms |
| cgroup.io_full_pressure | some10, some60, some300 | percentage |
| cgroup.io_full_pressure_stall_time | time | ms |
| cgroup.pids_current | pids | pids |

### Per cgroup network device

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Metrics:
| cgroup.io_some_pressure_stall_time | time | ms |
| cgroup.io_full_pressure | some10, some60, some300 | percentage |
| cgroup.io_full_pressure_stall_time | time | ms |
| cgroup.pids_current | pids | pids |

### Per cgroup network device

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Metrics:
| cgroup.io_some_pressure_stall_time | time | ms |
| cgroup.io_full_pressure | some10, some60, some300 | percentage |
| cgroup.io_full_pressure_stall_time | time | ms |
| cgroup.pids_current | pids | pids |

### Per cgroup network device

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Metrics:
| cgroup.io_some_pressure_stall_time | time | ms |
| cgroup.io_full_pressure | some10, some60, some300 | percentage |
| cgroup.io_full_pressure_stall_time | time | ms |
| cgroup.pids_current | pids | pids |

### Per cgroup network device

Expand Down
1 change: 1 addition & 0 deletions docs/data-collection/Kubernetes/Kubernetes-Containers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ Metrics:
| k8s.cgroup.io_some_pressure_stall_time | time | ms |
| k8s.cgroup.io_full_pressure | some10, some60, some300 | percentage |
| k8s.cgroup.io_full_pressure_stall_time | time | ms |
| k8s.cgroup.pids_current | pids | pids |

### Per k8s cgroup network device

Expand Down
1 change: 1 addition & 0 deletions docs/data-collection/Systemd/Systemd-Services.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ Metrics:
| systemd.service.disk.throttle.iops | read, write | operations/s |
| systemd.service.disk.queued_iops | read, write | operations/s |
| systemd.service.disk.merged_iops | read, write | operations/s |
| systemd.service.pids.current | pids | pids |



Expand Down

0 comments on commit 9e7129a

Please sign in to comment.