prysm-pulse/shared/p2p
Leandro Lugaresi d061c784e0 Added Prometheus Client and p2p Metrics (#673)
* Added prometheus client and p2p metrics

* Avoid run the adapter if the metrics are disabled

* fix visibility issue

* Fix invalid p2p.Message sent to Adapters

The middlewares (adapters) must receive the complete message to avoid
problems and the main Handler must get the values from middlewares

Also, added tests and comments for metrics package

* Added logrus hook collector

This collector is used to collect counters of log messages.
The main purpose of these metric is to know how many warnings and errors
the system are getting.

* Add hook when register the prometheus service

* update bazel builds

* fix emit tests and remove unused imports

* gazelle --fix

* remove unused logger

* move prometheus package to shared directory

* better metric names and fix metric paths

* improve metric tests and start to use promauto

* added prometheus initial documentation

* fix tests

* fix type differences with go get and bazel

* Fix service test
2018-11-15 07:54:45 -05:00
..
adapter Added Prometheus Client and p2p Metrics (#673) 2018-11-15 07:54:45 -05:00
mock Migrate dependencies on @com_github_ethereum_go_ethereum//event (#601) 2018-10-02 21:49:01 -04:00
BUILD.bazel Added Prometheus Client and p2p Metrics (#673) 2018-11-15 07:54:45 -05:00
discovery_norace_test.go Allow Beacon Node to Connect to Bootstrap Node for Peer Discovery (#740) 2018-11-14 21:25:06 -05:00
discovery.go Allow Beacon Node to Connect to Bootstrap Node for Peer Discovery (#740) 2018-11-14 21:25:06 -05:00
feed_example_test.go Allow Beacon Node to Connect to Bootstrap Node for Peer Discovery (#740) 2018-11-14 21:25:06 -05:00
feed_test.go Allow Beacon Node to Connect to Bootstrap Node for Peer Discovery (#740) 2018-11-14 21:25:06 -05:00
feed.go Migrate dependencies on @com_github_ethereum_go_ethereum//event (#601) 2018-10-02 21:49:01 -04:00
message_test.go Fix p2p issues in #465 (#489) 2018-09-09 18:15:24 -04:00
message.go P2P Message Execution Tracing (#517) 2018-09-20 07:46:35 -04:00
options_test.go shared: Move p2p Library to Shared (#317) 2018-07-24 10:21:58 -05:00
options.go format and cleanup some TODOs (#544) 2018-09-19 21:14:31 -07:00
p2p.go switch ethereum 2.0 to ethereum serenity (#714) 2018-11-01 07:02:01 -04:00
peer.go format and cleanup some TODOs (#544) 2018-09-19 21:14:31 -07:00
register_topic_example_test.go Allow Beacon Node to Connect to Bootstrap Node for Peer Discovery (#740) 2018-11-14 21:25:06 -05:00
service_norace_test.go Allow Beacon Node to Connect to Bootstrap Node for Peer Discovery (#740) 2018-11-14 21:25:06 -05:00
service_test.go Added Prometheus Client and p2p Metrics (#673) 2018-11-15 07:54:45 -05:00
service.go Added Prometheus Client and p2p Metrics (#673) 2018-11-15 07:54:45 -05:00