new_relic v0.1.0 NewRelic.Agent

Summary

Functions

connect(collector, hostname, attempts_count \\ 1)
get_redirect_host()
push(hostname, data, errors)

Connects to New Relic and sends the hopefully correctly formatted data and registers it under the given hostname.

push_data(url, data)
push_error_data(collector, run_id, error_data)
push_metric_data(collector, run_id, metric_data)
request(url, body \\ "[]")
url(args)
url(host, args)