Commit graph

3713 commits

Author SHA1 Message Date
Björn Rabenstein 2d7d1a34b6 Merge pull request #628 from prometheus/beorn7/release
Update vendoring and release 0.13.0.
2015-04-08 18:51:43 +02:00
beorn7 cb1650b5a9 Cut v0.13.0. 2015-04-08 18:44:58 +02:00
beorn7 191c728152 Update vendoring. 2015-04-08 18:24:23 +02:00
Björn Rabenstein 7991b4be51 Merge pull request #627 from fabxc/flag_grouping
Make help output readable.
2015-04-08 13:50:27 +02:00
Fabian Reinartz c012ca6039 Make help output readable.
This commit increases the usability by grouping flags based on their
first dot-separated group. Long flag descriptions are broken into lines
printed with indentation.
2015-04-08 12:41:49 +02:00
Björn Rabenstein e1b5f18dee Merge pull request #626 from quinox/fix-625
#625 Fix incorrect consoles URL
2015-04-07 17:19:35 +02:00
Björn Rabenstein d8e515e9cb Merge pull request #617 from prometheus/influxdb-write-support
Add experimental InfluxDB write support.
2015-04-07 13:23:06 +02:00
Ceesjan Luiten 6f5f33bd4d #625 Fix incorrect consoles URL 2015-04-06 17:30:13 +02:00
Julius Volz 059ab9383f Merge pull request #614 from quinox/master
Make all URLs absolute to support proxies
2015-04-02 20:49:21 +02:00
Ceesjan Luiten 0e18784c64 Make all paths absolute to support proxies 2015-04-02 20:36:47 +02:00
Julius Volz 593e565688 Allow writing to InfluxDB/OpenTSDB at the same time. 2015-04-02 20:24:38 +02:00
Björn Rabenstein 440d5df6e2 Merge pull request #621 from prometheus/beorn7/release
Cut release 0.13.0rc2.
2015-04-02 14:30:06 +02:00
beorn7 4a452b4274 Cut release 0.13.0rc2. 2015-04-02 14:25:02 +02:00
Björn Rabenstein 621ac10060 Merge pull request #620 from prometheus/beorn7/persistence
Adaptively reduce the wait time for memory series maintenance.
2015-04-02 14:09:27 +02:00
beorn7 3035b8bfdd Adaptively reduce the wait time for memory series maintenance.
This will make in-memory series maintenance the faster the more chunks
are waiting for persistence.
2015-04-01 17:52:03 +02:00
Julius Volz 9f198cc7b5 Merge pull request #619 from fabxc/fabxc/rule_checker
Increase the usability of the rule_checker CLI.
2015-04-01 16:36:56 +02:00
Fabian Reinartz c4e762adbf Increase the usability of the rule_checker CLI.
This commit allows to invoke the rule_checker with a chain of
filepaths as arguments. If no paths are provided it reads from standard
input.
The -rule-file flag remains for backward-compatibility.
On processing errors the return code is now 1. For bad arguments
the return code is now 2.
2015-04-01 08:17:12 +02:00
Julius Volz 61fb688dd9 Add experimental InfluxDB write support. 2015-04-01 02:03:16 +02:00
Julius Volz b456240c46 Merge pull request #612 from prometheus/strip-am-url-slash
Strip trailing slash in alertmanager URL.
2015-03-30 20:18:03 +02:00
Julius Volz 52d89b2173 Merge pull request #616 from brian-brazil/yotta-infinity
Avoid +InfYs and similar, just display +Inf.
2015-03-28 20:27:56 +01:00
Julius Volz 7793651b7d Merge pull request #615 from prometheus/api-tests
Add initial HTTP API tests.
2015-03-28 20:24:35 +01:00
Brian Brazil 941f585164 Avoid +InfYs and similar, just display +Inf. 2015-03-28 18:51:41 +00:00
Björn Rabenstein b841ae41cd Merge pull request #604 from prometheus/beorn7/benchmark
Add benchmark for loading chunks and chunk descs.
2015-03-28 11:56:17 +01:00
Julius Volz 188aec0e6d Remove now-unused utility.Time type. 2015-03-27 23:45:11 +01:00
Julius Volz 33702da8a8 Use simple Now() func in API instead of utility.Time. 2015-03-27 23:43:47 +01:00
Julius Volz a5a553f1da Add initial HTTP API tests.
This covers the /query (instant query) endpoint for now. Others to
follow.
2015-03-27 21:37:55 +01:00
Julius Volz 3f2686d0b3 Remove unused fields from MetricsService. 2015-03-27 18:51:13 +01:00
Julius Volz c8a6b73bff Merge pull request #606 from prometheus/custom-instant-timestamps
Allow custom timestamps in instant query API.
2015-03-27 18:31:51 +01:00
Julius Volz c9b76def4c Report all query API HTTP errors in JSON format. 2015-03-27 16:48:03 +01:00
Julius Volz af832f7641 Merge pull request #613 from prometheus/version-0.13.0rc1
Cut Prometheus 0.13.0rc1.
2015-03-26 18:19:58 +01:00
Julius Volz cd82bcff34 Cut Prometheus 0.13.0rc1. 2015-03-24 17:59:55 +01:00
Julius Volz 5aae273026 Strip trailing slash in alertmanager URL.
Fixes https://github.com/prometheus/prometheus/issues/607
2015-03-23 19:17:42 +01:00
Julius Volz ca94e09a23 Merge pull request #610 from prometheus/fix-html-escaping
HTML-escape label values in Rickshaw hover-detail.
2015-03-23 00:25:34 +01:00
Julius Volz ea8a12db59 Also fix label HTML-escaping in console graphs. 2015-03-22 23:47:00 +01:00
Julius Volz 8f6ef04d70 HTML-escape label values in Rickshaw hover-detail. 2015-03-22 21:59:14 +01:00
Julius Volz df314ead84 Remove unnecessary "else" branch in query API. 2015-03-21 17:54:30 +01:00
Julius Volz a68b880c27 Add tests for new timestamp/duration functions.
...and fix the first bugs in them where they truncate precision below a
second.
2015-03-21 17:50:45 +01:00
Julius Volz cb816ea14a Improve timestamp/duration parsing in query API.
Don't handle `0` as a special timestamp value for "now" anymore, except
in the `QueryRange()` case, where existing API consumers still expect
`0` to mean "now".

