-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(metrics): use default prometheus go metrics collector, and i…
…mplement standard Prometheus gauges for existing metrics (#2219) * add prometheus endpoint * wip metrics * more wip * grandpa metric, NewIntervalConfig constructor * remove dot/metrics * use metrics.IntervalConfig in dot/network * cleanup, include lib/metrics * fix lint and license * give more time to stress tests * refactor most metrics to update from source * use internal/httpserver for metrics server * cr feedback * Update internal/metrics/metrics.go Co-authored-by: Eclésio Junior <eclesiomelo.1@gmail.com> * fix lint * Update dot/node.go Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com> * Update dot/state/block.go Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com> * Update dot/node.go Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com> * Update internal/metrics/metrics.go Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com> * cr feedback * forgot to add tests file * add license Co-authored-by: Eclésio Junior <eclesiomelo.1@gmail.com> Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
- Loading branch information
1 parent
f8d8657
commit e816e31
Showing
20 changed files
with
380 additions
and
386 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.