This package contains utility code for accessing NRDB and Metric Data collected by New Relic.
Load the NewRelicR
package with the following code:
install.packages("devtools")
devtools::install_github("newrelic/NewRelicR")
Refer to the help documentation in the package for details on how to use the methods.
??newrelic
Please report any bugs or suggestions here.
This package was developed by Bill Kayser and New Relic, Inc.
Fix copy/paste error.
Added support for "compare with" clauses in nrdb_query
. This will return a list with
two elements, current
and previous
.
NOTE: Not all combinations of query types using COMPARE WITH
have been tested!
- Change the naming of some of the results to be more intelligent, using aliases and attribute names for facets instead of "facet" as well as properly naming the values of non-faceted, non-timeseries results.
- Support multi-facet queries
- Export the
nrql.timestamp
utility function
- Fixed processing of facets
- Improved error handling by adding early stop
- Fixed misc API problems and errors found by the
check()
routine
- Added sampling_rate and end_time to nrdb_events()
- Better handling of edge case when there is no data
- Fixed a problem processing percentage() functions.
- Added rlang library
- Removed some invalid references to %>% operator
- Added some more boundary case coverage for nrdb queries
- Refactored nrdb_query code: WARNING -- may return different names for columns
- Better support for faceted timeseries
- Better support for "uniques()" queries in nrdb.
- Add timeout parameter to events calls
- Add retry loop to nrdb_events so its more robust for big queries
- Improve column labels with multi-column timeseries.
- Fix edge case in nrdb_query when you are getting multiple summary values.
- Add verbose option for nrdb_events
- Fix bug in nrdb_events where WHERE was ignored
- Added verbose option for several calls to see the NRQL.
- Removed
sample_events()
since it didn't do a good job of sampling. - Renamed
get_top_transactions
tonrdb_top_transactions
for consistency. - Improved queries when the attributes were specified explicitly
- Renamed
get_events
tonrdb_events
.
- Changed license from GPL2 to BSD
- Added
get_events
method to get contiguous chunks of events for a given criteria.
- Fixed some parameters in the session calls in the nrdb API
- Fixed problem calculating think time
- Switched to include BrowserInteractions now available with SPA monitoring
- Updated the session functions in the NRDB API. Added some new options.
- Add support for loading PageActions in session data
- Add end_time parameter to get top applications
- Made verbose output an option; quiet by default
- Fix bug in managing query cache
- Fix bug in
get_top_transactions()
- Bug fixes and warnings
- Add
rpm_applications()
function - Fixes and documentation
- Bumped feature version to 1.
- Add batch fetching to the
rpm_query()
call. This means it will respect the period parameter and simply fetch data in chunks to get the resolution you need. - New method for nrdb,
sample_events()
which selects a requested number of events near a point in time which may not be contiguous (hence "sample").
- Support for multi column timeseries queries, like
select average(duration), count(*) from Transaction timeseries AUTO
- Removed dependency on plyr
- Removed
%>%
usage
- Removed
newrelic_api
helper in favor of passing api keys directly to functions - Fixed many bugs
- Added some examples using pastebin
- Improved docs
- Initial release