class NewRelicApi::Account

An account contains your basic account information.

Accounts have many

applications

the applications contained within the account

Find Accounts

NewRelicApi::Account.find(:first) # find account associated with the api key
NewRelicApi::Account.find(44)     # find individual account by ID

Public Class Methods

application_health(type = :first) click to toggle source

Returns an account including all of its applications and the threshold values for each application.

    # File lib/new_relic_api.rb
187 def self.application_health(type = :first)
188   find(type, :params => {:include => :application_health})
189 end