Changes
Page history
prom: fix typos
authored
Oct 05, 2024
by
anarcat
Show whitespace changes
Inline
Side-by-side
service/prometheus.md
View page @
80639d2b
...
...
@@ -593,7 +593,7 @@ hard to read if you're trying to figure our things like "how many hits
did we have in the last month", or "how much data did we actually
transfer yesterday". For that, you need
`increase()`
which will
actually count the changes in the time period. So for example, to
answer those two questions, this is the
the
number of hits in the last
answer those two questions, this is the number of hits in the last
month:
sum(increase(apache_accesses_total[30d])) by (classes)
...
...
@@ -774,7 +774,7 @@ curly braces. For example, `{{ $value }}` is the actual value of the
metric in the
`expr`
query. The list of available variables is
somewhat obscure, but some of it is visible in the
[
Prometheus
template reference
][]
and the
[
Alertmanager template reference
][]
. The
Golang templat
ing
system also comes with its own
[
limited set of
Golang templat
e
system also comes with its own
[
limited set of
built-in functions
][]
.
[
Prometheus template reference
]:
https://prometheus.io/docs/prometheus/latest/configuration/template_reference/
...
...
...
...