Julius Volz
1a1cba1bb2
Address outstanding PR comments.
12 years ago
Matt T. Proud
62b5d7ce20
Oops.
12 years ago
Matt T. Proud
1e0d740f2a
Conditionalize LevelDB index retrievals.
...
The LevelDB index retrievals could be repeated in a given operation
batch if multiple queued mutations affect the same (Label Name) singles
and (Label Name, Label Value) doubles. This is wasteful and
inefficient, as a single retrieval suffices. Thusly this commit
retrieves the canonical index mappings if the said mapping has not
been looked up in a given batch.
12 years ago
Matt T. Proud
34a921e16d
Checkpoint.
12 years ago
Matt T. Proud
8cc5cdde0b
checkpoint.
12 years ago
Matt T. Proud
d5380897c3
Cleanups and adds performance regression.
12 years ago
Matt T. Proud
f39b9c3c8e
Checkpoint.
12 years ago
Matt T. Proud
41068c2e84
Checkpoint.
12 years ago
juliusv
91c5e29f1f
Merge pull request #91 from prometheus/feature/datetimepicker
...
Add a date/time picker to graph UI
12 years ago
Johannes 'fish' Ziemke
6213c0f1ee
Add missing semicolons.
12 years ago
Johannes 'fish' Ziemke
72bd751857
Increase/decrease end date by 1/2 range.
12 years ago
Johannes 'fish' Ziemke
c0b5ba6512
Prevent unnecessary reload.
12 years ago
Johannes 'fish' Ziemke
f170720f61
Use hidden input for end.
...
Instead of appending to url manually.
12 years ago
Johannes 'fish' Ziemke
8e55ff0a8d
Save and restore end date in/from url.
12 years ago
Johannes 'fish' Ziemke
1f484b03c7
Renamed date_s to dateString.
...
To be more explicit.
12 years ago
Johannes 'fish' Ziemke
a5e18b0229
Rename localAssets to useLocalAssets.
12 years ago
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
12 years ago
Johannes 'fish' Ziemke
bf5d312a74
Add flag to read assets from local files.
12 years ago
Matt T. Proud
bd7ec4d5e1
Merge pull request #90 from prometheus/feature/scraping/named-target-state
...
Improve the Representations of /status
12 years ago
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.
12 years ago
Matt T. Proud
33c855e9bd
Merge pull request #88 from prometheus/feature/scraping/named-target-state
...
Update embedding script to support BSD find.
12 years ago
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.
12 years ago
Matt T. Proud
8358e5ee44
Update embedding script to support BSD find.
...
Mac OS X (shudder) needs to have a slightly modified find execution
pattern.
12 years ago
Johannes 'fish' Ziemke
1f80b17cb7
Remove temporary debugging.
12 years ago
juliusv
e458e18dc5
Merge pull request #87 from prometheus/feature/build-in-static-assets
...
Ship assets in compiled binary.
12 years ago
Johannes 'fish' Ziemke
a985a723a1
Remove echo -e because it's not available on Travis.
...
Instead, files.go gets piped through gofmt.
12 years ago
Johannes 'fish' Ziemke
aed8270a97
Enable debugging (set -x) on embed-static.sh.
12 years ago
Johannes 'fish' Ziemke
920c59e12d
Added vim-common to travis build environment.
...
vim-common includes `xxd` which we use to hexdump files for package blob.
12 years ago
Johannes 'fish' Ziemke
2434bac219
Detect mime type on runtime instead of hardcoding.
12 years ago
Johannes 'fish' Ziemke
a5d31cb239
Use constants for blob bucket keys.
12 years ago
Johannes 'fish' Ziemke
59f8ba9121
Replace popd/pushd because travis' /bin/sh doesn't support it.
12 years ago
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.
12 years ago
Johannes 'fish' Ziemke
2192b52064
Fix path to goskiplist.
12 years ago
Johannes 'fish' Ziemke
8246f68e25
Add skiplist build dependency to Makefile.TRAVIS.
12 years ago
juliusv
ca57b43e8c
Merge pull request #86 from prometheus/julius-sd
...
Allow replacing job targets via HTTP API.
12 years ago
Johannes 'fish' Ziemke
d834d44187
Update README.md
12 years ago
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)
12 years ago
Matt T. Proud
fc39a92a06
Merge pull request #85 from prometheus/julius-fix-healthstate
...
Fix target health state update.
12 years ago
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.
12 years ago
Matt T. Proud
9262e70a56
Merge pull request #82 from prometheus/julius-fix-targets
...
Fix target pool deadlock and health checking bugs
12 years ago
Julius Volz
5d55785936
Fix broken target scrape error propagation.
12 years ago
Julius Volz
3537edee9f
Fix targetpool iteration deadlock.
12 years ago
Matt T. Proud
a4e2ccf680
Merge pull request #79 from prometheus/feature/storage/rethinking
...
Initial In-Memory Metric Store
12 years ago
Matt T. Proud
13ae29b304
Initial in-memory arena implementation.
...
It is unbounded, and nothing uses it except for a gating flag in main.
12 years ago
juliusv
536e07432d
Merge pull request #80 from prometheus/julius-add-missing-fixtures
...
Add missing config test fixtures.
12 years ago
Julius Volz
39411b516d
Add missing config test fixtures.
12 years ago
juliusv
db5868f1b3
Merge pull request #70 from prometheus/julius-hud
...
Cleanups and beginnings of a /status endpoint
12 years ago
Julius Volz
a908e397bc
Integrate cleanups for comments in PR70.
12 years ago
Julius Volz
d137362257
Config tests and config cleanups+fixes.
12 years ago
Julius Volz
23374788d3
Beginnings of a Prometheus status page.
12 years ago