Anton Evangelatov and Rafael Matias
4f908db69e
cmd/utils: allow for multiple influxdb tags ( #18520 )
...
This PR is replacing the metrics.influxdb.host.tag cmd-line flag with metrics.influxdb.tags - a comma-separated key/value tags, that are passed to the InfluxDB reporter, so that we can index measurements with multiple tags, and not just one host tag.
This will be useful for Swarm, where we want to index measurements not just with the host tag, but also with bzzkey and git commit version (for long-running deployments).
(cherry picked from commit 21acf0bc8d )
2019-02-19 17:34:48 +01:00
Anton Evangelatov and Rafael Matias
a3db00f270
swarm/network: refactor simulation tests bootstrap ( #18975 )
...
(cherry picked from commit 597597e8b2 )
2019-02-19 13:11:50 +01:00
Anton Evangelatov and Rafael Matias
637a75d61a
cmd/swarm/swarm-smoke: refactor generateEndpoints ( #19006 )
...
(cherry picked from commit d212535ddd )
2019-02-19 13:05:55 +01:00
Anton Evangelatov and Rafael Matias
355d55bd34
cmd/swarm/swarm-smoke: remove wrong metrics ( #18970 )
...
(cherry picked from commit c5c9cef5c0 )
2019-02-19 13:05:37 +01:00
Anton Evangelatov and Rafael Matias
4976fcc91a
swarm: bootnode-mode, new bootnodes and no p2p package discovery ( #18498 )
...
(cherry picked from commit bbd120354a )
2019-02-19 12:56:30 +01:00
Anton Evangelatov and Rafael Matias
878aa58ec6
cmd/swarm: use resetting timer to measure fetch time ( #18474 )
...
(cherry picked from commit a0b0db6305 )
2019-02-19 12:56:30 +01:00
Anton Evangelatov and GitHub
81f04fa606
github: remove swarm github codeowners ( #18412 )
2019-01-08 22:50:15 +01:00
Anton Evangelatov and GitHub
49975264a8
swarm/docker: Dockerfile for swarm:edge docker image ( #18386 )
2019-01-03 15:32:58 +01:00
Anton Evangelatov and GitHub
9e9fc87e70
swarm: remove unused/dead code ( #18351 )
2018-12-23 17:31:32 +01:00
Anton Evangelatov and GitHub
d322c9d550
swarm/storage/feed: remove unused code ( #18324 )
2018-12-17 11:32:55 +01:00
Anton Evangelatov and Viktor Trón
ebbf3dfafb
swarm/shed: add metrics to each shed db ( #18277 )
...
* swarm/shed: add metrics to each shed db
* swarm/shed: push metrics prefix up
* swarm/shed: rename prefix to metricsPrefix
* swarm/shed: unexport Meter, remove Mutex for quit channel
2018-12-12 07:51:29 +01:00
Anton Evangelatov and Péter Szilágyi
7e7781ffaa
cmd/swarm: add flag for application name (swarm or swarm-private) ( #18189 )
...
* cmd/swarm: add flag for application name (swarm or swarm-private)
* cmd/swarm/swarm-smoke: return correct exit code
* cmd/swarm/swarm-smoke: remove colorable
* remove swarm/grafana_dashboards
2018-11-29 18:43:15 +02:00
Anton Evangelatov and Péter Szilágyi
6b2cc8950e
travis: increase open file limits ( #18155 )
2018-11-22 16:32:50 +02:00
Anton Evangelatov and GitHub
4c181e4fb9
swarm/state: refactor InmemoryStore ( #18143 )
2018-11-21 14:36:56 +01:00
Anton Evangelatov and Guillaume Ballet
3d997b6dec
whisper: log errors on failed tests ( #18134 )
...
Debug traces to investigate a travis issue on MacOS
2018-11-20 10:08:02 +01:00
Anton Evangelatov and GitHub
d31f1f4fdb
cmd/swarm/swarm-smoke: update smoke tests to fit the new scheme for the k8s cluster ( #18104 )
2018-11-19 14:58:10 +01:00
Anton Evangelatov and GitHub
6b6c4d1c27
cmd/swarm: speed up tests - use global cluster ( #18129 )
2018-11-19 14:57:22 +01:00
Anton Evangelatov and GitHub
3333fe660f
swarm/storage: speed up garbage collection and rpc tests ( #18128 )
2018-11-19 12:26:45 +01:00
Anton Evangelatov and Viktor Trón
cf3b187bde
swarm, cmd/swarm: address ineffectual assignments ( #18048 )
...
* swarm, cmd/swarm: address ineffectual assignments
* swarm/network: remove unused vars from testHandshake
* swarm/storage/feed: revert cursor changes
2018-11-07 20:39:08 +01:00
Anton Evangelatov and GitHub
53eb4e0b0f
swarm/api: unexport Respond methods ( #18037 )
2018-11-06 12:34:34 +01:00
Anton Evangelatov and GitHub
4e693ad5a6
swarm/tracing: disable stdout logging for opentracing ( #17931 )
2018-10-17 14:46:59 +02:00
Anton Evangelatov and GitHub
0fe9a372b3
swarm, swarm/storage: lower constants for faster tests ( #17876 )
...
* swarm/storage: lower constants for faster tests
* swarm: reduce test size for TestLocalStoreAndRetrieve
* swarm: reduce nodes for dec_inc_node_count
2018-10-09 11:45:42 +02:00
Anton Evangelatov and Péter Szilágyi
8c63d0d2e4
swarm/storage: extract isValid. correctly remove invalid chunks from store on migration ( #17835 )
2018-10-04 18:13:48 +03:00
Anton Evangelatov and Viktor Trón
82a1c771ef
cmd/swarm: disable tests under Windows until they are fixed ( #17827 )
2018-10-04 09:18:03 +02:00
Anton Evangelatov and GitHub
303b99663e
swarm: schemas and migrations ( #17813 )
2018-10-03 14:31:59 +02:00
Anton Evangelatov and Felix Lange
26a37c5351
travis.yml: remove Go 1.9 ( #17807 )
2018-10-02 11:26:32 +02:00
Anton Evangelatov
634e963f02
cmd/swarm: disable export and upload tests on Windows
2018-10-01 13:41:47 +02:00
Anton Evangelatov
9a749dcde5
cmd/swarm: correct swarm version on --help
2018-10-01 13:28:07 +02:00
Anton Evangelatov
0ee44e796a
swarm/storage: make linter happy
2018-09-28 17:11:13 +02:00
Anton Evangelatov
d5837e84ff
cmd/swarm: trim new lines from files
2018-09-28 14:38:05 +02:00
Anton Evangelatov and Balint Gabor
ff3a5d24d2
swarm/storage: remove redundant increments for dataIdx and entryCnt ( #17484 )
...
* swarm/storage: remove redundant increments for dataIdx and entryCnt
* swarm/storage: add Delete to LDBStore
* swarm/storage: wait for garbage collection
2018-09-12 14:39:45 +02:00
Anton Evangelatov and Felix Lange
cc2b39bbd1
consensus/ethash: increase timeout in test ( #17526 )
...
This is an attempt to fix the flaky consensus/ethash tests under macOS.
2018-09-03 16:59:23 +02:00
Anton Evangelatov and Péter Szilágyi
9574968116
cmd/swarm: disable ACT tests on windows ( #17536 )
2018-08-29 13:52:21 +03:00
Anton Evangelatov and Péter Szilágyi
f236ac710e
vendor: github.com/rjeczalik/notify update to master ( #17527 )
2018-08-28 10:03:33 +03:00
Anton Evangelatov and Péter Szilágyi
c582667c9b
swarm/network: bump bzz protocol version ( #17449 )
2018-08-21 11:34:40 +03:00
Anton Evangelatov and Péter Szilágyi
dcd97c41fa
swarm, swarm/network, swarm/pss: log error and fix logs ( #17410 )
...
* swarm, swarm/network, swarm/pss: log error and fix logs
* swarm/pss: log compressed publickey
2018-08-21 11:34:10 +03:00
Anton Evangelatov and Péter Szilágyi
55d050ccd8
travis: remove brew update and osxfuse install ( #17429 )
2018-08-20 15:11:08 +03:00
Anton Evangelatov and Péter Szilágyi
a8aa89accb
swarm/storage: cleanup task - remove bigger chunks ( #17424 )
2018-08-20 15:10:30 +03:00
Anton Evangelatov and Péter Szilágyi
f44046a1c6
build: do not require ethereum-swarm deb when installing ethereum ( #17425 )
2018-08-17 11:33:39 +03:00
Anton Evangelatov and Balint Gabor
97887d98da
swarm/network, swarm/storage: validate chunk size ( #17397 )
...
* swarm/network, swarm/storage: validate default chunk size
* swarm/bmt, swarm/network, swarm/storage: update BMT hash initialisation
* swarm/bmt: move segmentCount to tests
* swarm/chunk: change chunk.DefaultSize to be untyped const
* swarm/storage: add size validator
* swarm/storage: add chunk size validation to localstore
* swarm/storage: move validation from localstore to validator
* swarm/storage: global chunk rules in MRU
2018-08-14 16:03:56 +02:00
Anton Evangelatov and Péter Szilágyi
7b5c375825
cmd/swarm: remove shadow err ( #17360 )
2018-08-09 12:37:00 +03:00
Anton Evangelatov and Balint Gabor
de9b0660ac
swarm/README: add more sections to easily onboard developers ( #17333 )
2018-08-07 12:56:01 +02:00
Anton Evangelatov and Péter Szilágyi
46d4721519
build: explicitly name all packages to be cross-compiled ( #17288 )
2018-07-31 16:34:54 +03:00
Anton Evangelatov and Péter Szilágyi
273c7a9dc4
swarm/api: remove ioutil.ReadAll for HandleGetFiles ( #17276 )
2018-07-30 12:19:26 +03:00
Anton Evangelatov and Péter Szilágyi
a5d5609e38
build: rename swarm deb package to ethereum-swarm; change swarm deb version from 1.8.x to 0.3.x ( #16988 )
...
* build: add support for different package and binary names
* build: bump up copyright date
* build: change default PackageName to empty string
* build, internal, swarm: enhance build/release process
* build: hack ethereum-swarm as a "depends" in deb package
* build/ci: remove redundant variables
* build, cmd, mobile, params, swarm: remove VERSION file; rename Version to VersionMeta;
* internal: remove VERSION() method which reads VERSION file
* build: fix VersionFilePath to Version
* Makefile: remove clean_go_build_cache.sh until it works
* Makefile: revert removal of clean_go_build_cache.sh
2018-07-30 11:56:40 +03:00
Anton Evangelatov
58243b4d3e
README: point Swarm brief to the Swarm README, instead of directly to docs
2018-07-24 16:55:07 +02:00
Anton Evangelatov
14bdcdeab4
swarm/testutil: remove EnableMetrics
2018-07-23 18:45:39 +02:00
Anton Evangelatov
4ea2d707f9
gitter: change ethereum/swarm to ethersphere/orange-lounge
2018-07-21 00:47:46 +02:00
Anton Evangelatov
ee8877509a
swarm/readme: add link to code review guidelines
2018-07-19 13:27:31 +02:00
Anton Evangelatov
763e64cad8
swarm: readme.md
2018-07-19 12:13:03 +02:00
Anton Evangelatov and Balint Gabor
2e0391ea84
cmd/swarm: change version of swarm binary ( #17174 )
2018-07-13 22:53:02 +02:00
Anton Evangelatov and Balint Gabor
d483da766f
swarm/network: bump up protocol versions due to wrapped message intro ( #17170 )
2018-07-13 17:40:55 +02:00
Anton Evangelatov and Balint Gabor
7c9314f231
swarm: integrate OpenTracing; propagate ctx to internal APIs ( #17169 )
...
* swarm: propagate ctx, enable opentracing
* swarm/tracing: log error when tracing is misconfigured
2018-07-13 17:40:28 +02:00
Anton Evangelatov and Balint Gabor
f7d3678c28
swarm/api/http: http package refactoring 1/5 and 2/5 ( #17164 )
2018-07-12 15:42:45 +02:00
Anton Evangelatov and Balint Gabor
b3711af051
swarm: ctx propagation; bmt fixes; pss generic notification framework ( #17150 )
...
* cmd/swarm: minor cli flag text adjustments
* swarm/api/http: sticky footer for swarm landing page using flex
* swarm/api/http: sticky footer for error pages and fix for multiple choices
* cmd/swarm, swarm/storage, swarm: fix mingw on windows test issues
* cmd/swarm: update description of swarm cmd
* swarm: added network ID test
* cmd/swarm: support for smoke tests on the production swarm cluster
* cmd/swarm/swarm-smoke: simplify cluster logic as per suggestion
* swarm: propagate ctx to internal apis (#754 )
* swarm/metrics: collect disk measurements
* swarm/bmt: fix io.Writer interface
* Write now tolerates arbitrary variable buffers
* added variable buffer tests
* Write loop and finalise optimisation
* refactor / rename
* add tests for empty input
* swarm/pss: (UPDATE) Generic notifications package (#744 )
swarm/pss: Generic package for creating pss notification svcs
* swarm: Adding context to more functions
* swarm/api: change colour of landing page in templates
* swarm/api: change landing page to react to enter keypress
2018-07-09 14:11:49 +02:00
Anton Evangelatov and Péter Szilágyi
1990c9e621
cmd/geth: export metrics to InfluxDB ( #16979 )
...
* cmd/geth: add flags for metrics export
* cmd/geth: update usage fields for metrics flags
* metrics/influxdb: update reporter logger to adhere to geth logging convention
2018-07-02 15:51:02 +03:00
Anton Evangelatov and Péter Szilágyi
7f0726f706
metrics: return an empty snapshot for NilResettingTimer ( #16930 )
2018-06-11 10:31:55 +03:00
Anton Evangelatov and Péter Szilágyi
be2aec092d
metrics: expvar support for ResettingTimer ( #16878 )
...
* metrics: expvar support for ResettingTimer
* metrics: use integers for percentiles; remove Overall
* metrics: fix edge-case panic for index-out-of-range
2018-06-04 13:05:16 +03:00
Anton Evangelatov and Péter Szilágyi
6a2d2869f6
github: more information bot configuration ( #16298 )
2018-03-12 10:56:59 +02:00
Anton Evangelatov and Balint Gabor
746392cfd2
swarm/storage: disable treechunker test while it is flaky ( #16254 )
2018-03-05 17:23:33 +01:00
Anton Evangelatov and Péter Szilágyi
c636ac4045
github: config for probot-stale bot ( #16235 )
...
* github: config for probot-stale bot
* github: use stale label, instead of wontfix
2018-03-05 15:23:26 +02:00
Anton Evangelatov and Péter Szilágyi
3ca3fffdf0
metrics: fix flaky Example metrics test ( #16222 )
...
* metrics: add sleep to test in order to get predictable output
* metrics: relax constraints on timer test
2018-03-01 19:55:31 +02:00
Anton Evangelatov and Péter Szilágyi
18bb3da55e
node: fill StandardCounters as part of debugapi/metrics ( #16054 )
2018-02-27 15:30:07 +02:00
Anton Evangelatov and Péter Szilágyi
764878d988
contracts/chequebook: increase interval between auto deposits ( #16178 )
2018-02-26 11:36:26 +02:00
Anton Evangelatov and Balint Gabor
114738982e
swarm/metrics: introduce metrics export flag ( #16177 )
2018-02-23 16:22:16 +01:00
Anton Evangelatov and Balint Gabor
dcca613a0b
swarm: initial instrumentation ( #15969 )
...
* swarm: initial instrumentation with go-metrics
* swarm: initialise metrics collection and add ResettingTimer to HTTP requests
* swarm: update metrics flags names. remove redundant Timer.
* swarm: rename method for periodically updating gauges
* swarm: finalise metrics after feedback
* swarm/network: always init kad metrics containers
* swarm/network: off-by-one index in metrics containers
* swarm, metrics: resolved conflicts
2018-02-23 14:19:59 +01:00
Anton Evangelatov and Péter Szilágyi
ae9f97221a
metrics: pull library and introduce ResettingTimer and InfluxDB reporter ( #15910 )
...
* go-metrics: fork library and introduce ResettingTimer and InfluxDB reporter.
* vendor: change nonsense/go-metrics to ethersphere/go-metrics
* go-metrics: add tests. move ResettingTimer logic from reporter to type.
* all, metrics: pull in metrics package in go-ethereum
* metrics/test: make sure metrics are enabled for tests
* metrics: apply gosimple rules
* metrics/exp, internal/debug: init expvar endpoint when starting pprof server
* internal/debug: tiny comment formatting fix
2018-02-23 11:56:08 +02:00
Anton Evangelatov and Felix Lange
1e457b6599
p2p: don't send DiscReason when using net.Pipe ( #16004 )
2018-02-22 11:41:06 +01:00
Anton Evangelatov
0a7cbd915a
vendor: update rjeczalik/notify so that it compiles on go1.10
2018-02-17 14:35:59 +01:00
Anton Evangelatov and Felix Lange
36a10875c8
p2p/enr: initial implementation ( #15585 )
...
Initial implementation of ENR according to ethereum/EIPs#778
2017-12-29 21:18:51 +01:00
Anton Evangelatov
b64525694b
accounts/keystore: comments above time.Sleep
2017-11-16 15:01:02 +01:00
Anton Evangelatov
448abb61eb
accounts/keystore: change modtime for test cases to be bigger than 1sec.
2017-11-16 14:17:28 +01:00