Description Usage Arguments Details Author(s) See Also Examples
View source: R/set_api_parameters.R
set_api_top_level_domains()
is an easy to use setter function for the Datadog-API address top level domains .eu
and .eu
.
1 | set_api_top_level_domains(api_tld = c(".eu", ".us"), api_type = c("query", "send"))
|
api_tld |
which region, |
api_type |
which type |
Depending on your geographic location the Datadog-API address toplevel domain changes, see also Datadog-API. Currently following urls are implemented and chosen according to the parameters, for US:
"send"Datadog-API
"queries"Datadog-API
and for Europa:
"send"Datadog-API
"queries"Datadog-API
Benjamin Holzknecht
set_api_url()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# set .eu and sending
set_api_top_level_domains(api_tld = ".eu", api_tld = "send")
# set .eu for both urls
set_api_top_level_domains(api_tld = ".eu")
# set .de -> results in Error, unknown top level domain
set_api_top_level_domains(api_tld = ".de")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.