Also, properly return errors now for malformed timestamp/duration
float values.
2015-03-21 16:58:45 +01:00
Julius Volz 8a4acefd66 Allow custom timestamps in instant query API. 2015-03-20 23:10:58 +01:00
Julius Volz c78436d707 Remove unused API time dependency injection. 2015-03-20 23:10:26 +01:00
beorn7 fbc44d8f95 Add benchmark for loading chunks and chunk descs. 2015-03-19 19:28:21 +01:00
Björn Rabenstein 942686427d Merge pull request #596 from prometheus/beorn7/ingestion-tweaks
Remove the ingestion channel.
2015-03-19 17:56:55 +01:00
Björn Rabenstein bf5fc720d3 Merge pull request #589 from prometheus/beorn7/persistence
Redesign series maintenance and chunk persistence.
2015-03-19 17:56:46 +01:00
Björn Rabenstein a3bd2f6eb8 Merge pull request #601 from prometheus/beorn7/rename-persist-queue
Rename persist queue len/cap to num/max chunks to persist.
2015-03-19 17:56:03 +01:00
Björn Rabenstein 5440422bca Merge pull request #603 from prometheus/beorn7/storage-resilience
Increase resilience of the storage against data corruption.
2015-03-19 17:55:37 +01:00
beorn7 6a21f73898 Fixes after review. 2015-03-19 17:54:59 +01:00
beorn7 51d35f4481 Instrument series maintenance durations. 2015-03-19 17:06:16 +01:00
Julius Volz 3c473c635b Merge pull request #600 from prometheus/fix-special-graph-values
More fixes around special values in graphs.
2015-03-19 16:55:54 +01:00
beorn7 12ae6e9203 Increase resilience of the storage against data corruption - step 4.
Step 4: Add a configurable sync'ing of series files after modification.
2015-03-19 15:58:02 +01:00
beorn7 11bd9ce1bd Increase resilience of the storage against data corruption - step 3.
Step 3: Remember the mtime of series files and make use of it to
detect series files that are not the one the checkpoint thinks they
are.
2015-03-19 15:44:11 +01:00