Commit Graph

688 Commits

Author SHA1 Message Date
Julius Volz
1cf9e5840a Fix whitespace in config.proto. 2013-06-26 11:49:49 +02:00
juliusv
3cae867894 Merge pull request #315 from prometheus/refactor/client/new-model
Migrate Prometheus to Use Client-Side Model
2013-06-25 10:00:04 -07:00
Julius Volz
baa5b07829 Fix condition for dropping empty memory series. 2013-06-25 17:57:35 +02:00
Matt T. Proud
30b1cf80b5 WIP - Snapshot of Moving to Client Model. 2013-06-25 15:52:42 +02:00
juliusv
42198c1f1c Merge pull request #311 from prometheus/fix/watermarking/on-first-write
Ensure new metrics are watermarked early.
2013-06-25 03:13:58 -07:00
Matt T. Proud
dad306cf04 Merge pull request #314 from prometheus/fix/binary/shell-script
Fix library path determiners.
2013-06-24 04:17:58 -07:00
Matt T. Proud
aabf206fb5 Fix library path determiners. 2013-06-24 13:13:58 +02:00
Matt T. Proud
676c0a0f20 Merge pull request #313 from prometheus/feature/memory-profile/more-reasonable
Adjust LevelDB Defaults
2013-06-24 03:55:22 -07:00
Matt T. Proud
b811ccc161 Disable paranoid checks and expose max FDs option.
We shouldn't need paranoid checks now.  We also shouldn't need
too many FDs being open due to rule evaluator hitting in-memory
values stream.
2013-06-24 12:10:14 +02:00
Matt T. Proud
4137c75523 Shrink default LRU cache sizes.
Observing Prometheus in production confirms we can lower these values
safely.
2013-06-24 12:09:16 +02:00
Matt T. Proud
3784b1779f Upgrade LevelDB to 1.12.0.
A number of core fixes have occurred in upstream LevelDB.  Given API
compatibility, we should upgrade.
2013-06-24 12:03:05 +02:00
Matt T. Proud
ecb9c7bb9d Code Review: Swap ordering of elements. 2013-06-21 21:17:50 +02:00
Matt T. Proud
5daa0a09ea Code Review: Swap ordering of watermark getting.
A test for Julius.
2013-06-21 18:34:08 +02:00
Matt T. Proud
ee840904d2 Code Review: !Before -> After. 2013-06-21 18:26:40 +02:00
Matt T. Proud
2d5de99fbf Regard in-memory series as new.
This commit ensures that series that exist only in-memory and not
on-disk are not regarded as too old for operation exclusion.
2013-06-21 18:26:39 +02:00
Matt T. Proud
81c406630a Merge pull request #312 from prometheus/fix/sample-append-logging
Log correct sample count when appending to disk.
2013-06-21 08:55:51 -07:00
Matt T. Proud
a1a23fbaf8 Ensure new metrics are watermarked early.
With the checking of fingerprint freshness to cull stale metrics
from queries, we should write watermarks early to aid in more
accurate responses.
2013-06-21 16:38:46 +02:00
Julius Volz
ba8c122147 Log correct sample count when appending to disk. 2013-06-21 12:23:27 +02:00
Matt T. Proud
de8757f925 Merge pull request #306 from prometheus/refactor/optimize-ops
Speedup and clean up operation optimization.
2013-06-19 21:55:52 -07:00
Julius Volz
f2b4067b7b Speedup and clean up operation optimization. 2013-06-20 03:01:13 +02:00
juliusv
26200766bd Merge pull request #305 from prometheus/feature/cache-fp-metric-lookups
Cache fingerprint->metric lookups and drop empty series from memory on flush
2013-06-19 05:21:06 -07:00
Julius Volz
008bc09da8 Move check for empty memory series to separate method. 2013-06-19 14:19:53 +02:00
Julius Volz
16364eda37 Drop empty series from memory after flushing. 2013-06-19 12:14:23 +02:00
Julius Volz
235623b45d Fix "make format". 2013-06-18 19:18:39 +02:00
Julius Volz
71199e2c93 Cache disk fingerprint->metric lookups in memory. 2013-06-18 14:08:58 +02:00
juliusv
55cb835867 Merge pull request #303 from prometheus/fix/drop-metricname
Ensure metric name is dropped correctly from alert labels in UI.
2013-06-14 05:19:05 -07:00
Julius Volz
8ee7947b1e Ensure metric name is dropped correctly from alert labels in UI. 2013-06-14 13:03:19 +02:00
juliusv
f4af4cb741 Merge pull request #301 from prometheus/feature/alerts-dashboard
Implement alerts dashboard and expression console links.
2013-06-13 13:38:45 -07:00
Julius Volz
0226d1ac7a Implement alerts dashboard and expression console links. 2013-06-13 22:35:40 +02:00
Johannes 'fish' Ziemke
b838f45616 Merge pull request #300 from prometheus/feature/bazooka-build
Make prometheus build on bazooka repo manager
2013-06-13 08:42:02 -07:00
juliusv
8702ec0673 Merge pull request #299 from prometheus/fix/sd-refresh-condition
Fix DNS-SD target refresh condition.
2013-06-13 07:38:01 -07:00
Johannes 'fish' Ziemke
22a40c298d Make prometheus build on bazooka repo manager
- Build build/package on build target
- And include .pkgignore
2013-06-13 16:31:33 +02:00
Julius Volz
91cf1e9a26 Fix DNS-SD target refresh condition. 2013-06-13 16:10:39 +02:00
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