class NewRelic

Defined in:

new_relic.cr
new_relic/config.cr
new_relic/config/environment.cr
new_relic/config/file.cr
new_relic/exceptions.cr
new_relic/segment/datastore_params.cr
new_relic/segment/external_params.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(configuration_file : String | Nil = nil, app_name : String | Nil = nil, license_key : String | Nil = nil, logfile : String | Nil = nil, loglevel : String = "info", wait : Int32 = 10000, type : Symbol = :web, config : NewRelic::Config | Nil = nil, &blk : NewRelic -> ) #

[View source]
def self.new(configuration_file : String | Nil = nil, app_name : String | Nil = nil, license_key : String | Nil = nil, logfile : String | Nil = nil, loglevel : String = "info", wait : Int32 = 10000, type : Symbol = :web, config : NewRelic::Config | Nil = nil) #

[View source]

Instance Method Detail

def app : NewRelicExt::AppT #

[View source]
def config : Config #

[View source]
def destroy! #

[View source]
def non_web_transaction(label, &blk : Transaction -> ) #

[View source]
def transaction(label, blk : Transaction -> , type : Symbol = @type) #

[View source]
def transaction(label, type : Symbol = @type, &blk : Transaction -> ) #

[View source]
def version #

[View source]
def web_transaction(label, &blk : Transaction -> ) #

[View source]