Cody Soyland
39c5ecee38
Merge branch 'master' into stats-reduce
2019-06-10 09:35:07 -05:00
Cody Soyland
40dfffc833
Merge pull request #1994 from codysoyland/prometheus
...
Add Prometheus tests, refactor http stats as middleware, minor fixes
2019-06-10 09:34:50 -05:00
Cody Soyland
726b001b91
Merge branch 'master' into prometheus
2019-06-10 09:16:09 -05:00
Cody Soyland
db1587e4c8
Fix tests
2019-06-10 09:15:37 -05:00
Cody Soyland
9fb6d84d80
Remove extraneous stat tags to improve prometheus performance
2019-06-10 08:18:30 -05:00
Ben Johnson
bc98d5418e
Allow partial translate file reads. ( #1987 )
...
Allow partial translate file reads.
2019-06-07 15:43:44 -06:00
Ben Johnson
815005d461
Merge branch 'master' into allow-translate-key-small-buffer
2019-06-07 14:51:10 -06:00
Cody Soyland
430becdd3f
Add tests for prometheus stats client
2019-06-07 09:58:40 -05:00
Cody Soyland
363a19b321
Add request method to stats
2019-06-07 09:20:40 -05:00
Cody Soyland
da04eb7bc3
Use timing instead of histogram for http requests
2019-06-07 09:13:38 -05:00
Cody Soyland
04b5d4b79b
Use seconds, not milliseconds for timings
2019-06-07 09:13:38 -05:00
Cody Soyland
e8dd61d359
Refactor stats collector to middleware, tag path instead of full url
2019-06-07 09:13:37 -05:00
Cody Soyland
2d6e948c83
Return after errors
2019-06-07 09:13:37 -05:00
Matthew Jaffee
edd26407f5
Merge pull request #1992 from codysoyland/prometheus
...
Add Prometheus stats backend
2019-06-05 21:40:43 -05:00
Cody Soyland
fc33f7ea66
Add errantly removed pathParts definition
2019-06-05 21:23:12 -05:00
Cody Soyland
14920758aa
Add docs pertaining to prometheus
2019-06-05 21:23:12 -05:00
Cody Soyland
97e1822445
Remove urls from stat names, instead tag http.request stats with url
2019-06-05 21:23:11 -05:00
Cody Soyland
2de8060f2c
Use prometheus-compatible metric naming
2019-06-05 21:23:11 -05:00
Cody Soyland
d3db48a1fd
Add missing fields
2019-06-05 21:23:11 -05:00
Cody Soyland
68e89c63f8
Implement prometheus timing
2019-06-05 21:23:11 -05:00
Cody Soyland
c5ce27d7ef
Implement histogram/observer/summary stats
2019-06-05 21:23:11 -05:00
Cody Soyland
dfc7cfa4aa
Fix linter errors and add gauge support to prometheus
2019-06-05 21:23:11 -05:00
Cody Soyland
4c7aa4af81
Add Prometheus stats client with Count support
2019-06-05 21:23:11 -05:00
Cody Soyland
8fb8f1d8f7
go mod fix + tidy
2019-06-05 21:23:11 -05:00
Cody Soyland
7e4c3b715b
Add basic prometheus support
2019-06-05 21:23:10 -05:00
tgruben
00c01ab2d6
Merge pull request #1993 from tgruben/confirm-fail
...
False Positive nodeLeave events put cluster in an unusable state (Starting)
2019-06-05 20:16:40 -05:00
Todd Gruben
0b392164cc
Stabilization Time not long enough for new cluster test
2019-06-05 18:48:35 -05:00
Todd Gruben
b9ab21dfd2
Decreased the number of retries for dead node confirmation
2019-06-05 15:13:53 -05:00
Todd Gruben
e4dbafd03e
Duplicate log entry
2019-06-05 14:58:35 -05:00
Todd Gruben
5ddbe0b51a
Merge branch 'confirm-fail' of github.com:tgruben/pilosa into confirm-fail
2019-06-05 14:54:08 -05:00
Todd Gruben
c99071d5bf
timeout handleded incorrectly;added tests
2019-06-05 14:53:35 -05:00
tgruben
2376a2bcec
Merge branch 'master' into confirm-fail
2019-06-05 11:42:10 -05:00
Todd Gruben
085e29543e
False Positive nodeLeave events put cluster in an unusable state
2019-06-05 11:28:41 -05:00
seebs
aa5c5a3afa
Merge pull request #1990 from seebs/renameSemantics
...
use os.Rename semantically correctly
2019-06-04 11:50:05 -05:00
Ben Johnson
7ff684c193
Allow partial translate file reads.
...
This commit fixes an issue where translation `LogEntry` must be
read in its entirety, however, large entries can exceed the buffer
size. This has been changed so that partial entries reads are allowed.
The `LogEntry.ReadFrom()` may still generate large byte slices
during reads of large individual fields or keys.
2019-06-04 10:08:52 -06:00
Seebs
388efd0e73
use os.Rename semantically correctly
...
So it's true that Rename's arguments are called oldname/newname, and
you want to rename from the previous name to the new name.
And it's true that we're calling Rename on oldPath and newPath.
But in our case, oldPath is the name the fragment file had before
the operation, and newPath is the name of the temporary file
created during the operation. Use tmpPath and frag.path to make
the semantics clearer.
2019-06-04 10:00:16 -05:00
seebs
83ec03a245
Merge pull request #1989 from seebs/rowcacheFix
...
Rowcache fixes
2019-06-04 09:28:48 -05:00
Seebs
77cd21e89f
don't check errors we don't care about in a test
2019-06-04 09:16:01 -05:00
Seebs
372c369e7c
Optimize needs to use the new container logic
...
When calling `.optimize`, need to grab the new container which
may be different from the original container.
2019-06-04 08:56:56 -05:00
Yuce Tekol
b64a3e0c68
adds filter support to MinRow and MaxRow
2019-06-03 16:29:04 +03:00
Yuce Tekol
3e738e9760
Merge branch 'master' into min-max-rowid
2019-06-03 14:10:51 +03:00
Yuce Tekol
8be7bd6956
add tests for MinRow and MaxRow
2019-06-03 13:56:50 +03:00
Seebs
973579e662
on freeze, unmap mapped containers
...
It turns out that calling syscall.Munmap() is a thing which
can change any container holding a pointer into the mapped space,
but which wouldn't detect frozen containers. So we need to
copy storage for such things. This negates some of the memory
wins of the rowcache code, but makes it not crashy.
2019-05-31 16:17:06 -05:00
Seebs
636f132564
add a test case which breaks the rowcache code
...
It turns out that frozen containers which have mmapped data are
only safe *until the data gets unmapped*. Which it does on a snapshot.
2019-05-31 16:16:51 -05:00
Matthew Jaffee
f09c3ebf7c
Merge pull request #1986 from jaffee/1985-flags-unmarshal
...
fixed swapped order of flags and file version bytes on unmarshal
2019-05-31 10:20:40 -05:00
Yuce Tekol
1379cbbcd6
remove unused code
2019-05-31 17:35:50 +03:00
Yuce Tekol
592a191aee
translate key into Pair only for MinRow, MaxRow
2019-05-31 17:21:44 +03:00
Matt Jaffee
1515ddaf14
fixed swapped order of flags and file version bytes on unmarshal
...
also fix tests to use correct flags for bsi fields
2019-05-31 09:18:05 -05:00
Yuce Tekol
08f4ccb29b
Fixed conflicts; Merged with master
2019-05-31 17:16:54 +03:00
Yuce Tekol
dd728f28ed
remove unused code
2019-05-31 17:13:25 +03:00