File tree Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,4 @@ notes.md
11
11
promtorture-tmp- *
12
12
promtorture-metrics- *
13
13
.gitignore
14
+ metrics /
Original file line number Diff line number Diff line change 4
4
notes.md
5
5
promtorture-metrics- *
6
6
promtorture-tmp- *
7
+ metrics /
Original file line number Diff line number Diff line change @@ -102,3 +102,14 @@ scripts/promcmd promtool query instant http://localhost:9090 'up{job="monitoring
102
102
```
103
103
104
104
Other tips in ` scripts/promcmd ` comments.
105
+
106
+ # Notes
107
+
108
+ The apparent inability to force Prometheus to eagerly checkpoint its HEAD or to
109
+ force a compaction is a bit of a pain; we can't easily analyse behaviour with
110
+ querying data back from TSDB without waiting a couple of hours. We can force a
111
+ snapshot, but that doesn't actually flush the HEAD.
112
+
113
+ # See also
114
+
115
+ * [ prometheus docs on storage] ( https://github.com/juliusv/prometheus-docs/blob/master/content/docs/operating/storage.md )
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ set -e -u -o pipefail -x
12
12
13
13
source scripts/config
14
14
15
- tmpdir=" promtorture-metrics-$( date -Isec) "
16
- mkdir " $tmpdir "
15
+ tmpdir=" metrics/ promtorture-metrics-$( date -Isec) "
16
+ mkdir -p " $tmpdir "
17
17
18
18
echo 1>&2 " Dumping metrics to $tmpdir "
19
19
You can’t perform that action at this time.
0 commit comments