class

NewRelic::Config

Inherits Reference < Object

Constants

ENV_STRINGS = ["NEW_RELIC_ENV", "LUCKY_ENV", "ATHENA_ENV", "KEMAL_ENV", "APP_ENV"] of ::String
MalformedConfig = Exception

Constructors

new(configuration_file : String | Nil = nil, app_name : String | Nil = nil, license_key : String | Nil = nil)
Source

Class methods

environment
Source
environment_configuration(configuration_file : String | Nil = nil)

This will return a configuration for the current environment, as specified by environment variable settings (see #environment). Specific elements of the current environment can be overridden or set through the use of environment variables.

Source
find_config_file(filename : String) : String | Nil
Source
find_config_file
Source

Instance methods

app_name
Source
config
Source
destroy!
Source
license_key
Source
log_file
Source
log_file_name
Source
log_file_path
Source
log_level
Source
pointer
Source
structure
Source

Nested types