Commit Graph

3872 Commits (6766123f93bd63677db051f67dc77aa5adb7db19)

Author SHA1 Message Date
Matt T. Proud 8a17ee843d Merge pull request #170 from prometheus/refactor/readability/business-logic-types
Extract dto.SampleValueSeries into model.Values.
2013-04-22 04:38:15 -07:00
juliusv d65353fc1b Merge pull request #171 from prometheus/julius-fix-debug
Register pprof /debug endpoints with custom HTTP mux.
2013-04-22 04:33:09 -07:00
Matt T. Proud b1a8e51b07 Extract dto.SampleValueSeries into model.Values. 2013-04-22 13:31:11 +02:00
Julius Volz a2623efcdf Register pprof /debug endpoints with custom HTTP mux. 2013-04-22 13:21:24 +02:00
Johannes 'fish' Ziemke 712bf5e2f9 Add per graph auto-refresh option to web UI.
This adds a drop-down menu to select/disable a auto-refresh interval.
2013-04-22 11:42:23 +02:00
juliusv e4e6e9a6f5 Merge pull request #167 from prometheus/refactor/tests/trailing-types
Convert trailing float64s.
2013-04-21 12:09:02 -07:00
Matt T. Proud 422003da8e Convert trailing float64s. 2013-04-21 20:52:21 +02:00
Matt T. Proud cbcaef0018 Merge pull request #166 from prometheus/refactor/readability/business-logic-types
Wrap dto.SampleKey with business logic type.
2013-04-21 11:41:37 -07:00
Matt T. Proud db4ffbb262 Wrap dto.SampleKey with business logic type.
The curator work can be done easier if dto.SampleKey is no longer
directly accessed but rather has a higher level type around it that
captures a certain modicum of business logic.  This doesn't look
terribly interesting today, but it will get more so.
2013-04-21 20:38:39 +02:00
Matt T. Proud 6ed97fbe8a Merge pull request #165 from prometheus/fix/testing/stochastic
Stochastic test support plural SampleValueSeries.
2013-04-21 11:38:13 -07:00
Matt T. Proud bb12929cf4 Merge pull request #164 from prometheus/extensibility/futureproof/values
Refresh SampleValue to 64-bit floating point.
2013-04-21 11:38:01 -07:00
Matt T. Proud f9e99bd08a Refresh SampleValue to 64-bit floating point.
We always knew that this needed to be fixed.
2013-04-21 20:31:50 +02:00
Matt T. Proud 092c7bd88e Stochastic test support plural SampleValueSeries.
After SampleValue was refactored into SampleValueSeries, which
involves plural values under a common super key, the stochastic
test was never refreshed to reflect this reality.  We had other
tests that validated the functionality, but this one was
insufficently forward-ported.
2013-04-21 20:31:32 +02:00
Matt T. Proud 370da70470 Merge pull request #163 from prometheus/futureproof/dependencies/refresh
Upgrade Snappy, Protocol Buffers, and LevelDB.
2013-04-21 11:28:03 -07:00
Matt T. Proud b2d0c4fce7 Stochastic test support plural SampleValueSeries.
After SampleValue was refactored into SampleValueSeries, which
involves plural values under a common super key, the stochastic
test was never refreshed to reflect this reality.  We had other
tests that validated the functionality, but this one was
insufficently forward-ported.
2013-04-21 19:18:40 +02:00
Matt T. Proud 3965eea43a Upgrade Snappy, Protocol Buffers, and LevelDB.
This is pending validation of fitness.
2013-04-20 22:51:17 +02:00
juliusv 3fbf9045d5 Merge pull request #162 from prometheus/julius-fix-printf
Add missing argument to Printf call.
2013-04-19 08:26:17 -07:00
Julius Volz ae316415fe Add missing argument to Printf call. 2013-04-19 16:29:58 +02:00
juliusv 6a5d2f68fc Merge pull request #161 from prometheus/julius-integrate-storage
Integrate memory and disk layers in view rendering.
2013-04-19 07:12:11 -07:00
Julius Volz 99dcbe0f94 Integrate memory and disk layers in view rendering. 2013-04-19 16:01:27 +02:00
juliusv 30c7acfaa4 Merge pull request #160 from prometheus/julius-refactor-persistence
Make view use memory persistence, remove obsolete code.
2013-04-18 15:18:30 -07:00
Julius Volz 63625bd244 Make view use memory persistence, remove obsolete code.
This makes the memory persistence the backing store for views and
adjusts the MetricPersistence interface accordingly. It also removes
unused Get* method implementations from the LevelDB persistence so they
don't need to be adapted to the new interface. In the future, we should
rethink these interfaces.

