Update monitor and benchpull/1943/head
@ -0,0 +1 @@ | |||
vendor |
@ -0,0 +1,296 @@ | |||
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. | |||
[[projects]] | |||
branch = "master" | |||
name = "github.com/btcsuite/btcd" | |||
packages = ["btcec"] | |||
revision = "2be2f12b358dc57d70b8f501b00be450192efbc3" | |||
[[projects]] | |||
name = "github.com/davecgh/go-spew" | |||
packages = ["spew"] | |||
revision = "346938d642f2ec3594ed81d874461961cd0faa76" | |||
version = "v1.1.0" | |||
[[projects]] | |||
branch = "master" | |||
name = "github.com/ebuchman/fail-test" | |||
packages = ["."] | |||
revision = "95f809107225be108efcf10a3509e4ea6ceef3c4" | |||
[[projects]] | |||
name = "github.com/go-kit/kit" | |||
packages = [ | |||
"log", | |||
"log/level", | |||
"log/term" | |||
] | |||
revision = "4dc7be5d2d12881735283bcab7352178e190fc71" | |||
version = "v0.6.0" | |||
[[projects]] | |||
name = "github.com/go-logfmt/logfmt" | |||
packages = ["."] | |||
revision = "390ab7935ee28ec6b286364bba9b4dd6410cb3d5" | |||
version = "v0.3.0" | |||
[[projects]] | |||
name = "github.com/go-stack/stack" | |||
packages = ["."] | |||
revision = "259ab82a6cad3992b4e21ff5cac294ccb06474bc" | |||
version = "v1.7.0" | |||
[[projects]] | |||
name = "github.com/gogo/protobuf" | |||
packages = [ | |||
"gogoproto", | |||
"jsonpb", | |||
"proto", | |||
"protoc-gen-gogo/descriptor", | |||
"sortkeys", | |||
"types" | |||
] | |||
revision = "1adfc126b41513cc696b209667c8656ea7aac67c" | |||
version = "v1.0.0" | |||
[[projects]] | |||
name = "github.com/golang/protobuf" | |||
packages = [ | |||
"proto", | |||
"ptypes", | |||
"ptypes/any", | |||
"ptypes/duration", | |||
"ptypes/timestamp" | |||
] | |||
revision = "925541529c1fa6821df4e44ce2723319eb2be768" | |||
version = "v1.0.0" | |||
[[projects]] | |||
branch = "master" | |||
name = "github.com/golang/snappy" | |||
packages = ["."] | |||
revision = "553a641470496b2327abcac10b36396bd98e45c9" | |||
[[projects]] | |||
name = "github.com/gorilla/websocket" | |||
packages = ["."] | |||
revision = "ea4d1f681babbce9545c9c5f3d5194a789c89f5b" | |||
version = "v1.2.0" | |||
[[projects]] | |||
branch = "master" | |||
name = "github.com/jmhodges/levigo" | |||
packages = ["."] | |||
revision = "c42d9e0ca023e2198120196f842701bb4c55d7b9" | |||
[[projects]] | |||
branch = "master" | |||
name = "github.com/kr/logfmt" | |||
packages = ["."] | |||
revision = "b84e30acd515aadc4b783ad4ff83aff3299bdfe0" | |||
[[projects]] | |||
name = "github.com/pkg/errors" | |||
packages = ["."] | |||
revision = "645ef00459ed84a119197bfb8d8205042c6df63d" | |||
version = "v0.8.0" | |||
[[projects]] | |||
name = "github.com/pmezard/go-difflib" | |||
packages = ["difflib"] | |||
revision = "792786c7400a136282c1664665ae0a8db921c6c2" | |||
version = "v1.0.0" | |||
[[projects]] | |||
branch = "master" | |||
name = "github.com/rcrowley/go-metrics" | |||
packages = ["."] | |||
revision = "8732c616f52954686704c8645fe1a9d59e9df7c1" | |||
[[projects]] | |||
name = "github.com/stretchr/testify" | |||
packages = [ | |||
"assert", | |||
"require" | |||
] | |||
revision = "12b6f73e6084dad08a7c6e575284b177ecafbc71" | |||
version = "v1.2.1" | |||
[[projects]] | |||
branch = "master" | |||
name = "github.com/syndtr/goleveldb" | |||
packages = [ | |||
"leveldb", | |||
"leveldb/cache", | |||
"leveldb/comparer", | |||
"leveldb/errors", | |||
"leveldb/filter", | |||
"leveldb/iterator", | |||
"leveldb/journal", | |||
"leveldb/memdb", | |||
"leveldb/opt", | |||
"leveldb/storage", | |||
"leveldb/table", | |||
"leveldb/util" | |||
] | |||
revision = "714f901b98fdb3aa954b4193d8cbd64a28d80cad" | |||
[[projects]] | |||
name = "github.com/tendermint/abci" | |||
packages = [ | |||
"client", | |||
"example/code", | |||
"example/kvstore", | |||
"types" | |||
] | |||
revision = "46686763ba8ea595ede16530ed4a40fb38f49f94" | |||
version = "v0.10.2" | |||
[[projects]] | |||
branch = "master" | |||
name = "github.com/tendermint/ed25519" | |||
packages = [ | |||
".", | |||
"edwards25519", | |||
"extra25519" | |||
] | |||
revision = "d8387025d2b9d158cf4efb07e7ebf814bcce2057" | |||
[[projects]] | |||
name = "github.com/tendermint/go-crypto" | |||
packages = ["."] | |||
revision = "c3e19f3ea26f5c3357e0bcbb799b0761ef923755" | |||
version = "v0.5.0" | |||
[[projects]] | |||
name = "github.com/tendermint/go-wire" | |||
packages = [ | |||
".", | |||
"data" | |||
] | |||
revision = "fa721242b042ecd4c6ed1a934ee740db4f74e45c" | |||
source = "github.com/tendermint/go-amino" | |||
version = "v0.7.3" | |||
[[projects]] | |||
name = "github.com/tendermint/tendermint" | |||
packages = [ | |||
"config", | |||
"consensus/types", | |||
"p2p", | |||
"p2p/conn", | |||
"p2p/upnp", | |||
"proxy", | |||
"rpc/core/types", | |||
"rpc/lib/client", | |||
"rpc/lib/server", | |||
"rpc/lib/types", | |||
"state", | |||
"types", | |||
"wire" | |||
] | |||
revision = "6f9956990c444d53f62f2a3905ed410cfe9afe77" | |||
version = "v0.17.1" | |||
[[projects]] | |||
name = "github.com/tendermint/tmlibs" | |||
packages = [ | |||
"common", | |||
"db", | |||
"events", | |||
"flowrate", | |||
"log", | |||
"merkle", | |||
"pubsub", | |||
"pubsub/query" | |||
] | |||
revision = "24da7009c3d8c019b40ba4287495749e3160caca" | |||
version = "v0.7.1" | |||
[[projects]] | |||
branch = "master" | |||
name = "golang.org/x/crypto" | |||
packages = [ | |||
"curve25519", | |||
"nacl/box", | |||
"nacl/secretbox", | |||
"openpgp/armor", | |||
"openpgp/errors", | |||
"poly1305", | |||
"ripemd160", | |||
"salsa20/salsa" | |||
] | |||
revision = "12892e8c234f4fe6f6803f052061de9057903bb2" | |||
[[projects]] | |||
branch = "master" | |||
name = "golang.org/x/net" | |||
packages = [ | |||
"context", | |||
"http2", | |||
"http2/hpack", | |||
"idna", | |||
"internal/timeseries", | |||
"lex/httplex", | |||
"trace" | |||
] | |||
revision = "b68f30494add4df6bd8ef5e82803f308e7f7c59c" | |||
[[projects]] | |||
name = "golang.org/x/text" | |||
packages = [ | |||
"collate", | |||
"collate/build", | |||
"internal/colltab", | |||
"internal/gen", | |||
"internal/tag", | |||
"internal/triegen", | |||
"internal/ucd", | |||
"language", | |||
"secure/bidirule", | |||
"transform", | |||
"unicode/bidi", | |||
"unicode/cldr", | |||
"unicode/norm", | |||
"unicode/rangetable" | |||
] | |||
revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0" | |||
version = "v0.3.0" | |||
[[projects]] | |||
branch = "master" | |||
name = "google.golang.org/genproto" | |||
packages = ["googleapis/rpc/status"] | |||
revision = "ab0870e398d5dd054b868c0db1481ab029b9a9f2" | |||
[[projects]] | |||
name = "google.golang.org/grpc" | |||
packages = [ | |||
".", | |||
"balancer", | |||
"codes", | |||
"connectivity", | |||
"credentials", | |||
"grpclb/grpc_lb_v1/messages", | |||
"grpclog", | |||
"internal", | |||
"keepalive", | |||
"metadata", | |||
"naming", | |||
"peer", | |||
"resolver", | |||
"stats", | |||
"status", | |||
"tap", | |||
"transport" | |||
] | |||
revision = "5b3c4e850e90a4cf6a20ebd46c8b32a0a3afcb9e" | |||
version = "v1.7.5" | |||
[solve-meta] | |||
analyzer-name = "dep" | |||
analyzer-version = 1 | |||
inputs-digest = "55767d07c0e1fddf98d5fa04eb583bb6e32d48cd5582f8c141ed79602a5bc75a" | |||
solver-name = "gps-cdcl" | |||
solver-version = 1 |
@ -0,0 +1,54 @@ | |||
# Gopkg.toml example | |||
# | |||
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html | |||
# for detailed Gopkg.toml documentation. | |||
# | |||
# required = ["github.com/user/thing/cmd/thing"] | |||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] | |||
# | |||
# [[constraint]] | |||
# name = "github.com/user/project" | |||
# version = "1.0.0" | |||
# | |||
# [[constraint]] | |||
# name = "github.com/user/project2" | |||
# branch = "dev" | |||
# source = "github.com/myfork/project2" | |||
# | |||
# [[override]] | |||
# name = "github.com/x/y" | |||
# version = "2.4.0" | |||
# | |||
# [prune] | |||
# non-go = false | |||
# go-tests = true | |||
# unused-packages = true | |||
[[constraint]] | |||
name = "github.com/pkg/errors" | |||
version = "0.8.0" | |||
[[constraint]] | |||
branch = "master" | |||
name = "github.com/rcrowley/go-metrics" | |||
[[constraint]] | |||
name = "github.com/stretchr/testify" | |||
version = "1.2.1" | |||
[[constraint]] | |||
name = "github.com/tendermint/go-crypto" | |||
version = "0.5.0" | |||
[[constraint]] | |||
name = "github.com/tendermint/tendermint" | |||
version = "0.17.1" | |||
[[constraint]] | |||
name = "github.com/tendermint/tmlibs" | |||
version = "0.7.1" | |||
[prune] | |||
go-tests = true | |||
unused-packages = true |
@ -1 +1,74 @@ | |||
NOTE: Please see the ``tm-bench`` directory for the README about tm-monitor. You can also find the documentation at: http://tendermint.readthedocs.io | |||
Monitoring | |||
========== | |||
tm-monitor | |||
---------- | |||
Tendermint blockchain monitoring tool; watches over one or more nodes, collecting and providing various statistics to the user: https://github.com/tendermint/tools/tree/master/tm-monitor | |||
Quick Start | |||
^^^^^^^^^^^ | |||
Docker | |||
~~~~~~ | |||
:: | |||
docker run -it --rm -v "/tmp:/tendermint" tendermint/tendermint init | |||
docker run -it --rm -v "/tmp:/tendermint" -p "46657:46657" --name=tm tendermint/tendermint | |||
docker run -it --rm --link=tm tendermint/monitor tm:46657 | |||
Binaries | |||
~~~~~~~~ | |||
This will be the same as you did for ``tm-bench`` above, except for the last line which should be: | |||
:: | |||
tm-monitor localhost:46657 | |||
Usage | |||
^^^^^ | |||
:: | |||
tm-monitor [-v] [-no-ton] [-listen-addr="tcp://0.0.0.0:46670"] [endpoints] | |||
Examples: | |||
# monitor single instance | |||
tm-monitor localhost:46657 | |||
# monitor a few instances by providing comma-separated list of RPC endpoints | |||
tm-monitor host1:46657,host2:46657 | |||
Flags: | |||
-listen-addr string | |||
HTTP and Websocket server listen address (default "tcp://0.0.0.0:46670") | |||
-no-ton | |||
Do not show ton (table of nodes) | |||
-v verbose logging | |||
RPC UI | |||
^^^^^^ | |||
Run ``tm-monitor`` and visit http://localhost:46670 | |||
You should see the list of the available RPC endpoints: | |||
:: | |||
http://localhost:46670/status | |||
http://localhost:46670/status/network | |||
http://localhost:46670/monitor?endpoint=_ | |||
http://localhost:46670/status/node?name=_ | |||
http://localhost:46670/unmonitor?endpoint=_ | |||
The API is available as GET requests with URI encoded parameters, or as JSONRPC | |||
POST requests. The JSONRPC methods are also exposed over websocket. | |||
Development | |||
^^^^^^^^^^^ | |||
:: | |||
make get_vendor_deps | |||
make test |
@ -1,176 +0,0 @@ | |||
hash: defdaf7b594915e7916df4f96d43363c2976ffcb2c35f0dd50b23ec1dd2551fb | |||
updated: 2018-03-27T16:08:55.112172+08:00 | |||
imports: | |||
- name: github.com/btcsuite/btcd | |||
version: 2e60448ffcc6bf78332d1fe590260095f554dd78 | |||
subpackages: | |||
- btcec | |||
- name: github.com/ebuchman/fail-test | |||
version: 95f809107225be108efcf10a3509e4ea6ceef3c4 | |||
- name: github.com/go-kit/kit | |||
version: ca4112baa34cb55091301bdc13b1420a122b1b9e | |||
subpackages: | |||
- log | |||
- log/level | |||
- log/term | |||
- name: github.com/go-logfmt/logfmt | |||
version: 390ab7935ee28ec6b286364bba9b4dd6410cb3d5 | |||
- name: github.com/go-stack/stack | |||
version: 259ab82a6cad3992b4e21ff5cac294ccb06474bc | |||
- name: github.com/gogo/protobuf | |||
version: 1adfc126b41513cc696b209667c8656ea7aac67c | |||
subpackages: | |||
- gogoproto | |||
- jsonpb | |||
- proto | |||
- protoc-gen-gogo/descriptor | |||
- sortkeys | |||
- types | |||
- name: github.com/golang/protobuf | |||
version: 925541529c1fa6821df4e44ce2723319eb2be768 | |||
subpackages: | |||
- proto | |||
- ptypes | |||
- ptypes/any | |||
- ptypes/duration | |||
- ptypes/timestamp | |||
- name: github.com/golang/snappy | |||
version: 553a641470496b2327abcac10b36396bd98e45c9 | |||
- name: github.com/gorilla/websocket | |||
version: ea4d1f681babbce9545c9c5f3d5194a789c89f5b | |||
- name: github.com/jmhodges/levigo | |||
version: c42d9e0ca023e2198120196f842701bb4c55d7b9 | |||
- name: github.com/kr/logfmt | |||
version: b84e30acd515aadc4b783ad4ff83aff3299bdfe0 | |||
- name: github.com/pkg/errors | |||
version: 645ef00459ed84a119197bfb8d8205042c6df63d | |||
- name: github.com/rcrowley/go-metrics | |||
version: e181e095bae94582363434144c61a9653aff6e50 | |||
- name: github.com/syndtr/goleveldb | |||
version: adf24ef3f94bd13ec4163060b21a5678f22b429b | |||
subpackages: | |||
- leveldb | |||
- leveldb/cache | |||
- leveldb/comparer | |||
- leveldb/errors | |||
- leveldb/filter | |||
- leveldb/iterator | |||
- leveldb/journal | |||
- leveldb/memdb | |||
- leveldb/opt | |||
- leveldb/storage | |||
- leveldb/table | |||
- leveldb/util | |||
- name: github.com/tendermint/abci | |||
version: 68592f4d8ee34e97db94b7a7976b1309efdb7eb9 | |||
subpackages: | |||
- client | |||
- example/code | |||
- example/dummy | |||
- types | |||
- name: github.com/tendermint/ed25519 | |||
version: d8387025d2b9d158cf4efb07e7ebf814bcce2057 | |||
subpackages: | |||
- edwards25519 | |||
- extra25519 | |||
- name: github.com/tendermint/go-crypto | |||
version: dd20358a264c772b4a83e477b0cfce4c88a7001d | |||
- name: github.com/tendermint/go-wire | |||
version: b6fc872b42d41158a60307db4da051dd6f179415 | |||
subpackages: | |||
- data | |||
- name: github.com/tendermint/tendermint | |||
version: c8a2bdf78ba7aaaf4284fa78c1b9b05c5e7342bc | |||
subpackages: | |||
- config | |||
- consensus/types | |||
- p2p | |||
- p2p/conn | |||
- p2p/upnp | |||
- proxy | |||
- rpc/core/types | |||
- rpc/lib/client | |||
- rpc/lib/server | |||
- rpc/lib/types | |||
- state | |||
- types | |||
- name: github.com/tendermint/tmlibs | |||
version: 1b9b5652a199ab0be2e781393fb275b66377309d | |||
subpackages: | |||
- common | |||
- db | |||
- events | |||
- flowrate | |||
- log | |||
- merkle | |||
- pubsub | |||
- pubsub/query | |||
- name: golang.org/x/crypto | |||
version: 94eea52f7b742c7cbe0b03b22f0c4c8631ece122 | |||
subpackages: | |||
- curve25519 | |||
- nacl/box | |||
- nacl/secretbox | |||
- openpgp/armor | |||
- openpgp/errors | |||
- poly1305 | |||
- ripemd160 | |||
- salsa20/salsa | |||
- name: golang.org/x/net | |||
version: 5ccada7d0a7ba9aeb5d3aca8d3501b4c2a509fec | |||
subpackages: | |||
- context | |||
- http2 | |||
- http2/hpack | |||
- idna | |||
- internal/timeseries | |||
- lex/httplex | |||
- trace | |||
- name: golang.org/x/text | |||
version: 57961680700a5336d15015c8c50686ca5ba362a4 | |||
subpackages: | |||
- secure/bidirule | |||
- transform | |||
- unicode/bidi | |||
- unicode/norm | |||
- name: google.golang.org/genproto | |||
version: a8101f21cf983e773d0c1133ebc5424792003214 | |||
repo: https://github.com/google/go-genproto | |||
vcs: git | |||
subpackages: | |||
- googleapis/rpc/status | |||
- name: google.golang.org/grpc | |||
version: 401e0e00e4bb830a10496d64cd95e068c5bf50de | |||
repo: https://github.com/grpc/grpc-go | |||
vcs: git | |||
subpackages: | |||
- balancer | |||
- codes | |||
- connectivity | |||
- credentials | |||
- grpclb/grpc_lb_v1/messages | |||
- grpclog | |||
- internal | |||
- keepalive | |||
- metadata | |||
- naming | |||
- peer | |||
- resolver | |||
- stats | |||
- status | |||
- tap | |||
- transport | |||
testImports: | |||
- name: github.com/davecgh/go-spew | |||
version: 04cdfd42973bb9c8589fd6a731800cf222fde1a9 | |||
subpackages: | |||
- spew | |||
- name: github.com/pmezard/go-difflib | |||
version: d8ed2627bdf02c080bf22230dbb337003b7aba2d | |||
subpackages: | |||
- difflib | |||
- name: github.com/stretchr/testify | |||
version: 2aa2c176b9dab406a6970f6a55f513e8a8c8b18f | |||
subpackages: | |||
- assert | |||
- require |
@ -1,25 +0,0 @@ | |||
package: github.com/tendermint/tools/tm-monitor | |||
import: | |||
- package: github.com/gorilla/websocket | |||
- package: github.com/pkg/errors | |||
- package: github.com/rcrowley/go-metrics | |||
- package: github.com/tendermint/go-crypto | |||
- package: github.com/tendermint/tendermint | |||
version: v0.16.0 | |||
- package: github.com/tendermint/tmlibs | |||
version: v0.7.0 | |||
subpackages: | |||
- common | |||
- events | |||
- log | |||
- package: google.golang.org/grpc | |||
repo: https://github.com/grpc/grpc-go | |||
vcs: git | |||
- package: google.golang.org/genproto | |||
repo: https://github.com/google/go-genproto | |||
vcs: git | |||
testImport: | |||
- package: github.com/stretchr/testify | |||
subpackages: | |||
- assert | |||
- require |