DataDog/rdog

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

rdog

Query Datadog directly from R.

Getting started
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)

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.