Commit graph

13144 commits

Author SHA1 Message Date
Johannes 'fish' Ziemke 1f484b03c7 Renamed date_s to dateString.
To be more explicit.
2013-03-21 15:56:41 +01:00
Johannes 'fish' Ziemke a5e18b0229 Rename localAssets to useLocalAssets. 2013-03-21 15:55:48 +01:00
Johannes 'fish' Ziemke f9b4df4284 Add a date/time picker to graph UI.
- It's using https://github.com/mugifly/jquery-simple-datetimepicker
- If input is empty, it returns the most recent data
2013-03-21 14:26:13 +01:00
Johannes 'fish' Ziemke bf5d312a74 Add flag to read assets from local files. 2013-03-21 13:55:59 +01:00
Matt T. Proud bd7ec4d5e1 Merge pull request #90 from prometheus/feature/scraping/named-target-state
Improve the Representations of /status
2013-03-21 04:19:29 -07:00
Matt T. Proud 05a9c3cd0b Improve the base label representation in /status.
The base label representation under /status needs improvement to
enhance readability; namely, add sorting and make the label
representation concise.
2013-03-21 12:08:18 +01:00
Matt T. Proud 33c855e9bd Merge pull request #88 from prometheus/feature/scraping/named-target-state
Update embedding script to support BSD find.
2013-03-21 03:55:57 -07:00
Matt T. Proud 5a9417f80a Include humanized target state strings.
In the current /status implementation, we cannot divine what the
target's state is but rather get an integer constant for it.  This
commit, stringifies the constants.
2013-03-21 11:52:42 +01:00
Matt T. Proud 8358e5ee44 Update embedding script to support BSD find.
Mac OS X (shudder) needs to have a slightly modified find execution
pattern.
2013-03-21 11:50:13 +01:00
Johannes 'fish' Ziemke 1f80b17cb7 Remove temporary debugging. 2013-03-20 15:15:11 +01:00
juliusv e458e18dc5 Merge pull request #87 from prometheus/feature/build-in-static-assets
Ship assets in compiled binary.
2013-03-20 05:33:31 -07:00
Johannes 'fish' Ziemke a985a723a1 Remove echo -e because it's not available on Travis.
Instead, files.go gets piped through gofmt.
2013-03-20 12:58:41 +01:00
Johannes 'fish' Ziemke aed8270a97 Enable debugging (set -x) on embed-static.sh. 2013-03-20 12:58:14 +01:00
Johannes 'fish' Ziemke 920c59e12d Added vim-common to travis build environment.
vim-common includes `xxd` which we use to hexdump files for package blob.
2013-03-19 18:01:21 +01:00
Johannes 'fish' Ziemke 2434bac219 Detect mime type on runtime instead of hardcoding. 2013-03-19 17:40:27 +01:00
Johannes 'fish' Ziemke a5d31cb239 Use constants for blob bucket keys. 2013-03-19 17:40:27 +01:00
Johannes 'fish' Ziemke 59f8ba9121 Replace popd/pushd because travis' /bin/sh doesn't support it. 2013-03-19 17:40:27 +01:00
Johannes 'fish' Ziemke fc16580b4c Ship assets in compiled binary.
- utility/embed-static.sh, get called in Makefile to create go map from files
- web/blob/blob.go implements http Handle for serving the files from the map
- web/status.go uses blog.GetFile() to get the template file

The assets are gzipped and decompressed on demand.
2013-03-19 17:40:27 +01:00
Johannes 'fish' Ziemke 2192b52064 Fix path to goskiplist. 2013-03-19 17:39:47 +01:00
Johannes 'fish' Ziemke 8246f68e25 Add skiplist build dependency to Makefile.TRAVIS. 2013-03-19 17:17:51 +01:00
juliusv ca57b43e8c Merge pull request #86 from prometheus/julius-sd
Allow replacing job targets via HTTP API.
2013-03-04 10:00:29 -08:00
Johannes 'fish' Ziemke d834d44187 Update README.md 2013-03-04 12:47:00 +01:00
Julius Volz f1fc7d717a Allow replacing job targets via HTTP API.
This roughly comprises the following changes:

- index target pools by job instead of scrape interval
- make targets within a pool exchangable while preserving existing
  health state for targets
- allow exchanging targets via HTTP API (PUT)
- show target lists in /status (experimental, for own debug use)
2013-02-28 21:33:29 +01:00
Matt T. Proud fc39a92a06 Merge pull request #85 from prometheus/julius-fix-healthstate
Fix target health state update.
2013-02-25 10:30:55 -08:00
Julius Volz 047eb219e4 Fix target health state update.
Right now, futureState is only used to give hints to the health scheduler, but
nowhere is this future state persisted into the target's state field, so we
don't actually track a target's state over time.
2013-02-25 02:52:52 +01:00
Matt T. Proud 9262e70a56 Merge pull request #82 from prometheus/julius-fix-targets
Fix target pool deadlock and health checking bugs
2013-02-21 11:21:03 -08:00
Julius Volz 5d55785936 Fix broken target scrape error propagation. 2013-02-21 19:48:54 +01:00
Julius Volz 3537edee9f Fix targetpool iteration deadlock. 2013-02-21 19:48:29 +01:00
Matt T. Proud a4e2ccf680 Merge pull request #79 from prometheus/feature/storage/rethinking
Initial In-Memory Metric Store
2013-02-18 08:04:42 -08:00
Matt T. Proud 13ae29b304 Initial in-memory arena implementation.
It is unbounded, and nothing uses it except for a gating flag in main.
2013-02-18 09:38:14 -06:00
juliusv 536e07432d Merge pull request #80 from prometheus/julius-add-missing-fixtures
Add missing config test fixtures.
2013-02-16 16:04:17 -08:00
Julius Volz 39411b516d Add missing config test fixtures. 2013-02-17 01:01:50 +01:00
juliusv db5868f1b3 Merge pull request #70 from prometheus/julius-hud
Cleanups and beginnings of a /status endpoint
2013-02-14 10:04:30 -08:00
Julius Volz a908e397bc Integrate cleanups for comments in PR70. 2013-02-14 19:03:17 +01:00
Julius Volz d137362257 Config tests and config cleanups+fixes. 2013-02-14 19:03:17 +01:00
Julius Volz 23374788d3 Beginnings of a Prometheus status page. 2013-02-14 19:03:17 +01:00
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