Documentation ¶
Index ¶
Constants ¶
View Source
const (
// BackendName is the name of this backend.
BackendName = "datadog"
)
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(apiEndpoint, apiKey string, metricsPerBatch uint, clientTimeout, maxRequestElapsedTime time.Duration) (backendTypes.Backend, error)
NewClient returns a new Datadog API client.
func NewClientFromViper ¶
func NewClientFromViper(v *viper.Viper) (backendTypes.Backend, error)
NewClientFromViper returns a new Datadog API client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.