Commit graph

5263 commits

Author SHA1 Message Date
Matt T. Proud 06b4a40661 Represent targets in a tabular interface.
This commit represents a target group's endpoints in a tabular fashion for better differentiation
of their state in a concise manner.
2013-07-15 15:12:01 +02:00
Matt T. Proud 4d15f8fefe Merge pull request #331 from prometheus/fix/retrieval/payload-extraction-buffering
Completely extract response payload for decoding.
2013-07-15 02:38:40 -07:00
Matt T. Proud e20e6980e9 Completely extract response payload for decoding.
This commit forces the extraction framework to read the entire response payload
into a buffer before attempting to decode it, for the underlying Protocol Buffer
message readers do not block on partial messages.
2013-07-14 23:04:08 +02:00
Matt T. Proud b85ca7c657 Merge pull request #328 from prometheus/scrape-old-targets-on-sd-fail
Continue scraping old targets on SD fail.
2013-07-12 13:51:57 -07:00
Julius Volz 9a48f57b66 Continue scraping old targets on SD fail.
When we have trouble resolving the targets for a job via service
discovery, we shouldn't just stop scraping the targets we currently
have.
2013-07-12 22:38:42 +02:00
juliusv 8f0a3a060c Merge pull request #327 from prometheus/optimize/faster-lexer
Swap rules lexer for much faster one.
2013-07-11 11:08:20 -07:00
Julius Volz 64b0ade171 Swap rules lexer for much faster one.
This swaps github.com/kivikakk/golex for github.com/cznic/golex.

The old lexer would have taken 3.5 years to load a set of 5000 test rules
(quadratic time complexity for input length), whereas this one takes only 32ms.
Furthermore, since the new lexer is embedded differently, this gets rid of the
global parser variables and makes the rule loader fully reentrant without a
lock.
2013-07-11 19:35:29 +02:00
Matt T. Proud 2d538bf55a Merge pull request #326 from prometheus/ui/outside-axis
Display Y-axis outside of graph.
2013-07-01 06:06:11 -07:00
Julius Volz f42adc1cc0 Display Y-axis outside of graph. 2013-07-01 14:47:43 +02:00
Matt T. Proud ad656ba58d Merge pull request #320 from prometheus/optimize/no-wm-too-old
Always treat series without watermarks as too old.
2013-06-28 08:43:21 -07:00
juliusv 4dbc46ac82 Merge pull request #323 from prometheus/ui/compression
Add content compression support to API HTTP responses.
2013-06-28 08:23:22 -07:00
Julius Volz 1aa8f071b9 Add content compression support to API HTTP responses. 2013-06-28 16:56:44 +02:00
juliusv 24715f0ee5 Merge pull request #322 from prometheus/refactor/client/new-model
Include Accept header for telemetry request.
2013-06-27 09:52:00 -07:00
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