Prometheus: Up & Running

Errata for Prometheus: Up & Running

Submit your own errata for this product.

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:

But it should be corrected to:

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.



The error was due to a version mismatch in the URL.

Anonymous  Jul 24, 2023