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
Julius Volz
6fa510d6fa
More fixes around special values in graphs.
2015-03-19 14:26:25 +01:00
beorn7
e25cca823c
Increase resilience of the storage against data corruption - step 2.
...
Step 2: Add a flag -storage.local.pedantic-checks to check every
series file.
Also, remove countPersistedHeadChunks channel, which is unused.
2015-03-19 12:06:15 +01:00
beorn7
3d8d8928be
Increase resilience of the storage against data corruption - step 1.
...
Step 1: Admit the problem by turning the various "panic"s into logged
errors, followed by marking the persistence as dirty.
2015-03-19 11:49:18 +01:00
beorn7
da7c0461c6
Rename persist queue len/cap to num/max chunks to persist.
...
Remove deprecated flag storage.incoming-samples-queue-capacity.
2015-03-18 19:36:41 +01:00
beorn7
a075900f9a
Merge branch 'beorn7/persistence' into beorn7/ingestion-tweaks
2015-03-18 19:09:31 +01:00
beorn7
1d8fc7d56f
Change minor things after code review.
2015-03-18 19:09:07 +01:00
beorn7
1a86dd3893
Merge branch 'master' into beorn7/persistence
2015-03-18 18:57:55 +01:00
beorn7
fa1935a644
Remove /api/targets call and do not show job and instance labels on status.
...
/api/targets was undocumented and never used and also broken.
Showing instance and job labels on the status page (next to targets)
does not make sense as those labels are set in an obvious way.
Also add a doc comment to TargetStateToClass.
2015-03-18 18:53:43 +01:00