All staleness and interpolation handling is now removed from the storage
layer and will be handled only by the query layer in the future.
2013-04-18 22:26:29 +02:00
Matt T. Proud 7f0165aabb Merge pull request #156 from prometheus/julius-fix-rule-eval
Fix rule evaluation closure.
2013-04-17 06:12:12 -07:00
Julius Volz 1eb586db7d Fix rule evaluation closure. 2013-04-17 15:11:21 +02:00
juliusv 7c544c91c6 Merge pull request #151 from prometheus/julius-synth-vars
Record scrape health timeseries per target.
2013-04-17 05:48:26 -07:00
Matt T. Proud ed5807a0e6 Merge pull request #154 from prometheus/refactor/build/leveldb-transparency
Include insights into LevelDB build behaviors.
2013-04-17 05:43:40 -07:00
Matt T. Proud a397c4aaf8 Include insights into LevelDB build behaviors.
Fix wget typo, too.
2013-04-17 14:00:15 +02:00
Matt T. Proud 5d65b9392a Merge pull request #152 from prometheus/refactor/build/consolidated-build
New build system only.
2013-04-17 00:49:14 -07:00
Matt T. Proud 32c0a939b0 New self-sustaining, hermetic build system.
This should help us produce self-contained artifacts for users as
well as lower the hurdles for first-time contributors.
2013-04-17 09:34:24 +02:00
Julius Volz 8c9e9632a8 Record scrape health timeseries per target. 2013-04-16 19:01:26 +02:00
juliusv fdea26e359 Merge pull request #150 from prometheus/julius-mf
Run "make format".
2013-04-16 08:24:51 -07:00
Julius Volz 5f5ea03105 Run "make format". 2013-04-16 17:23:59 +02:00
juliusv a13bc4494d Merge pull request #149 from prometheus/fix/telemetry/queue-reporting
Fix append queue telemetry and parameterize sizes.
2013-04-16 08:19:03 -07:00
Matt T. Proud d468271e2f Fix append queue telemetry and parameterize sizes.
The original append queue telemetry never worked, because it was
updated only upon the exit of the select statement, which would
usually liberate the queues of contents.  This has been fixed to
be reported arbitrarily.

The queue sizes are now parameterizable via flags.
2013-04-16 17:13:29 +02:00
juliusv 888b64c781 Merge pull request #145 from prometheus/julius-fix-per-second-rate
Fix rate() per-second adjustment.
2013-04-15 06:49:40 -07:00
Julius Volz 1cff4f3d91 Fix rate() per-second adjustment.
This got broken during the depointerization of the Vector type.
2013-04-15 14:41:34 +02:00
juliusv 62f33f1fc2 Merge pull request #138 from prometheus/julius-fix-aliasing
Correct delta()/rate() intervals and temporal aliasing.
2013-04-15 05:38:48 -07:00
Matt T. Proud 167504efd6 Merge pull request #142 from prometheus/julius-lowercase-by
Allow lower-case BY operator.
2013-04-15 05:13:35 -07:00
Matt T. Proud 7267b76d93 Merge pull request #143 from prometheus/julius-fix-drain
Stop serving tiered storage after draining it.
2013-04-15 04:35:49 -07:00
Julius Volz 95b081f9bc Stop serving tiered storage after draining it. 2013-04-15 13:30:03 +02:00
Julius Volz d53b8cf956 Correct delta()/rate() intervals and temporal aliasing. 2013-04-15 12:30:46 +02:00
Julius Volz 000f6a2e23 Allow lower-case BY operator. 2013-04-15 11:56:23 +02:00
Matt T. Proud 6b9de768ee Merge pull request #141 from prometheus/julius-constantize-job-label
Constantize job name label.
2013-04-15 02:51:57 -07:00
Julius Volz a0d311c9e6 Constantize job name label. 2013-04-15 11:47:54 +02:00
juliusv f21b5ad12b Merge pull request #133 from bernerdschaefer/graph-display-tweaks
Graph display tweaks
2013-04-15 02:32:45 -07:00
Bernerd Schaefer 72bd585485 Revert style change to legend items 2013-04-15 10:04:09 +02:00
Matt T. Proud e6f67c3a3e Merge pull request #139 from prometheus/julius-reduce-sample-jitter
Fix scrape timestamps to reduce sample time jitter.
2013-04-13 06:57:07 -07:00
Julius Volz a1ba23038e Fix scrape timestamps to reduce sample time jitter.
We're currently timestamping samples with the time at the end of a scrape
iteration. It makes more sense to use a timestamp from the beginning of the
scrape for two reasons:

a) this time is more relevant to the scraped values than the time at the
   end of the HTTP-GET + JSON decoding work.
b) it reduces sample timestamp jitter if we measure at the beginning, and
   not at the completion of a scrape.
2013-04-13 03:45:37 +02:00
juliusv f817106d6a Merge pull request #134 from prometheus/fix/set-job-label-from-targets-api
Set job label for targets registered through the API
2013-04-12 07:28:27 -07:00
juliusv f89d4c2cac Merge pull request #128 from prometheus/feature/convert-host-relative-links
Convert addresses pointing to localhost in status.
2013-04-12 07:27:30 -07:00