Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectorRegistrar ¶
type CollectorRegistrar interface {
RegisterWithCollector(cfcomponent.Component) error
}
type MetricsServer ¶
type MetricsServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(registrar CollectorRegistrar, steno *gosteno.Logger, metricsAccountant metricsaccountant.MetricsAccountant, logger logger.Logger, store store.Store, timeProvider timeprovider.TimeProvider, conf *config.Config) *MetricsServer
func (*MetricsServer) Emit ¶
func (s *MetricsServer) Emit() (context instrumentation.Context)
func (*MetricsServer) Ok ¶
func (s *MetricsServer) Ok() bool
func (*MetricsServer) Start ¶
func (s *MetricsServer) Start() error
Click to show internal directories.
Click to hide internal directories.