prysm-pulse/shared/cmd
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
..
BUILD.bazel Rename Entire Project to Repo, Change Import Paths and Readmes (#298) 2018-07-20 16:31:26 -05:00
customflags_test.go beacon: Define a Core Blockchain Package and Persisted Structure for Beacon (#278) 2018-07-19 11:31:50 -05:00
customflags.go Add Golint (#344) 2018-07-28 21:18:56 -04:00
flags.go Added Prometheus Client and p2p Metrics (#673) 2018-11-15 07:54:45 -05:00