Commit graph

1000 commits

Author SHA1 Message Date
Matt T. Proud b8c7fd8c34 Include Accept header for telemetry request.
This pull request introduces a HTTP Accept header to indicate a
preference for Protocol Buffer-encoded messages.
2013-06-27 18:32:28 +02:00
Matt T. Proud 066c679e4a Merge pull request #321 from soundcrowd-ursula/patch-1
Unordered lists are for unordered items.
2013-06-27 09:24:50 -07:00
Ursula Kallio eda60ccb4f Unordered lists are for unordered items. 2013-06-27 17:53:31 +02:00
Julius Volz a76a797f3f Always treat series without watermarks as too old.
Current series always get watermarks written out upon append now. This
drops support for old series without any watermarks by always reporting
them as too old (stale) during queries.
2013-06-27 17:10:06 +02:00
juliusv 0a69119f7b Merge pull request #316 from prometheus/refactor/range-at-interval-op
Implement getValueRangeAtIntervalOp for faster range queries.
2013-06-26 09:13:17 -07:00
Julius Volz d2da21121c Implement getValueRangeAtIntervalOp for faster range queries.
This also short-circuits optimize() for now, since it is complex to implement
for the new operator, and ops generated by the query layer already fulfill the
needed invariants. We should still investigate later whether to completely
delete operator optimization code or extend it to support
getValueRangeAtIntervalOp operators.
2013-06-26 18:10:36 +02:00
juliusv 9726808a0e Merge pull request #319 from prometheus/fix/memory-delete-empty
Fix expunging of empty memory series (loop var pointerization bug)
2013-06-26 09:08:16 -07:00
Julius Volz e7f049c85b Fix expunging of empty memory series (loop var pointerization bug) 2013-06-26 18:00:47 +02:00
Matt T. Proud 1bd8ee15f3 Merge pull request #318 from prometheus/fix/build-path
Update "build" -> ".build" in remaining Makefiles.
2013-06-26 08:53:01 -07:00
Johannes 'fish' Ziemke e3bc6fc9dc Merge pull request #317 from prometheus/fix/miekg-dns-for-srv
Use github.com/miekg/dns for resolving SRV records
2013-06-26 07:28:51 -07:00
Julius Volz a310afd28f Update "build" -> ".build" in remaining Makefiles. 2013-06-26 16:09:37 +02:00
Johannes 'fish' Ziemke 4bdf1adb6c Use github.com/miekg/dns for resolving SRV records 2013-06-26 16:04:25 +02:00
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