query_insights: Queries New Relic Insights using the character vector nrql.

Description Usage Arguments

Description

Queries New Relic Insights using the character vector nrql.

Usage

1
2
query_insights(nrql, account = Sys.getenv(x = "INSIGHTS_ACCOUNT_ID"),
  key = Sys.getenv(x = "INSIGHTS_ACCOUNT_KEY"), parse = TRUE, ...)

Arguments

nrql

A character vector containg the NRQL query.

account

The New Relic insights account. Uses the environment variable INSIGHTS_ACCOUNT_ID as a default.

key

The New Relic insights key Uses the environment variable INSIGHTS_ACCOUNT_KEY as a default.

parse

If FALSE returns the unparsed JSON

...

Passes remaining arguments to parse_insights


bpoweski/R-insights documentation built on May 13, 2019, 2:24 a.m.