Name: rdog
Owner: Datadog, Inc.
Description: Interfacing R and Datadog
Forked from: alq666/rdog
Created: 2016-11-30 15:46:31.0
Updated: 2018-05-15 19:07:41.0
Pushed: 2016-11-30 16:30:41.0
Homepage: null
Size: 31
Language: R
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Query Datadog directly from R.
all.packages("devtools")
ools::install_github("datadog/rdog")
ire(rdog)
<- 'abc'
<- 'def'
<- as.integer(Sys.time())
_t <- to_t - 3600
t an xts object to keep timestamps
lts <- dog_query(api, app, 'avg:system.cpu.idle{*}', from_t=from_t, to_t=to_t)
(results)
t a data frame
lts <- dog_query(api, app, 'avg:system.cpu.idle{*}', from_t=from_t, to_t=to_t, TRUE)
(results)