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
PDF
Page 55
2nd paragraph in "Service instrumentation"

... called the RED method, for Requests, Errors, and Duration. should be: ... called the RED method, for Rate, Errors, and Duration. Tom Wilkie who has popularized RED Method said "What is RED Method" as follows in his talk at GrafanaCon EU 2018: - Rate (the number of requests per second) - Errors (the number of those requests that are failing) - Duration (the amount of time those requests take) https://grafana.com/blog/2018/08/02/the-red-method-how-to-instrument-your-services/

Kazuki Suda  Jan 17, 2019  Mar 15, 2019
PDF
Page 78
sample metrics in 4.7.3 Escaping

escaping{foo="newline \n backslash \\ double quote \" "} 1 should be: escaping{foo="newline \\n backslash \\ double quote \" "} 1 "\n" in the value of the foo label should be escaped.

Kazuki Suda  Jan 17, 2019  Mar 15, 2019
PDF
Page 92
3rd paragraph

... would be sum by (version)(python_version). should be: ... would be sum by (version)(python_info).

Kazuki Suda  Jan 28, 2019  Mar 15, 2019
PDF
Page 128
The 3rd paragraph

Out of the box, Prometheus 2.2.1 has support for Azure, Consul, DNS, EC2, OpenStack, File, Kubernetes, Marathon, Nerve, Serverset, and Triton service discovery... It seems that "GCE" service discovery is missing in supported list.

Kazuki Suda  Feb 10, 2019  Mar 15, 2019
PDF
Page 140
3nd paragraph

..., puts the replacement value metrics in the team label. should be: ..., puts the replacement value monitor in the team label.

Kazuki Suda  Jan 19, 2019  Mar 15, 2019
PDF
Page 146
example code

- source_labels: [__meta_consul_tag] should be: - source_labels: [__meta_consul_tags]

Kazuki Suda  Feb 17, 2019  Mar 15, 2019
PDF
Page 157
Example 9-3. Downloading and testing kubectl

">none<" should be "<none>". hostname $ ./kubectl get services NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 10.96.0.1 >none< 443/TCP 44s

Kazuki Suda  Jan 19, 2019  Mar 15, 2019
PDF
Page 171
Example10-2

The example code of "Example 10-2" doesn't exist in https://github.com/prometheus-up-and-running/examples. It seems that the correct file name fo `10/10-1-prometheus.yml` is `10/10-2-prometheus.yml`. https://github.com/prometheus-up-and-running/examples/blob/master/10/10-1-prometheus.yml

Kazuki Suda  Feb 22, 2019  Mar 15, 2019
PDF
Page 197
2nd paragraph

While we already saw version 0.6.0 of the Consul exporter in “Consul” on page 169, ... *1 These metrics will likely be in the 0.7.0 version of the Consul exporter. should be: While we already saw version 0.3.0 of the Consul exporter in “Consul” on page 169, ... *1 These metrics will likely be in the 0.4.0 version of the Consul exporter. In "Consul" on page 169, Consul exporter 0.3.0 is used.

Kazuki Suda  Feb 10, 2019  Mar 15, 2019
PDF
Page 237
example queries

avg without(instance)(0.5, rate(process_cpu_seconds_total[5m])) should be: avg without(instance)(rate(process_cpu_seconds_total[5m]))

Kazuki Suda  Feb 11, 2019  Mar 15, 2019
PDF
Page 289
3rd paragraph

Once you have alerts firing in Promethus, ... should be: Once you have alerts firing in Prometheus, ...

Kazuki Suda  Feb 11, 2019  Mar 15, 2019
PDF
Page 348
The last paragraph

`prometheus_rule_group_last_duration_second` should be `prometheus_rule_group_last_duration_seconds`.

Kazuki Suda  Feb 08, 2019  Mar 15, 2019