No commit activity in last 3 years
No release in over 3 years
REST Client to interact with New Relic Insights
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0
>= 0

Runtime

 Project Readme

New Relic Insights

This is a simple ruby client which implements the New Relic Inights REST API. It is in no way affiliate with New Relic.

Installation

Add this line to your application's Gemfile:

gem 'new_relic_insights'

And then execute:

$ bundle

Or install it yourself as:

$ gem install new_relic_insights

Usage

# initiate a client
@insights = NewRelicInsights.new ACCOUNT_ID, ACCOUNT_API_KEY

# build a hash to send to New Relic
my_event_data_hash = {:name=>'random', :foo=>'bar'}

# send to new relic
@insights.send_event 'some_table_name', my_event_data_hash

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/web-connect/new_relic_insights.