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)
SourceClass methods
environment
Sourceenvironment_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.
find_config_file(filename : String) : String | Nil
Sourcefind_config_file
SourceInstance methods
app_name
Sourceconfig
Sourcedestroy!
Sourcelicense_key
Sourcelog_file
Sourcelog_file_name
Sourcelog_file_path
Sourcelog_level
Sourcepointer
Sourcestructure
Source