Skip to content

Commit 68e84f4

Browse files
author
Daniel Martins
committed
Improve content on range vectors
1 parent a6e51b2 commit 68e84f4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,15 @@ Prometheus UI):
228228

229229
| Element | Value |
230230
|---------|-------|
231-
| process_resident_memory_bytes{instance="grafana:3000",job="grafana"} | 40861696@1530461477.446<br/>43298816@1530461482.447<br/>43778048@1530461487.451<br/>44785664@1530461492.447<br/>44785664@1530461497.447<br/>45043712@1530461502.448<br/>45043712@1530461507.44<br/>45301760@1530461512.451<br/>45301760@1530461517.448<br/>45301760@1530461522.448<br/>45895680@1530461527.448<br/>45895680@1530461532.447 |
231+
| `process_resident_memory_bytes{instance="grafana:3000",job="grafana"}` | `40861696@1530461477.446`<br/>`43298816@1530461482.447`<br/>`43778048@1530461487.451`<br/>`44785664@1530461492.447`<br/>`44785664@1530461497.447`<br/>`45043712@1530461502.448`<br/>`45043712@1530461507.44`<br/>`45301760@1530461512.451`<br/>`45301760@1530461517.448`<br/>`45301760@1530461522.448`<br/>`45895680@1530461527.448`<br/>`45895680@1530461532.447` |
232+
233+
Queries that have an appended range duration in square brackets after
234+
the metric name (i.e. `<metric>[<duration>]`) returns what is called a
235+
_range vector_, in which `<duration>` specify how far back in time
236+
values should be fetched for each resulting range vector element.
237+
238+
In this example, the value for the `process_resident_memory_bytes`
239+
metric at the timestamp `1530461477.446` was `40861696`, and so on.
232240

233241
### Duplicate Metrics Names?
234242

0 commit comments

Comments
 (0)