Julius Volz
2ade9d40cf
Clarify why we need int constants for expression types.
...
Change-Id: I053fc5d32c118dbdb204dc8193337f981aff796e
10 years ago
juliusv
47551b8eee
Use latest architecture diagram in README.md
10 years ago
Julius Volz
62b69b005d
Update architecture diagram and include source file.
...
Change-Id: I2a793a5d1941dc0e945a9cfe25df5f5a79d2b10a
10 years ago
juliusv
401decc847
Merge pull request #428 from brian-brazil/sample-consoles
...
Console templating library, including graphs.
10 years ago
Brian Brazil
43b105d32d
Console templating library, including graphs.
...
This provides the basic js, css and console template
templates required to build dashboards.
Included as an example are consoles for the node_exporter.
Change-Id: I4cfeea5e9691a9413f74ae98ca32a908df8e4a59
10 years ago
juliusv
fd4a7b885b
Merge pull request #427 from prometheus/retrieval-rename-address-url
...
Rename Address to URL
10 years ago
Johannes 'fish' Ziemke
ff95a52b0f
Rename Address to URL
...
The "Address" is actually a URL which may contain username and
password. Calling this Address is misleading so we rename it.
Change-Id: I441c7ab9dfa2ceedc67cde7a47e6843a65f60511
10 years ago
Björn "Beorn" Rabenstein
3560ece5fb
Merge pull request #426 from prometheus/u-c-l/bump-version
...
It's time for 0.9.0rc2.
10 years ago
Bjoern Rabenstein
bf757edbc4
It's time for 0.9.0rc2.
10 years ago
Björn Rabenstein
c4bcfeccc5
Merge pull request #425 from prometheus/fix/series-file-name
...
Fix embarrassing bug in crash recovery.
10 years ago
Bjoern Rabenstein
ff24070a03
Fix embarrassing bug in crash recovery.
...
(And yes, we always knew we need tests for that. I have added a TODO now.)
Change-Id: I9cf52bbf98e263e0b79404bda4c442beba9696a8
10 years ago
Björn Rabenstein
d72d49f1b3
Merge pull request #420 from prometheus/metric-cow
...
Introduce copy-on-write for metrics in AST.
10 years ago
Björn Rabenstein
e2fddd62e9
Merge pull request #424 from tsenart/go1.4
...
Upgrade to Go 1.4
10 years ago
Tomás Senart
09c58ce481
Upgrade to Go 1.4
...
This change set upgrades Prometheus to use Go 1.4
The other modifications were intended to compare benchmarks between the
old and new versions using `golang.org/x/tools/cmd/benchcmp`.
```
benchmark old ns/op new ns/op delta
BenchmarkTargetManager-8 38866 19355 -50.20%
BenchmarkTargetPool-8 114763 58989 -48.60%
BenchmarkFingerprintLockerParallel-8 747 752 +0.67%
BenchmarkFingerprintLockerSerial-8 39.0 39.1 +0.26%
BenchmarkAppend-8 2020 2553 +26.39%
BenchmarkFuzz-8 1185584705 506752314 -57.26%
BenchmarkLabelPairs-8 753 903 +19.92%
benchmark old allocs new allocs delta
BenchmarkTargetManager-8 41 46 +12.20%
BenchmarkTargetPool-8 682 460 -32.55%
BenchmarkFingerprintLockerParallel-8 0 0 +0.00%
BenchmarkFingerprintLockerSerial-8 0 0 +0.00%
BenchmarkAppend-8 11 15 +36.36%
BenchmarkFuzz-8 2269055 1061400 -53.22%
BenchmarkLabelPairs-8 12 12 +0.00%
benchmark old bytes new bytes delta
BenchmarkTargetManager-8 8755 7160 -18.22%
BenchmarkTargetPool-8 82621 41342 -49.96%
BenchmarkFingerprintLockerParallel-8 0 0 +0.00%
BenchmarkFingerprintLockerSerial-8 0 0 +0.00%
BenchmarkAppend-8 289 293 +1.38%
BenchmarkFuzz-8 2307248006 586094916 -74.60%
BenchmarkLabelPairs-8 316 304 -3.80%
```
10 years ago
Julius Volz
00a2a93a05
Add regression tests for metrics mutations in AST.
...
It turned out in the end, that only drop_common_metrics() produced any
erroneous output in the old system. The second expression in the test
("sum(testmetric) keeping_extra") already worked in the old code, but
why not keep it in...
The way to test ranged evaluations is a bit clumsy so far, so I want to
build a nicer test framework in the end, where all the test cases can be
specified as text files which specify desired inputs, outputs, query
step widths, etc.
Change-Id: I821859789e69b8232bededf670a1b76e9e8c8ca4
10 years ago
Julius Volz
c9618d11e8
Introduce copy-on-write for metrics in AST.
...
This depends on changes in:
https://github.com/prometheus/client_golang/tree/cow-metrics .
Change-Id: I80b94833a60ddf954c7cd92fd2cfbebd8dd46142
10 years ago
juliusv
f2052c9c0d
Merge pull request #423 from prometheus/u-c-l/adjust-to-new-goleveldb
...
Adjust to the new version of goleveldb.
10 years ago
Bjoern Rabenstein
afd864e7f4
Adjust to the new version of goleveldb.
...
(And yes, we do want vendoring for that... This is just the quick fix.)
Change-Id: I9d347a64d96de6b3390a0e35c8d466f14bb83e4e
10 years ago
Björn Rabenstein
cf781eff37
Merge pull request #421 from prometheus/u-c-l/code-cleanup
...
Apply a giant code cleanup.
10 years ago
Bjoern Rabenstein
39efe6358b
Fix typos and import order.
...
This doesn't make the import order consistend everywhere, just where
it was touched by the previous commit.
Change-Id: I82fc75f8691da9901c7ceb808e6f6fe8e5d62c0e
10 years ago
Bjoern Rabenstein
b1e4956142
Apply a giant code cleanup.
...
Essentially:
- Remove unused code.
- Make it 'go vet' clean. The only remaining warnings are in generated code.
- Make it 'golint' clean. The only remaining warnings are in gerenated code.
- Smoothed out same minor things.
Change-Id: I3fe5c1fbead27b0e7a9c247fee2f5a45bc2d42c6
10 years ago
Björn Rabenstein
b903507371
Merge pull request #418 from prometheus/u-c-l/fix-language
...
Use less offensive language WRT Travis.
10 years ago
Bjoern Rabenstein
901610835b
Use less offensive language WRT Travise.
...
Change-Id: I6cfc8a1663940283f047cfb36241ac33433ffbd4
10 years ago
Björn Rabenstein
08d4dcf223
Merge pull request #416 from prometheus/bjoern/deal-with-complicated-todos
...
Remove the remaining races, new and old.
10 years ago
Bjoern Rabenstein
41dbff7058
Merge branch 'master' into bjoern/deal-with-complicated-todos
...
Conflicts:
README.md
Change-Id: Ia9cf8c3498ec6238669f52b4114f3db54dd0bd07
10 years ago
juliusv
8e0d7dbfd8
Update architecture diagram link in README.md.
10 years ago
Julius Volz
9c43ed7b6d
Update architecture diagram.
...
Include links to components and include the pushgateway.
Change-Id: I8edb246fac3ba6b2f97ef0d810e0d3bf163be5f7
10 years ago
juliusv
0939e21c93
Add quotes around ARGUMENTS in README.md.
10 years ago
juliusv
d769e39ea3
Fix protoc link display.
10 years ago
juliusv
05616dfa86
Use sentence-style casing in headline
10 years ago
juliusv
3df9566664
Reformat architecture overview section.
10 years ago
juliusv
f1fcac724d
Use rawgit.com to get correct SVG headers
10 years ago
juliusv
c3922330e9
Include architecture diagram in README.md.
10 years ago
Julius Volz
6717f6b2f4
Add architecture overview diagram.
...
Change-Id: I860a748be534b2b9b0b60a9dd2e4436b78cc3907
10 years ago
juliusv
5b942982b7
Fix another README.md typo.
10 years ago
juliusv
cc83fdc9c3
Make README.md introduction less esoteric.
10 years ago
juliusv
a0457829ee
Some more README.md updates.
10 years ago
juliusv
c1b0237d4b
Fix typo in README.md
10 years ago
Björn Rabenstein
f71c215454
Merge pull request #415 from peterbourgon/fix-dockerfile
...
Fix Dockerfile for new repo layout
10 years ago
Bjoern Rabenstein
89bb376bce
Reduce lock-protected area during scrape.
...
Change-Id: Iaa7faa7c916b1890b568d05bd8bfff6299b6767d
10 years ago
Peter Bourgon
88019e852a
Use ENTRYPOINT and CMD
10 years ago
Bjoern Rabenstein
fee88a7a77
Remove the remaining races, new and old.
...
Also, resolve a few other TODOs.
Change-Id: Icb39b5a5e8ca22ebcb48771cd8951c5d9e112691
10 years ago
Peter Bourgon
ec4182c8c7
Remove newline at end of Dockerfile
10 years ago
Peter Bourgon
dde4209144
Fix Dockerfile for new repo layout
10 years ago
Bjoern Rabenstein
c0e5ac35f0
Remove spurious quotes in Makefile.INCLUDE.
...
Change-Id: Ic75f00e73dbfdeaa8419f5b22789fe24c84ec606
10 years ago
Bjoern Rabenstein
7c3bb145e1
Bump VERSION to 0.9.0rc1.
...
Change-Id: Ie1a02d026290e9ecee83990b7baa2cd730df6869
10 years ago
Björn Rabenstein
ee9b32cd13
Merge pull request #413 from prometheus/cleanup/do-some-todos
...
Cleanup/do some todos
10 years ago
Bjoern Rabenstein
66c80b5ebd
Fix typo.
...
Change-Id: I72608c7841c00145458807d3c3ee29db7b5ac2bc
10 years ago
Bjoern Rabenstein
674624f1c8
Completed more TODOs.
...
- Documented checkpoint file format.
- High-level description of series sanitation.
- Replace fp.LoadFromString panic with an error.
(Change in client_golang already submitted.)
- Introduced checks for series file size where appropriate.
- Removed two Law of Demeter violations.
Change-Id: I555d97a2c8f4769820c2fc8bf5d6f4e160222abc
10 years ago
Bjoern Rabenstein
7d11019aa2
Squash a few trivial TODOs.
...
- Delete unneeded file view_adapter.go.
- Assessed that we still need the fingerprints in nodes
(to create iterators).
- Turned numMemChunkDescs into a metric.
Change-Id: I29be963c795a075ec00c095f76bf26405535609d
10 years ago