Versions in this module Expand all Collapse all v1 v1.1.7 Apr 1, 2021 Changes in this version + type BrokerCNType string + type BrokerConfig struct + ID string + MaxResponseTime string + SelectTag string + TLSConfig *tls.Config + type CACert struct + Contents string + type CheckConfig struct + CustomConfigFields map[string]string + DisplayName string + ForceMetricActivation string + ID string + InstanceID string + MaxURLAge string + SearchTag string + Secret string + SubmissionURL string + Tags string + TargetHost string + Type string + type CheckDisplayNameType string + type CheckInstanceIDType string + type CheckManager struct + Debug bool + Log *log.Logger + func New(cfg *Config) (*CheckManager, error) + func NewCheckManager(cfg *Config) (*CheckManager, error) + func (cm *CheckManager) ActivateMetric(name string) bool + func (cm *CheckManager) AddMetricTags(metricName string, tags []string, appendTags bool) bool + func (cm *CheckManager) GetSubmissionURL() (*Trap, error) + func (cm *CheckManager) Initialize() + func (cm *CheckManager) IsMetricActive(name string) bool + func (cm *CheckManager) IsReady() bool + func (cm *CheckManager) RefreshTrap() error + func (cm *CheckManager) ResetTrap() error + func (cm *CheckManager) UpdateCheck(newMetrics map[string]*api.CheckBundleMetric) + type CheckSecretType string + type CheckTagsType string + type CheckTargetType string + type CheckTypeType string + type Config struct + API api.Config + Broker BrokerConfig + Check CheckConfig + Debug bool + Log *log.Logger + type Trap struct + IsSocket bool + SockTransport *httpunix.Transport + TLS *tls.Config + URL *url.URL