Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultURL = "https://enterprise.influxdata.com" DefaultStatsInterval = time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Service ¶
type Service struct {
MetaStore interface {
ClusterID() (uint64, error)
NodeID() uint64
}
Monitor interface {
Statistics(tags map[string]string) ([]*monitor.Statistic, error)
RegisterDiagnosticsClient(name string, client monitor.DiagsClient)
}
// contains filtered or unexported fields
}
Service represents the registration service.
func NewService ¶
NewService returns a configured registration service.
func (*Service) Diagnostics ¶
func (s *Service) Diagnostics() (*monitor.Diagnostic, error)
Click to show internal directories.
Click to hide internal directories.