Commit Graph

12696 Commits (5a339ba3590d95477e729c2e293e61b670f5f1cd)

Author SHA1 Message Date
Matt T. Proud 032373a2c7 Merge pull request #346 from prometheus/refactor/storage/componentize
Componentize Storage Subsystems
2013-08-05 08:50:50 -07:00
Matt T. Proud 2cc666be9d Code Review: Revert. 2013-08-05 17:37:40 +02:00
Matt T. Proud 07ac921aec Code Review: First pass. 2013-08-05 17:31:49 +02:00
Matt T. Proud d8792cfd86 Extract HighWatermarking.
Clean up the rest.
2013-08-05 11:03:03 +02:00
Matt T. Proud f4669a812c Extract index storage into separate types. 2013-08-04 15:31:52 +02:00
Matt T. Proud 772d3d6b11 Consolidate LevelDB storage construction.
There are too many parameters to constructing a LevelDB storage
instance for a construction method, so I've opted to take an
idiomatic approach of embedding them in a struct for easier
mediation and versioning.
2013-08-03 17:25:03 +02:00
Julius Volz fcf784c13c Fix query error notification in tabular view.
Instead of "Unsupported value type" when type="error", the delivered
error message should be shown.
2013-08-02 09:04:13 +02:00
juliusv 4f8a010637 Merge pull request #343 from prometheus/notifications/telemetry
Add notifications telemetry.
2013-07-31 03:48:44 -07:00
Julius Volz e3415e953f Add notifications telemetry. 2013-07-31 12:40:56 +02:00
juliusv 89797e08eb Merge pull request #342 from prometheus/optional-alertmanager
Drop notifications when no alert manager URL is configured.
2013-07-30 15:49:11 -07:00
Julius Volz 24f4bb1f07 Drop notifications when no alert manager URL is configured. 2013-07-31 00:47:46 +02:00
juliusv e969562b13 Merge pull request #341 from prometheus/feature/notifications
Add alertmanager notification support to Prometheus.
2013-07-30 12:16:59 -07:00
Julius Volz 35ee2cd3cb Add alertmanager notification support to Prometheus.
Alert definitions now also have mandatory SUMMARY and DESCRIPTION fields
that get sent along a firing alert to the alert manager.
2013-07-30 17:23:41 +02:00
juliusv 8eb1e8e679 Merge pull request #340 from prometheus/ui/console-null-values
Send [] instead of "null" for empty result vectors, fix retrieval tests
2013-07-25 05:05:48 -07:00
Julius Volz 81f0b85013 Return [] instead of null for empty result vectors. 2013-07-25 12:16:32 +02:00
Julius Volz 331be19af6 Fix broken retrieval tests.
These have been broken since 06b4a40661
2013-07-25 12:15:00 +02:00
juliusv c32dd276df Merge pull request #339 from prometheus/static-caching
Add caching to static assets when served from blob handler.
2013-07-24 10:38:38 -07:00
Julius Volz 4e941255d8 Add caching to static assets when served from blob handler. 2013-07-24 18:52:57 +02:00
juliusv 212775bfc4 Merge pull request #338 from prometheus/ui/bootstrappify-status
Bootstrappify remaining status pages.
2013-07-24 07:14:53 -07:00
Julius Volz 1b9cbaf842 Bootstrappify remaining status pages. 2013-07-24 16:09:34 +02:00
juliusv ce4881d673 Merge pull request #337 from prometheus/ui/alert-tables
Prettify/Bootstrapify alert tables.
2013-07-24 06:10:27 -07:00
Julius Volz 481ee4096b Add no-op silencing links. 2013-07-24 15:09:42 +02:00
Julius Volz d9f403ab7d Prettify/Bootstrapify alert tables. 2013-07-24 15:03:13 +02:00
juliusv f52baf02ab Merge pull request #336 from prometheus/fix/ui-cleanups
JSON-based tabular view and minor UI cleanups
2013-07-24 03:30:12 -07:00
Julius Volz f665534b61 Make quote and semicolon usage consistent in graph.js 2013-07-24 12:29:03 +02:00
Julius Volz c91c100102 Fix graph resize bug when no graph exists. 2013-07-24 12:29:03 +02:00
Julius Volz 9f07f8677a Generate tabular console view from JSON data. 2013-07-24 12:28:59 +02:00
juliusv 665512f5c7 Merge pull request #335 from yosabra/feature/interface/prettify
Replacing interface components with Bootstrap.
2013-07-23 12:03:06 -07:00
Sabra Melamed 22ab2366c1 Replacing interface components with Bootstrap.
This commit includes Bootstrap 2.3.2 and swaps a multitude of graph,
status, and other components to Bootstrap-based widgets.
2013-07-23 20:58:55 +02:00
juliusv 927435d68e Merge pull request #333 from prometheus/round-time
Round time to nearest second in memory storage.
2013-07-16 05:52:31 -07:00
Julius Volz 5d88e8cc45 Round time to nearest second in memory storage.
When samples get flushed to disk, they lose sub-second precision anyways. By
already dropping sub-second precision, data fetched from memory vs. disk will
behave the same. Later, we should consider also storing a more compact
representation than time.Time in memory if we're not going to use its full
precision.
2013-07-16 14:51:54 +02:00
Matt T. Proud 4781e2a578 Merge pull request #330 from prometheus/feature/interface/tabular-targets
Represent targets in a tabular interface.
2013-07-15 06:24:18 -07:00
Matt T. Proud f7704af4f8 Code Review: Formatting comments. 2013-07-15 15:12:01 +02:00
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