Jimmy Zelinskie
ea0dba3a3d
cmd/chihaya: refactor root run command
...
This change refactors a bunch of the state of execution into its own
object. It also attempts to simplify stopping and adjusts some other
packages to integrate with the stopper interface.
Fixes #309 .
2017-05-01 15:56:38 -04:00
Jimmy Zelinskie
20d1cbf537
pkg/prometheus: init
2017-05-01 15:56:16 -04:00
Jimmy Zelinskie
842bec32e7
cmd/chihaya: move enabling debug
...
PersistentPreRun is the more idiomatic place for this code to run when
using spf13/cobra.
2017-04-29 22:51:54 -04:00
Jimmy Zelinskie
00ab4acc98
Merge pull request #308 from TheOriginalWinCat/upstream
...
Make numwant in http request optional
2017-04-21 15:15:10 -04:00
tom
cdb0ff3612
http: make numWant optional
...
The default numwant value should be used if either numwant is zero or omitted from the announce request.
2017-04-21 13:17:58 +01:00
mrd0ll4r
9f45950dd0
Merge pull request #307 from mrd0ll4r/fixHttpShutdown
...
http: fix HTTP shutdown panicking
2017-04-05 09:08:09 +02:00
Leo Balduf
2e625af44d
http: fix HTTP shutdown panicking
2017-04-04 22:34:53 +02:00
mrd0ll4r
ea1324602e
Merge pull request #299 from mrd0ll4r/bump1.8
...
http: use go1.8 graceful shutdown
2017-02-18 21:04:33 +01:00
mrd0ll4r
1ef65d3704
Merge pull request #300 from mrd0ll4r/udpReadDeadline
...
udp: remove read deadline
2017-02-18 21:04:18 +01:00
Leo Balduf
233c355526
udp: remove read deadline
2017-02-18 13:17:45 +01:00
Leo Balduf
300b9c12ab
http: use go1.8 graceful shutdown
2017-02-18 13:08:12 +01:00
Jimmy Zelinskie
bb93e478b8
Merge pull request #295 from jzelinskie/prom-errs
...
frontend/*: only record ClientErrors to Prometheus
2017-02-17 11:54:41 -05:00
Jimmy Zelinskie
f0eca4c3f7
Merge pull request #297 from jzelinskie/rmdoc
...
docs: remove deniability middleware
2017-02-16 15:13:17 -05:00
Jimmy Zelinskie
13882ae05d
docs: remove deniability middleware
2017-02-16 01:04:17 -05:00
Jimmy Zelinskie
215f33d862
frontend/*: only record ClientErrors to Prometheus
...
All ClientErrors are constant and should not cause Prometheus streams to
be generated for all possible failure scenarios in the program.
Fixes #294 .
2017-02-16 01:01:38 -05:00
Jimmy Zelinskie
b028a36424
Merge pull request #296 from jzelinskie/require-all
...
Replace last usage of assert with require
2017-02-15 14:05:50 -05:00
Jimmy Zelinskie
03080b39b4
glide: bump + track minor versions
2017-02-15 00:59:03 -05:00
Jimmy Zelinskie
517fb4044e
tests: replace last usage of assert with require
...
Fixes #239 .
2017-02-15 00:58:52 -05:00
mrd0ll4r
82d79e5113
Merge pull request #292 from mrd0ll4r/frontend-fix
...
frontend: fix recording of address family
2017-02-05 23:14:01 +01:00
mrd0ll4r
9db2d3dabb
Merge pull request #290 from mrd0ll4r/parse-clienterror
...
bittorrent: make ParseURLData return ClientErrors
2017-02-05 23:13:49 +01:00
Leo Balduf
fdf4ed8169
frontend: fix recording of address family
2017-02-05 17:24:53 +01:00
Leo Balduf
98299c5912
bittorrent: make ParseURLData return ClientErrors
2017-02-05 13:22:14 +01:00
Jimmy Zelinskie
74dde3f362
Merge pull request #284 from jzelinskie/promaf
...
prometheus: record IP AddressFamily
2017-02-03 11:45:56 -05:00
Jimmy Zelinskie
51926ad562
Merge pull request #288 from jzelinskie/stopmv
...
mv pkg/stopper pkg/stop
2017-02-03 11:45:40 -05:00
Jimmy Zelinskie
a4b08c021b
mv pkg/stopper pkg/stop
...
This makes most of the callsites stutter slightly less.
2017-02-02 21:09:25 -05:00
Jimmy Zelinskie
0e07b33827
prometheus: record IP AddressFamily
2017-02-02 19:19:33 -05:00
Jimmy Zelinskie
4d54980930
Merge pull request #287 from jzelinskie/scrapelimit
...
middleware: sanitize max scrape infohashes
2017-02-02 03:42:27 -05:00
Jimmy Zelinskie
3f29aa358b
middleware: sanitize max scrape infohashes
...
Fixes #268 .
2017-02-02 02:32:35 -05:00
Jimmy Zelinskie
fb30e9fb03
Merge pull request #286 from jzelinskie/https
...
frontend/http: add TLS support
2017-02-02 02:20:45 -05:00
Jimmy Zelinskie
6884a8f527
frontend/http: add TLS support
...
Fixes #283 .
2017-02-02 02:01:51 -05:00
Jimmy Zelinskie
738e496929
Merge pull request #285 from chihaya/helm-head
...
contrib/helm: default to using HEAD container
2017-02-01 10:37:13 -05:00
Jimmy Zelinskie
8bc2b09724
contrib/helm: default to using HEAD container
...
This fixes a bug where the config being used is for HEAD, but previously the container image being used was for a tagged release with a different config schema.
2017-01-31 21:40:36 -05:00
Jimmy Zelinskie
4aad0e992b
Merge pull request #282 from mrd0ll4r/udp-scrapes
...
udp: fix ordering of scrapes
2017-01-31 20:17:01 -05:00
Jimmy Zelinskie
9cc31763d0
Merge pull request #259 from jzelinskie/helm
...
initial helm package
2017-01-31 20:14:37 -05:00
Jimmy Zelinskie
7aebb44852
contrib/helm: update config schema
2017-01-31 19:59:48 -05:00
Jimmy Zelinskie
f40cd33b12
*: bump default shards to 1024
2017-01-31 19:59:24 -05:00
Jimmy Zelinskie
6deebdd6d4
frontend/udp: generate private key when empty
2017-01-31 19:53:36 -05:00
Jimmy Zelinskie
a48b9a50c3
initial helm package
2017-01-31 19:53:36 -05:00
Jimmy Zelinskie
baef1c17c3
Merge pull request #281 from jzelinskie/installfix
...
README: update development section
2017-01-31 19:50:29 -05:00
Jimmy Zelinskie
831b908402
*: comment middleware for OOB working config
2017-01-31 19:37:26 -05:00
Jimmy Zelinskie
a5dab8ac0a
README: update development section
...
Fixes #269 .
2017-01-31 19:34:45 -05:00
Leo Balduf
102b032c43
udp: fix ordering of scrapes
2017-01-30 13:07:14 +01:00
Jimmy Zelinskie
8cf49aad2e
Merge pull request #276 from jzelinskie/configdocs
...
example_config: add initial documentation
2017-01-27 19:35:30 -05:00
mrd0ll4r
0c37672d47
Merge pull request #279 from mrd0ll4r/connidoptimize
...
udp: make connection ID handling faster
2017-01-27 23:57:40 +01:00
Leo Balduf
3e1cd77405
udp: make connection ID handling faster
2017-01-26 10:11:02 +01:00
mrd0ll4r
bfe970b12f
Merge pull request #278 from mrd0ll4r/memorystats
...
storage: add prometheus to memory implementation
2017-01-25 20:06:43 +01:00
Leo Balduf
18d7e5d51b
storage: add prometheus to memory implementation
2017-01-25 18:59:10 +01:00
Jimmy Zelinskie
8b1ab73894
Merge pull request #275 from jzelinskie/rmaction
...
frontend/udp: rm copypasta metric recording
2017-01-23 14:30:42 -05:00
Jimmy Zelinskie
acc051bcc4
frontend: rm copypasta metric recording
...
Fixes #271 .
2017-01-23 14:06:32 -05:00
Jimmy Zelinskie
c2e34f7c36
example_config: quote all strings and fix docs
2017-01-23 14:03:32 -05:00