Tobias Schmidt
f1f8317fa5
Fix detection of flapping alerts
...
Alerts in the resolve retention period must be transitioned to the
active state again when their condition is met.
9 years ago
Fabian Reinartz
1756c0811c
Merge pull request #1370 from prometheus/pathjoin
...
Sanitize POST URL for AM integration
9 years ago
Fabian Reinartz
0b02315517
Sanitize POST URL for AM integration
9 years ago
Fabian Reinartz
0dd3a23510
Merge pull request #1365 from prometheus/appenderr
...
Return error on sample appending
9 years ago
Fabian Reinartz
1f877f3d2a
Fix deadlock, structure target logging
9 years ago
Fabian Reinartz
d0d2c38c68
Fix tests for append API changes
9 years ago
Fabian Reinartz
59f1e722df
Return error on sample appending
9 years ago
Björn Rabenstein
9ea3897ea7
Merge pull request #1354 from prometheus/beorn7/storage
...
Rework the way to communicate backpressure (AKA suspended ingestion)
9 years ago
beorn7
ec08c9a391
Rework the way to communicate backpressure (AKA suspended ingestion)
...
This gives up on the idea to communicate throuh the Append() call (by
either not returning as it is now or returning an error as
suggested/explored elsewhere). Here I have added a Throttled() call,
which has the advantage that it can be called before a whole _batch_
of Append()'s. Scrapes will happen completely or not at all. Same for
rule group evaluations. That's a highly desired behavior (as discussed
elsewhere). The code is even simpler now as the whole ingestion buffer
could be removed.
Logging of throttled mode has been streamlined and will create at most
one message per minute.
9 years ago
Björn Rabenstein
b555be85e2
Merge pull request #1357 from prometheus/beorn7/duration
...
Unify duration parsing
9 years ago
beorn7
a7408bfb47
Unify duration parsing
...
It's actually happening in several places (and for flags, we use the
standard Go time.Duration...). This at least reduces all our
home-grown parsing to one place (in model).
9 years ago
beorn7
cfc15cf103
Update common/model vendoring
9 years ago
Fabian Reinartz
d9f836e5b8
Merge pull request #1340 from prometheus/validate-externa-url
...
Validate URL parameters
9 years ago
Fabian Reinartz
2e29573770
Merge pull request #1348 from prometheus/notifytestfix
...
Increase notification test timeouts
9 years ago
Björn Rabenstein
d7f92a012b
Merge pull request #1345 from prometheus/beorn7/storage2
...
Fix multiple issues around chunks to persist.
9 years ago
beorn7
87ef24cd25
Add instrumentation and refactor things around "rushed mode"
9 years ago
Fabian Reinartz
c1fdfc5a8b
Merge pull request #1350 from prometheus/rulefix
...
Remove old WITH clause in alert printing
9 years ago
Fabian Reinartz
a6935024e1
Remove old WITH clause in alert printing
9 years ago
Julius Volz
9a4b7cca1a
Merge pull request #1347 from prometheus/support-options-method
...
Handle OPTIONS HTTP requests correctly.
9 years ago
Julius Volz
1ae23bf5e9
Handle OPTIONS HTTP requests correctly.
...
Fixes https://github.com/prometheus/prometheus/issues/1346
9 years ago
Fabian Reinartz
41a39472a1
Increase notification test timeouts
9 years ago
Tobias Schmidt
4dc8c4f94c
Merge pull request #1344 from prometheus/consistent-error-message
...
Rename matrix to range selector in external error messages
9 years ago
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
Tobias Schmidt
1a91cd6e09
Rename matrix to range selector in external error messages
...
The documentation speaks about range vectors and range vector selectors.
This change does not fix all issues, we might still expose the term
"Matrix" in error messages using %T.
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
122d73858d
Validate URL parameters
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
Tiago Katcipis
73be7f63be
Fix typos and moving example to the correct place
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