Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service provides the metrics for the host it registers the gethmetrics Registry and handles the metrics server
func (*Service) CollectProcessMetrics ¶
func (m *Service) CollectProcessMetrics()
CollectProcessMetrics collect process and system metrics this method is an adapted copy of eth/metrics/metrics.go@CollectProcessMetrics method
func (*Service) Registry ¶
func (m *Service) Registry() gethmetrics.Registry
Registry returns the registry for the metrics service
Click to show internal directories.
Click to hide internal directories.