Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDataDogConfigValid ¶
func IsDataDogConfigValid(cfg DatadogConfig) bool
IsDataDogConfigValid with given values
Types ¶
type DatadogConfig ¶
type DatadogConfig struct { // Env where application is executed, dev, production, staging etc Env string `mapstructure:"dd_env"` // Service how must be service called and displayed in Datadog system Service string `mapstructure:"dd_service"` // ServiceVersion depends on system, can be Git Tag or API version ServiceVersion string `mapstructure:"dd_version"` // DSD Socket path for DD StatsD, important to have unix prefix for that value, example: unix:///var/run/dd/dsd.socket DSD string `mapstructure:"dd_dogstatsd_url"` // APM Socket path for apm and profiler, unix prefix not needed, example: /var/run/dd/apm.socket APM string `mapstructure:"dd_trace_agent_url"` }
DatadogConfig that required to connect to Datadog Agent
Click to show internal directories.
Click to hide internal directories.