mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
d061c784e0
* 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 |
||
---|---|---|
.. | ||
adapter | ||
mock | ||
BUILD.bazel | ||
discovery_norace_test.go | ||
discovery.go | ||
feed_example_test.go | ||
feed_test.go | ||
feed.go | ||
message_test.go | ||
message.go | ||
options_test.go | ||
options.go | ||
p2p.go | ||
peer.go | ||
register_topic_example_test.go | ||
service_norace_test.go | ||
service_test.go | ||
service.go |