The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version |
Location |
Description |
Submitted By |
Date submitted |
Date corrected |
|
Page 121
first paragraph |
the expression "rate(node_network_receive_bytes_total{device="$device"})[$__rate_interval]"
returns an error: bad_data: invalid parameter "query": 1:56: parse error: ranges only allowed for vector selectors
even entering "rate(node_network_receive_bytes_total{device="enp3s0"})[5m]" in the prometheus query editor returns: Error executing query: invalid parameter "query": 1:56: parse error: ranges only allowed for vector selectors
very frustrating!
Note from the Author or Editor: There's a mistake in the PromQL expression on page 121.
Currently, it reads:
rate(node_network_receive_bytes_total{device="$device"})[$__rate_interval]
But it should be corrected to:
rate(node_network_receive_bytes_total{device="$device"}[$__rate_interval])
The error lies in the positioning of the closing parenthesis. The correct placement ensures the rate function wraps the entire range vector selector.
|
Anonymous |
Jul 23, 2023 |
|
|
Page 188
Exemple 10-1 |
The URL for the consul_exporter is invalid and returns 404.
Note from the Author or Editor: An incorrect URL was printed on page 188 for downloading consul_exporter.
Incorrect:
https://github.com/prometheus/consul_exporter/releases/download/v0.3.0/consul_exporter-0.8.0.linux-amd64.tar.gz
Corrected:
https://github.com/prometheus/consul_exporter/releases/download/v0.8.0/consul_exporter-0.8.0.linux-amd64.tar.gz
The error was due to a version mismatch in the URL.
|
Anonymous |
Jul 24, 2023 |
|