Matt T. Proud
2a9957ea07
Merge pull request #298 from prometheus/refactor/build/cleanups
...
Trailing build system cleanups.
2013-06-13 06:50:46 -07:00
Matt T. Proud
f895acb9ef
Trailing build system cleanups.
...
The .gitignore files had problems, and the build steps could be
simplified.
2013-06-13 15:38:03 +02:00
Johannes 'fish' Ziemke
005d65868a
Merge pull request #294 from prometheus/remove-gvm
...
Remove gvm
2013-06-13 05:41:29 -07:00
Johannes 'fish' Ziemke
56249320e3
Remove gvm on travis.
2013-06-13 14:36:00 +02:00
Johannes 'fish' Ziemke
4524a5fe37
Remove gvm and install go by hand.
2013-06-12 18:39:37 +02:00
juliusv
697d3139d0
Merge pull request #297 from prometheus/feature/dns-sd
...
Integrate DNS-SD support for discovering job targets. Pairing with Matt/Julius.
2013-06-12 09:13:12 -07:00
Julius Volz
d9b4f98b44
Integrate DNS-SD support for discovering job targets.
2013-06-12 18:11:48 +02:00
Matt T. Proud
848b5f7ccc
Merge pull request #295 from prometheus/feature/package/script
...
Include runner script for packaging.
2013-06-12 08:56:59 -07:00
Matt T. Proud
7ee93bc0e3
Include runner script for packaging.
2013-06-12 17:56:29 +02:00
Julius Volz
1fe3d3b06b
Remove obsolete argument from target handling code.
2013-06-11 17:54:58 +02:00
juliusv
a88a71c6db
Merge pull request #293 from prometheus/web/show-rules
...
Improve rule/expression printing and show rules in Status dashboard
2013-06-11 02:54:11 -07:00
Julius Volz
ba29d07901
Show loaded rules in Status dashboard.
2013-06-11 11:39:31 +02:00
Julius Volz
fc97e688c6
Improve printing of rules and expressions.
2013-06-11 11:39:31 +02:00
Matt T. Proud
1c2ccef9a2
Merge pull request #291 from prometheus/refactor/storage/leveldb-simplifications
...
Persist solely Protocol Buffers.
2013-06-09 01:09:29 -07:00
Matt T. Proud
a73f061d3c
Persist solely Protocol Buffers.
...
An design question was open for me in the beginning was whether to
serialize other types to disk, but Protocol Buffers quickly won out,
which allows us to drop support for other types. This is a good
start to cleaning up a lot of cruft in the storage stack and
can let us eventually decouple the various moving parts into
separate subsystems for easier reasoning.
This commit is not strictly required, but it is a start to making
the rest a lot more enjoyable to interact with.
2013-06-08 11:02:35 +02:00
juliusv
25bd356aac
Merge pull request #289 from prometheus/feature/rule-strings
...
Implement Stringer interface for rules and all their children.
2013-06-07 07:00:46 -07:00
Julius Volz
74cb676537
Implement Stringer interface for rules and all their children.
2013-06-07 15:54:32 +02:00
juliusv
95400cb785
Merge pull request #290 from prometheus/fix/go-vet
...
Minor "go tool vet" cleanups
2013-06-07 06:52:48 -07:00
Julius Volz
558281890b
Minor "go tool vet" cleanups
2013-06-07 15:34:41 +02:00
juliusv
615972dd01
Merge pull request #288 from prometheus/fix/curator/fallthrough-compaction-ordering
...
Fix fallthrough compaction value ordering.
2013-06-07 05:46:15 -07:00
Matt T. Proud
86f63b078b
Fix fallthrough compaction value ordering.
...
We discovered a regression whereby data chunks could be appended out
of order if the fallthrough case was hit.
2013-06-07 14:41:00 +02:00
Bernerd Schaefer
b12ddbbc75
Merge pull request #271 from prometheus/feature/static-user-assets
...
Support user-provided static asset directory
2013-06-07 03:22:40 -07:00
Bernerd Schaefer
f7a2436665
Include link to user dashboard when provided
2013-06-07 11:17:17 +02:00
Bernerd Schaefer
1d794896ac
Support user-provided static asset directory
...
[fix #159 ]
2013-06-07 10:25:12 +02:00
Matt T. Proud
757ab938db
Merge pull request #286 from prometheus/optimize/avoid-stale-series
...
Use LRU cache to avoid querying stale timeseries
2013-06-06 22:21:25 -07:00
Julius Volz
7b9ee95030
Minor LevelDB watermark handling cleanups.
2013-06-06 23:56:31 +02:00
Julius Volz
84741b227d
Use LRU cache to avoid querying stale series.
2013-06-06 23:56:19 +02:00
Julius Volz
f98853d7b7
Fix type error in watermark list handling.
2013-06-06 23:56:14 +02:00
Matt T. Proud
6b2be5024e
Merge pull request #279 from prometheus/refactor/storage-semaphore
...
Cleanups in tiered storage and apply semaphores.
2013-06-06 09:16:53 -07:00
Matt T. Proud
ef1d5fd8a2
Introduce semaphores for tiered storage.
...
This commit wraps the tiered storage access componnets in semaphores,
since we can handle several concurrent memory reads.
2013-06-06 18:16:18 +02:00
Matt T. Proud
0d46f6b42a
Merge pull request #285 from prometheus/fix/storage/states
...
Add storage state guards and transition callbacks.
2013-06-06 03:41:18 -07:00
Matt T. Proud
819045541e
Code Review: Make double-drain a panic.
2013-06-06 12:40:06 +02:00
Matt T. Proud
e217a9fb41
Race Work: Make memory arena locks more coarse.
...
We can optimize these as needed later.
2013-06-06 12:08:20 +02:00
Matt T. Proud
beaaf386e7
Add storage state guards and transition callbacks.
...
To ensure that we access tiered storage in the proper way, we have
guards now.
2013-06-06 11:52:09 +02:00
Matt T. Proud
abb5353ade
Merge pull request #283 from prometheus/feature/storage/consult-watermark
...
Include LRU cache for fingerprint watermarks.
2013-06-06 02:33:45 -07:00
Matt T. Proud
52a1e50dda
Merge pull request #284 from prometheus/refactor/storage/notify-when-available
...
Ensure database access waits until it is started.
2013-06-06 02:33:27 -07:00
Matt T. Proud
2c3df44af6
Ensure database access waits until it is started.
...
This commit introduces a channel message to ensure serving
state has been reached with the storage stack before anything attempts
to use it.
2013-06-06 10:42:21 +02:00
Matt T. Proud
cbe2f3a7b1
Include LRU cache for fingerprint watermarks.
2013-06-06 10:13:18 +02:00
juliusv
115437ad1f
Merge pull request #278 from prometheus/debug/query-timings
...
Add debug timers to instant and range queries.
2013-06-05 09:41:51 -07:00
Julius Volz
51689d965d
Add debug timers to instant and range queries.
...
This adds timers around several query-relevant code blocks. For now, the
query timer stats are only logged for queries initiated through the UI.
In other cases (rule evaluations), the stats are simply thrown away.
My hope is that this helps us understand where queries spend time,
especially in cases where they sometimes hang for unusual amounts of
time.
2013-06-05 18:32:54 +02:00
Matt T. Proud
c594d18f54
Merge pull request #282 from prometheus/fix/race/targetpool
...
Fix race conditions in TargetPool.
2013-06-05 07:35:16 -07:00
Matt T. Proud
d4db3cf00b
Code Review: Last replacement wins.
2013-06-05 16:29:05 +02:00
Matt T. Proud
9cde48754b
Fix race conditions in TargetPool.
...
The race condition detector found a few anomalies whereby a
TargetPool could be read during a mutation. This has been fixed.
2013-06-05 14:44:20 +02:00
Matt T. Proud
d169e1d282
Merge pull request #281 from prometheus/feature/build/race-condition-binary
...
Include race condition runner.
2013-06-05 05:10:35 -07:00
Matt T. Proud
2ee6e32847
Include race condition runner.
2013-06-05 14:07:40 +02:00
juliusv
95adf1958b
Merge pull request #280 from prometheus/cleanup/rules-concurrency
...
Put RuleManager concurrency in hands of caller, fix races.
2013-06-05 05:01:19 -07:00
Julius Volz
adb87816f4
Put RuleManager concurrency in hands of caller, fix races.
2013-06-05 13:56:56 +02:00
Matt T. Proud
9215580488
Include race condition binary target.
...
The race condition binary target is special in that it needs to
explicitly link against the dependent libraries and recompile the CGO
bindings. Because of this, we have a new build target that produces
these binaries.
2013-06-05 13:56:15 +02:00
juliusv
6c36beb764
Merge pull request #269 from prometheus/feature/view-tracing
...
Conditionalize disk initializations.
2013-06-04 04:25:16 -07:00
Matt T. Proud
8339a189cb
Code Review: Fix seriesPresent scope.
...
The seriesPresent scope should be constrained to the scope of a
scanJob, since this is keyed to given series.
2013-06-04 13:16:59 +02:00