Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetApiKey ¶
(Required unless validate is false) Datadog API key. This can also be set via the DD_API_KEY environment variable.
func GetApiUrl ¶
The API Url. This can be also be set via the DD_HOST environment variable. Note that this URL must not end with the /api/ path. For example, https://api.datadoghq.com/ is a correct value, while https://api.datadoghq.com/api/ is not. And if you're working with "EU" version of Datadog, use https://api.datadoghq.eu/.
func GetAppKey ¶
(Required unless validate is false) Datadog APP key. This can also be set via the DD_APP_KEY environment variable.
func GetValidate ¶ added in v2.2.0
Enables validation of the provided API and APP keys during provider initialization. Default is true. When false, api_key and app_keywon't be checked.
Types ¶
This section is empty.