Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { UAAAddr string `env:"UAA_ADDR, required"` CAPIAddr string `env:"CAPI_ADDR, required"` AccumulatorAddr string `env:"ACCUMULATOR_ADDR, required"` ClientID string `env:"CLIENT_ID, required"` ClientSecret string `env:"CLIENT_SECRET, required, noreport"` DatadogAPIKey string `env:"DATADOG_API_KEY, required"` SkipCertVerify bool `env:"SKIP_CERT_VERIFY"` ReportInterval time.Duration `env:"REPORT_INTERVAL"` ReporterHost string `env:"REPORTER_HOST"` ReportLimit int `env:"REPORT_LIMIT"` AppInfoCacheTTL time.Duration `env:"APP_INFO_CACHE_TTL"` TLSConfig *tls.Config }
Config stores configuration data for the accumulator.
func LoadConfig ¶
func LoadConfig() Config
LoadConfig loads the configuration settings from the current environment.
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Reporter is the constructor for the datadog reporter application.
func NewReporter ¶
NewReporter configures and returns a new Reporter
Click to show internal directories.
Click to hide internal directories.