Commit Graph

4758 Commits

Author SHA1 Message Date
Julius Volz
c3d31febd6 Move durationToString to common place and cleanup error handling. 2013-02-14 19:02:23 +01:00
juliusv
ae01bce5f1 Merge pull request #76 from prometheus/refactor/storage/simplifications
Interface simplification.
2013-02-14 08:45:12 -08:00
Matt T. Proud
efbe0e8a12 Interface simplification.
GetMetricForFingerprint(model.Fingerprint) (*Metric, error) ->
GetMetricForFingerprint(model.Fingerprint) (Metric, error)
2013-02-14 08:43:02 -08:00
juliusv
ddb82a6e5d Merge pull request #75 from prometheus/refactor/storage/simplifications
Interface simplifications.
2013-02-14 08:29:09 -08:00
Matt T. Proud
f1245e8dda Interface simplifications.
GetFingerprintsForLabelName ([]*Fingerprint, error) ->
GetFingerprintsForLabelName ([]Fingerprint, error)
2013-02-14 08:19:41 -08:00
Matt T. Proud
e8a733b525 Interface simplifications.
GetFingerprintsForLabelSet ([]*Fingerprint, error) ->
GetFingerprintsForLabelSet ([]Fingerprint, error)
2013-02-14 08:07:59 -08:00
Matt T. Proud
cbad5da29b Merge pull request #74 from prometheus/refactor/storage/simplifications
GetFingerprintsForLabelName simplifications.
2013-02-14 08:04:43 -08:00
Matt T. Proud
f03091b139 Interface simplifications: GetRangeValues
From pointers to copies.
2013-02-13 21:11:23 -08:00
Matt T. Proud
14788cf4f3 Interface simplifications.
GetBoundaryValues() from pointers to values.
2013-02-13 21:07:42 -08:00
Matt T. Proud
56f069b3ec Interface simplifications: GetValueAtTime().
Pointer arguments to copies.
2013-02-13 21:05:01 -08:00
Matt T. Proud
1e2d6c7418 GetFingerprintsForLabelName simplifications.
``MetricPersistence.GetFingerprintsForLabelName(l *model.LabelName)``
->
``MetricPersistence.GetFingerprintsForLabelName(l model.LabelName)``
2013-02-13 17:44:35 -08:00
Matt T. Proud
1f351d86c3 Merge pull request #73 from prometheus/refactor/storage/simplifications
Simplifications of GetFingerprintsForLabelSet.
2013-02-13 17:29:38 -08:00
Matt T. Proud
900bb988c1 Simplifications of GetFingerprintsForLabelSet.
``MetricPersistence.GetFingerprintsForLabelSet(s *model.LabelSet)`` ->
``MetricPersistence.GetFingerprintsForLabelSet(s model.LabelSet)``.
2013-02-13 17:13:41 -08:00
Matt T. Proud
2140850658 Merge pull request #72 from prometheus/refactor/storage/simplifications
MetricPersistence.AppendSample signature changes.
2013-02-13 17:04:03 -08:00
Matt T. Proud
4fbcea73f5 MetricPersistence.AppendSample signature changes.
``MetricPersistence.AppendSample(*model.Sample)`` -> ``MetricPersistence.AppendSample(model.Sample)``.
2013-02-13 13:46:28 -08:00
juliusv
79fc056090 Merge pull request #71 from prometheus/refactor/new-registry-api
The Prometheus Go client has a new handler API.
2013-02-13 10:31:51 -08:00
Matt T. Proud
d1e7f5bc4b The Prometheus Go client has a new handler API. 2013-02-13 09:46:41 -08:00
juliusv
7b2ee03e90 Fix link to MacOSX instructions (again) 2013-02-08 22:56:58 +01:00
Matt T. Proud
75bd373223 Merge pull request #67 from prometheus/feature/storage/rethinking
Swap the Fingerprint Generator
2013-02-08 07:01:14 -08:00
Matt T. Proud
4502b49524 Swap out fingerprinting infrastructure.
All old database entries should be deleted.  :-(
2013-02-08 15:58:53 +01:00
Matt T. Proud
9bc9dae124 Merge pull request #66 from prometheus/julius-hud
Move web-related code/resources to a subdirectory.
2013-02-08 06:43:51 -08:00
Julius Volz
2859227fdb Make HTTP listen address a flag. 2013-02-08 15:42:09 +01:00
Julius Volz
0cbd03ccf9 Move web-related code/resources to a subdirectory. 2013-02-08 14:52:36 +01:00
juliusv
766a8e19d6 Merge pull request #65 from prometheus/feature/storage/rethinking
Create initial Metric fingerprinter.
2013-02-08 04:23:35 -08:00
Matt T. Proud
1c74eedf76 Create initial Metric fingerprinter.
The old system relies off of super-careful notion that the serialized
form of a Protocol Buffer should be used for fingerprint formulation.
Of course this is both wrong and inefficient.  This commit breaks
ground for swapping to a pure attribute-oriented digest.
2013-02-08 13:05:35 +01:00
Matt T. Proud
79ca8f0708 Merge pull request #64 from prometheus/julius-cleanup-imports
Remove/replace last references to github.com/matttproud/...
2013-02-07 07:56:48 -08:00
Julius Volz
06ace4941d Remove/replace last references to github.com/matttproud/... 2013-02-07 14:32:18 +01:00
Matt T. Proud
6d7c043b33 Merge pull request #63 from prometheus/julius-copyright-notices
Add copyright notices to all remaining files.
2013-02-07 02:55:30 -08:00
Julius Volz
16d9dcd6a8 Add copyright notices to all remaining files. 2013-02-07 11:49:04 +01:00
Matt T. Proud
d8c4f2c3c9 Merge pull request #62 from prometheus/julius-cleanups
Address outstanding comments from PR/47 and other cleanups.
2013-02-07 02:42:30 -08:00
Julius Volz
d67e4b9131 Address outstanding comments from PR/47 and other cleanups. 2013-02-07 11:38:01 +01:00
juliusv
abc09cf814 Merge pull request #61 from prometheus/feature/bulk-iteration-metric-names
Bulk iteration interface and UI metrics selector
2013-02-07 02:03:23 -08:00
Julius Volz
8194702bb3 Allow selecting available metrics through UI. 2013-02-07 11:02:12 +01:00
Julius Volz
2659304380 Add interface for getting all metrics from a MetricsPersistence. 2013-02-06 17:06:39 +01:00
Julius Volz
e23ac0adbd Implement bulk iteration/operation storage interface. 2013-02-06 17:05:23 +01:00
Julius Volz
1d412fbd66 Adjust graph sizes depending on window size. 2013-02-06 00:46:10 +01:00
Julius Volz
acb45c98f8 Style expression browser a bit. 2013-02-06 00:21:27 +01:00
Julius Volz
c8761f3468 Correct order of deadline and interval arguments. 2013-02-06 00:08:31 +01:00
juliusv
b20fb74798 Merge pull request #60 from prometheus/feature/pprof-insight
Incorporate pprof HTTP debugging handler.
2013-02-05 09:06:11 -08:00
Matt T. Proud
a7953251ed Incorporate pprof HTTP debugging handler.
This registers the pprof debugging handler via the static side-
effects documented in http://golang.org/pkg/net/http/pprof/.
2013-02-05 17:17:33 +01:00
Julius Volz
f6c449e782 Always clear legend before updating graph. 2013-02-04 14:06:58 +01:00
Tobias Schmidt
53eab86a4f Merge pull request #51 from prometheus/refactor/testability/update-to-time-provider
Swap ``time.Now`` with testable ``Time.Now``.
2013-02-01 04:54:43 -08:00
Tobias Schmidt
af487c85e3 Merge pull request #59 from prometheus/feature/snappy
Include Snappy in Runtime.
2013-02-01 04:54:32 -08:00
Matt T. Proud
ec3e98b365 Include Snappy in Runtime.
Snappy should have been explicitly included in the runtime, for I
erroneously thought that LevelDB bundled this into its runtime as-is.
It turns out that this assumption is wrong, and I thought we had
Snappy compression support all-along.
2013-02-01 13:35:07 +01:00
Matt T. Proud
74b18dbfbd Merge pull request #58 from prometheus/julius-add-handlebars-license
Add license to handlebars.js file.
2013-01-31 06:31:25 -08:00
Julius Volz
6d485dc1cc Add license to handlebars.js file. 2013-01-31 14:41:07 +01:00
Matt T. Proud
bd0795032a Merge pull request #57 from prometheus/julius-graphing-improvements
Display Page with Default Graph if None Specified; Host Handlebars
2013-01-31 04:12:09 -08:00
Julius Volz
7ceac65be8 Load handlebars.js from local copy. 2013-01-31 11:58:01 +01:00
Julius Volz
893eebe77c Add one graph to page even when no graphs specified in URL. 2013-01-30 17:57:21 +01:00
juliusv
f47dfc458c Merge pull request #55 from prometheus/feature/telemetry/retrieval-durations
Duration statistics for each target pool.
2013-01-30 06:05:08 -08:00