beorn7
a2cd479058
Fix calculation of chunks to persist after restart
...
Since we are not overestimating the number of chunks to persist
anymore, this commit also adjusts the default value for
-storage.local.memory-chunks. Update of documentation will follow.
9 years ago
beorn7
972d94433a
Introduce a hysteresis for "rushed mode"
...
"Rushed mode" is formerly known as "degraded mode", which is changed
with this commit, too. The name "degraded" was very misleading.
Also, switch into rushed mode if we have too many chunks in memory and
an at least reasonable amount of chunks to persist so that speeding up
persisting chunks can help.
9 years ago
Björn Rabenstein
3214cb9529
Merge pull request #1342 from prometheus/beorn7/storage
...
Streamline chunk writing
9 years ago
beorn7
14796bdb60
Improve chunkMaxBatchSize doc comment
9 years ago
Tobias Schmidt
40ab0da398
Merge pull request #1339 from prometheus/range-parsing
...
Consolidate offset modifier parsing
9 years ago
Björn Rabenstein
2f108452fc
Merge pull request #1341 from prometheus/beorn7/storage2
...
Remove a race condition from TestRetentionCutoff
9 years ago
beorn7
582af1618c
Streamline chunk writing
...
This helps to avoid allocations in the same way we were already doing
it during reading.
9 years ago
beorn7
99b9611351
Remove a race condition from TestRetentionCutoff
9 years ago
Björn Rabenstein
f50d90f3aa
Merge pull request #1336 from RichiH/security/go_1.5.3
...
scripts/goenv.sh: Require Go 1.5.3
9 years ago
Tobias Schmidt
411ca4dba1
Consolidate offset modifier parsing
...
Remove duplicated offset modifier parsing and ensure offset can only
appear at the end of a selector statement.
9 years ago
Fabian Reinartz
e7b6a01888
Merge pull request #1333 from prometheus/vendorup
...
Update common/model vendoring
9 years ago
Fabian Reinartz
13da34f241
Update common/model vendoring
9 years ago
Tobias Schmidt
0e56181016
Merge pull request #1332 from prometheus/license
...
Add missing license files of vendored packages
9 years ago
Tobias Schmidt
364dd36bde
Add missing license files of vendored packages
...
With the total optimized copy command. Assumes all vendored packages are
checked out in $GOPATH.
govendor list +v | awk '{print $2}' | while read dep; do echo $dep |
cut -d/ -f1-3; done | uniq | while read dep; do find
$GOPATH/src/$dep -name LICENSE -o -name NOTICE | grep -v vendor |
sed "s;$GOPATH/src/;;"; done | while read license; do [ -f
vendor/$license ] || cp $GOPATH/src/$license vendor/$license; done
9 years ago
Fabian Reinartz
c56f35274e
Merge pull request #1330 from prometheus/swapfix
...
Fix swapped constants, improve instrumentation
9 years ago
Fabian Reinartz
b0adfea8d5
Fix swapped constants, improve instrumentation
9 years ago
Julius Volz
b150c5768c
Add missing word in comment.
9 years ago
Fabian Reinartz
86244db799
Merge pull request #1318 from fabric8io/kubernetes-discovery
...
Kubernetes SD: Refactor to handle missing Kubernetes events
9 years ago
rih
d1c3f5de25
scripts/goenv.sh: Require Go 1.5.3
9 years ago
Fabian Reinartz
0ecf8e98d1
Merge pull request #1325 from prometheus/notifyfix
...
Fix rule manager shutdown issues
9 years ago
Jimmi Dyson
9faa7515c6
Kubernetes SD: Refactor to handle missing Kubernetes events
9 years ago
Fabian Reinartz
308d447cd7
Merge pull request #1327 from prometheus/makefix
...
Remove `assets` target from default `make` execution
9 years ago
Fabian Reinartz
1d58c10b45
Remove `assets` target from default `make` execution
...
go-bindata constantly attempts to update timestamps even though
the file data didn't change.
Fixes #1326
9 years ago
Fabian Reinartz
a8c38c3ac5
Don't log rule evaluation failure on shutdown
9 years ago
Fabian Reinartz
7e1b39c682
Fix startup/teardown order, add documentation
9 years ago
Brian Brazil
4a829e63a2
Merge pull request #1299 from PrFalken/master
...
Support AirBnB's Smartstack Nerve client for SD
9 years ago
Julien Dehee
061fe2f364
Support AirBnB's Smartstack Nerve client for SD
...
nerve's registration format differs from serverset. With this commit
there is now a dedicated treecache file in util,
and two separate files for serverset and nerve.
Reference:
https://github.com/airbnb/nerve
9 years ago
Tobias Schmidt
944b1f7e84
Merge pull request #1313 from fabric8io/kubernetes-discovery
...
Kubernetes Discovery: Ensure metrics path isn't overwritten in example relabeling
9 years ago
Jimmi Dyson
d3934345e9
Kubernetes Discovery: Ensure metrics path isn't overwritten in example relabeling
9 years ago
Brian Brazil
cb381e0bce
Merge pull request #1311 from prometheus/up-down
...
Use up/down in UI for consistency with 'up' metric.
9 years ago
Brian Brazil
7a5f019c40
Use up/down in UI for consistency with 'up' metric.
9 years ago
Fabian Reinartz
3c81843167
Merge pull request #1310 from prometheus/beorn7/storage
...
Update doc comment
9 years ago
beorn7
3f4d22e4c7
Update doc comment
...
This should have gone into a previous commit, but I forgot to save
this particular file.
9 years ago
Fabian Reinartz
7a012ea611
Merge pull request #1306 from prometheus/beorn7/storage
...
Tolerate the lost+found directory in the data directory
9 years ago
Fabian Reinartz
19e81f81a0
Merge pull request #1308 from prometheus/rulefix
...
Fix hanging shutdown shortly after restart
9 years ago
Fabian Reinartz
6eee86dce8
Terminate rule groups during initial sleep
...
When an evaluation group runs initially, it waits a deterministic
amount of time. During that time it also has to accept
a termination singnal so shutdown doesn't hang during the first
evaluation iteration after a configuration reload.
Fixes #1307
9 years ago
Fabian Reinartz
26eb3ac2f8
Don't skip recording rule errors
9 years ago
beorn7
add2ebdd56
Tolerate the lost+found directory in the data directory
9 years ago
Björn Rabenstein
6293f3a374
Merge pull request #1304 from prometheus/beorn7/storage
...
Improve handling of series file truncation
9 years ago
Fabian Reinartz
8c81289575
Merge pull request #1305 from prometheus/beorn7/storage2
...
Add a series ops metric "purge_on_request"
9 years ago
beorn7
cb117d8346
Add a series ops metric "purge_on_request"
...
It counts series deletions triggered via the API.
9 years ago
beorn7
4221c7de5c
Improve handling of series file truncation
...
If only very few chunks are to be truncated from a very large series
file, the rewrite of the file is a lorge overhead. With this change, a
certain ratio of the file has to be dropped to make it happen. While
only causing disk overhead at about the same ratio (by default 10%),
it will cut down I/O by a lot in above scenario.
9 years ago
Fabian Reinartz
49fe948b9a
Merge pull request #1303 from prometheus/revac
...
Revert autocomplete changes
9 years ago
Fabian Reinartz
8a67110041
Revert autocomplete changes
9 years ago
Brian Brazil
e0efe75c2d
Merge pull request #1302 from iksaif/master
...
Use '.' instead of '=' to separate labels from their values in Graphite
9 years ago
Corentin Chary
7b6c3e556c
Use '.' instead of '=' to separate labels from their values in Graphite
...
Using .label=value. was weird to use in Graphite and didn't bring much value.
9 years ago
Fabian Reinartz
37d28bf91a
Merge pull request #1300 from prometheus/oldalerts
...
Support old alerting rule syntax
9 years ago
Fabian Reinartz
6b4a6962d2
Support old alerting rule syntax
9 years ago
Fabian Reinartz
c44594185f
Merge pull request #1298 from prometheus/rulemgrfix
...
Fix premature rule evaluation
9 years ago
Fabian Reinartz
37d80c4b25
Fix premature rule evaluation
...
This commit prevents rule evaluation from starting until after
the storage is ready.
9 years ago