api documentation for newrelic (v1.38.2)

New Relic agent

table of contents

  1. module newrelic
    1. function newrelic.agent (config)
    2. function newrelic.api (agent)
    3. function newrelic.aws_info (agent, callback)
    4. function newrelic.config (config)
    5. function newrelic.reservoir (limit)
    6. function newrelic.stub_api ()
    7. function newrelic.system_info (agent, callback)
    8. function newrelic.timer ()
    9. object newrelic.agent.prototype
    10. object newrelic.api.prototype
    11. object newrelic.config.prototype
    12. object newrelic.environment
    13. object newrelic.reservoir.prototype
    14. object newrelic.sampler
    15. object newrelic.shimmer
    16. object newrelic.stub_api.prototype
    17. object newrelic.timer.prototype
    18. object newrelic.uninstrumented
  2. module newrelic.agent
    1. function newrelic.agent (config)
    2. function newrelic.agent.super_ ()
  3. module newrelic.agent.prototype
    1. function newrelic.agent.prototype._addEventFromTransaction (transaction)
    2. function newrelic.agent.prototype._addIntrinsicAttrsFromTransaction (transaction)
    3. function newrelic.agent.prototype._apdexTChange (apdexT)
    4. function newrelic.agent.prototype._configChange ()
    5. function newrelic.agent.prototype._enabledChange ()
    6. function newrelic.agent.prototype._harvesterIntervalChange (interval, callback)
    7. function newrelic.agent.prototype._processCustomEvents ()
    8. function newrelic.agent.prototype._processErrorEvents ()
    9. function newrelic.agent.prototype._restartHarvester (harvestSeconds)
    10. function newrelic.agent.prototype._sendCustomEvents (callback)
    11. function newrelic.agent.prototype._sendErrorEvents (callback)
    12. function newrelic.agent.prototype._sendErrors (callback)
    13. function newrelic.agent.prototype._sendEvents (callback)
    14. function newrelic.agent.prototype._sendMetrics (callback)
    15. function newrelic.agent.prototype._sendQueries (callback)
    16. function newrelic.agent.prototype._sendTrace (callback)
    17. function newrelic.agent.prototype._setupTracer ()
    18. function newrelic.agent.prototype._startHarvester (harvestSeconds)
    19. function newrelic.agent.prototype._stopHarvester ()
    20. function newrelic.agent.prototype._transactionFinished (transaction)
    21. function newrelic.agent.prototype.getTransaction ()
    22. function newrelic.agent.prototype.harvest (callback)
    23. function newrelic.agent.prototype.reconfigure (configuration)
    24. function newrelic.agent.prototype.reset ()
    25. function newrelic.agent.prototype.setState (newState)
    26. function newrelic.agent.prototype.start (callback)
    27. function newrelic.agent.prototype.stop (callback)
  4. module newrelic.api
    1. function newrelic.api (agent)
  5. module newrelic.api.prototype
    1. function newrelic.api.prototype.addCustomParameter (name, value)
    2. function newrelic.api.prototype.addCustomParameters (params)
    3. function newrelic.api.prototype.addIgnoringRule (pattern)
    4. function newrelic.api.prototype.addNamingRule (pattern, name)
    5. function newrelic.api.prototype.createBackgroundTransaction (name, group, handle)
    6. function newrelic.api.prototype.createTracer (name, callback)
    7. function newrelic.api.prototype.createWebTransaction (url, handle)
    8. function newrelic.api.prototype.endTransaction ()
    9. function newrelic.api.prototype.getBrowserTimingHeader ()
    10. function newrelic.api.prototype.incrementMetric (name, value)
    11. function newrelic.api.prototype.noticeError (error, customParameters)
    12. function newrelic.api.prototype.recordCustomEvent (eventType, attributes)
    13. function newrelic.api.prototype.recordMetric (name, value)
    14. function newrelic.api.prototype.setControllerName (name, action)
    15. function newrelic.api.prototype.setIgnoreTransaction (ignored)
    16. function newrelic.api.prototype.setTransactionName (name)
    17. function newrelic.api.prototype.shutdown (options, cb)
  6. module newrelic.aws_info
    1. function newrelic.aws_info (agent, callback)
    2. function newrelic.aws_info._awsQuery (key, agent, callback)
    3. function newrelic.aws_info.clearCache ()
  7. module newrelic.config
    1. function newrelic.config (config)
    2. function newrelic.config.getOrCreateInstance ()
    3. function newrelic.config.initialize (config)
    4. function newrelic.config.super_ ()
  8. module newrelic.config.prototype
    1. function newrelic.config.prototype._alwaysUpdateIfChanged (json, key)
    2. function newrelic.config.prototype._applyHighSecurity ()
    3. function newrelic.config.prototype._canonicalize ()
    4. function newrelic.config.prototype._emitIfSet (json, key)
    5. function newrelic.config.prototype._fromEnvironment (metadata, data)
    6. function newrelic.config.prototype._fromPassed (external, internal, arbitrary)
    7. function newrelic.config.prototype._fromServer (params, key)
    8. function newrelic.config.prototype._fromSpecial ()
    9. function newrelic.config.prototype._updateIfChanged (json, key)
    10. function newrelic.config.prototype._updateNestedIfChanged (remote, local, remoteKey, localKey)
    11. function newrelic.config.prototype._updateNestedIfChangedRaw ( remote, local, remoteKey, localKey)
    12. function newrelic.config.prototype.applications ()
    13. function newrelic.config.prototype.clearDisplayHostCache ()
    14. function newrelic.config.prototype.clearHostnameCache ()
    15. function newrelic.config.prototype.getDisplayHost ()
    16. function newrelic.config.prototype.getHostnameSafe ()
    17. function newrelic.config.prototype.getIPAddresses ()
    18. function newrelic.config.prototype.logDisabled (json, key)
    19. function newrelic.config.prototype.logUnknown (json, key)
    20. function newrelic.config.prototype.logUnsupported (json, key)
    21. function newrelic.config.prototype.measureInternal (suffix, duration)
    22. function newrelic.config.prototype.onConnect (json, recursion)
    23. function newrelic.config.prototype.publicSettings ()
    24. function newrelic.config.prototype.setLogger (bootstrapped)
    25. function newrelic.config.prototype.validateFlags ()
  9. module newrelic.environment
    1. function newrelic.environment.clearDispatcher ()
    2. function newrelic.environment.clearFramework ()
    3. function newrelic.environment.get (name)
    4. function newrelic.environment.listPackages (root, packages)
    5. function newrelic.environment.refresh ()
    6. function newrelic.environment.setDispatcher (dispatcher)
    7. function newrelic.environment.setFramework (framework)
    8. function newrelic.environment.toJSON ()
  10. module newrelic.reservoir
    1. function newrelic.reservoir (limit)
  11. module newrelic.reservoir.prototype
    1. function newrelic.reservoir.prototype.add (item)
    2. function newrelic.reservoir.prototype.merge (items)
    3. function newrelic.reservoir.prototype.overflow ()
    4. function newrelic.reservoir.prototype.setLimit (newLimit)
    5. function newrelic.reservoir.prototype.toArray ()
  12. module newrelic.sampler
    1. function newrelic.sampler.checkEvents (agent)
    2. function newrelic.sampler.sampleCpu (agent)
    3. function newrelic.sampler.sampleGc (agent, nativeMetrics)
    4. function newrelic.sampler.sampleLoop (agent, nativeMetrics)
    5. function newrelic.sampler.sampleMemory (agent)
    6. function newrelic.sampler.start (agent)
    7. function newrelic.sampler.stop ()
    8. object newrelic.sampler.nativeMetrics
    9. string newrelic.sampler.state
  13. module newrelic.shimmer
    1. boolean newrelic.shimmer.debug
    2. function newrelic.shimmer.bootstrapInstrumentation (agent)
    3. function newrelic.shimmer.isWrapped (fn)
    4. function newrelic.shimmer.patchModule (agent)
    5. function newrelic.shimmer.reinstrument (agent, modulePath)
    6. function newrelic.shimmer.unpatchModule ()
    7. function newrelic.shimmer.unwrapAll ()
    8. function newrelic.shimmer.unwrapMethod (nodule, noduleName, method)
    9. function newrelic.shimmer.wrapDeprecated (nodule, noduleName, property, options)
    10. function newrelic.shimmer.wrapMethod (nodule, noduleName, methods, wrapper)
  14. module newrelic.stub_api
    1. function newrelic.stub_api ()
  15. module newrelic.stub_api.prototype
    1. function newrelic.stub_api.prototype.addCustomParameter ()
    2. function newrelic.stub_api.prototype.addCustomParameters ()
    3. function newrelic.stub_api.prototype.addIgnoringRule ()
    4. function newrelic.stub_api.prototype.addNamingRule ()
    5. function newrelic.stub_api.prototype.createBackgroundTransaction (name, group, callback)
    6. function newrelic.stub_api.prototype.createTracer (name, callback)
    7. function newrelic.stub_api.prototype.createWebTransaction (url, callback)
    8. function newrelic.stub_api.prototype.endTransaction ()
    9. function newrelic.stub_api.prototype.getBrowserTimingHeader ()
    10. function newrelic.stub_api.prototype.incrementMetric ()
    11. function newrelic.stub_api.prototype.noticeError ()
    12. function newrelic.stub_api.prototype.recordCustomEvent ()
    13. function newrelic.stub_api.prototype.recordMetric ()
    14. function newrelic.stub_api.prototype.setControllerName ()
    15. function newrelic.stub_api.prototype.setIgnoreTransaction ()
    16. function newrelic.stub_api.prototype.setTransactionName ()
    17. function newrelic.stub_api.prototype.shutdown (options, cb)
  16. module newrelic.system_info
    1. function newrelic.system_info (agent, callback)
    2. function newrelic.system_info._getDockerContainerId (agent, callback)
    3. function newrelic.system_info._getMemoryStats (callback)
    4. function newrelic.system_info._getProcessorStats (callback)
  17. module newrelic.timer
    1. function newrelic.timer ()
  18. module newrelic.timer.prototype
    1. function newrelic.timer.prototype.begin ()
    2. function newrelic.timer.prototype.end ()
    3. function newrelic.timer.prototype.endsAfter (other)
    4. function newrelic.timer.prototype.getDurationInMillis ()
    5. function newrelic.timer.prototype.hasEnd ()
    6. function newrelic.timer.prototype.isActive ()
    7. function newrelic.timer.prototype.isRunning ()
    8. function newrelic.timer.prototype.overwriteDurationInMillis (duration)
    9. function newrelic.timer.prototype.setDurationInMillis (duration, start)
    10. function newrelic.timer.prototype.softEnd ()
    11. function newrelic.timer.prototype.startedRelativeTo (other)
    12. function newrelic.timer.prototype.toRange ()
    13. function newrelic.timer.prototype.touch ()
  19. module newrelic.uninstrumented
    1. function newrelic.uninstrumented.check ()
    2. function newrelic.uninstrumented.createMetrics (metrics)

module newrelic

function newrelic.agent (config)

function newrelic.api (agent)

function newrelic.aws_info (agent, callback)

function newrelic.config (config)

function newrelic.reservoir (limit)

function newrelic.stub_api ()

function newrelic.system_info (agent, callback)

function newrelic.timer ()

module newrelic.agent

function newrelic.agent (config)

function newrelic.agent.super_ ()

module newrelic.agent.prototype

function newrelic.agent.prototype._addEventFromTransaction (transaction)

function newrelic.agent.prototype._addIntrinsicAttrsFromTransaction (transaction)

function newrelic.agent.prototype._apdexTChange (apdexT)

function newrelic.agent.prototype._configChange ()

function newrelic.agent.prototype._enabledChange ()

function newrelic.agent.prototype._harvesterIntervalChange (interval, callback)

function newrelic.agent.prototype._processCustomEvents ()

function newrelic.agent.prototype._processErrorEvents ()

function newrelic.agent.prototype._restartHarvester (harvestSeconds)

function newrelic.agent.prototype._sendCustomEvents (callback)

function newrelic.agent.prototype._sendErrorEvents (callback)

function newrelic.agent.prototype._sendErrors (callback)

function newrelic.agent.prototype._sendEvents (callback)

function newrelic.agent.prototype._sendMetrics (callback)

function newrelic.agent.prototype._sendQueries (callback)

function newrelic.agent.prototype._sendTrace (callback)

function newrelic.agent.prototype._setupTracer ()

function newrelic.agent.prototype._startHarvester (harvestSeconds)

function newrelic.agent.prototype._stopHarvester ()

function newrelic.agent.prototype._transactionFinished (transaction)

function newrelic.agent.prototype.getTransaction ()

function newrelic.agent.prototype.harvest (callback)

function newrelic.agent.prototype.reconfigure (configuration)

function newrelic.agent.prototype.reset ()

function newrelic.agent.prototype.setState (newState)

function newrelic.agent.prototype.start (callback)

function newrelic.agent.prototype.stop (callback)

module newrelic.api

function newrelic.api (agent)

module newrelic.api.prototype

function newrelic.api.prototype.addCustomParameter (name, value)

function newrelic.api.prototype.addCustomParameters (params)

function newrelic.api.prototype.addIgnoringRule (pattern)

function newrelic.api.prototype.addNamingRule (pattern, name)

function newrelic.api.prototype.createBackgroundTransaction (name, group, handle)

function newrelic.api.prototype.createTracer (name, callback)

function newrelic.api.prototype.createWebTransaction (url, handle)

function newrelic.api.prototype.endTransaction ()

function newrelic.api.prototype.getBrowserTimingHeader ()

function newrelic.api.prototype.incrementMetric (name, value)

function newrelic.api.prototype.noticeError (error, customParameters)

function newrelic.api.prototype.recordCustomEvent (eventType, attributes)

function newrelic.api.prototype.recordMetric (name, value)

function newrelic.api.prototype.setControllerName (name, action)

function newrelic.api.prototype.setIgnoreTransaction (ignored)

function newrelic.api.prototype.setTransactionName (name)

function newrelic.api.prototype.shutdown (options, cb)

module newrelic.aws_info

function newrelic.aws_info (agent, callback)

function newrelic.aws_info._awsQuery (key, agent, callback)

function newrelic.aws_info.clearCache ()

module newrelic.config

function newrelic.config (config)

function newrelic.config.getOrCreateInstance ()

function newrelic.config.initialize (config)

function newrelic.config.super_ ()

module newrelic.config.prototype

function newrelic.config.prototype._alwaysUpdateIfChanged (json, key)

function newrelic.config.prototype._applyHighSecurity ()

function newrelic.config.prototype._canonicalize ()

function newrelic.config.prototype._emitIfSet (json, key)

function newrelic.config.prototype._fromEnvironment (metadata, data)

function newrelic.config.prototype._fromPassed (external, internal, arbitrary)

function newrelic.config.prototype._fromServer (params, key)

function newrelic.config.prototype._fromSpecial ()

function newrelic.config.prototype._updateIfChanged (json, key)

function newrelic.config.prototype._updateNestedIfChanged (remote, local, remoteKey, localKey)

function newrelic.config.prototype._updateNestedIfChangedRaw ( remote, local, remoteKey, localKey)

function newrelic.config.prototype.applications ()

function newrelic.config.prototype.clearDisplayHostCache ()

function newrelic.config.prototype.clearHostnameCache ()

function newrelic.config.prototype.getDisplayHost ()

function newrelic.config.prototype.getHostnameSafe ()

function newrelic.config.prototype.getIPAddresses ()

function newrelic.config.prototype.logDisabled (json, key)

function newrelic.config.prototype.logUnknown (json, key)

function newrelic.config.prototype.logUnsupported (json, key)

function newrelic.config.prototype.measureInternal (suffix, duration)

function newrelic.config.prototype.onConnect (json, recursion)

function newrelic.config.prototype.publicSettings ()

function newrelic.config.prototype.setLogger (bootstrapped)

function newrelic.config.prototype.validateFlags ()

module newrelic.environment

function newrelic.environment.clearDispatcher ()

function newrelic.environment.clearFramework ()

function newrelic.environment.get (name)

function newrelic.environment.listPackages (root, packages)

function newrelic.environment.refresh ()

function newrelic.environment.setDispatcher (dispatcher)

function newrelic.environment.setFramework (framework)

function newrelic.environment.toJSON ()

module newrelic.reservoir

function newrelic.reservoir (limit)

module newrelic.reservoir.prototype

function newrelic.reservoir.prototype.add (item)

function newrelic.reservoir.prototype.merge (items)

function newrelic.reservoir.prototype.overflow ()

function newrelic.reservoir.prototype.setLimit (newLimit)

function newrelic.reservoir.prototype.toArray ()

module newrelic.sampler

function newrelic.sampler.checkEvents (agent)

function newrelic.sampler.sampleCpu (agent)

function newrelic.sampler.sampleGc (agent, nativeMetrics)

function newrelic.sampler.sampleLoop (agent, nativeMetrics)

function newrelic.sampler.sampleMemory (agent)

function newrelic.sampler.start (agent)

function newrelic.sampler.stop ()

module newrelic.shimmer

function newrelic.shimmer.bootstrapInstrumentation (agent)

function newrelic.shimmer.isWrapped (fn)

function newrelic.shimmer.patchModule (agent)

function newrelic.shimmer.reinstrument (agent, modulePath)

function newrelic.shimmer.unpatchModule ()

function newrelic.shimmer.unwrapAll ()

function newrelic.shimmer.unwrapMethod (nodule, noduleName, method)

function newrelic.shimmer.wrapDeprecated (nodule, noduleName, property, options)

function newrelic.shimmer.wrapMethod (nodule, noduleName, methods, wrapper)

module newrelic.stub_api

function newrelic.stub_api ()

module newrelic.stub_api.prototype

function newrelic.stub_api.prototype.addCustomParameter ()

function newrelic.stub_api.prototype.addCustomParameters ()

function newrelic.stub_api.prototype.addIgnoringRule ()

function newrelic.stub_api.prototype.addNamingRule ()

function newrelic.stub_api.prototype.createBackgroundTransaction (name, group, callback)

function newrelic.stub_api.prototype.createTracer (name, callback)

function newrelic.stub_api.prototype.createWebTransaction (url, callback)

function newrelic.stub_api.prototype.endTransaction ()

function newrelic.stub_api.prototype.getBrowserTimingHeader ()

function newrelic.stub_api.prototype.incrementMetric ()

function newrelic.stub_api.prototype.noticeError ()

function newrelic.stub_api.prototype.recordCustomEvent ()

function newrelic.stub_api.prototype.recordMetric ()

function newrelic.stub_api.prototype.setControllerName ()

function newrelic.stub_api.prototype.setIgnoreTransaction ()

function newrelic.stub_api.prototype.setTransactionName ()

function newrelic.stub_api.prototype.shutdown (options, cb)

module newrelic.system_info

function newrelic.system_info (agent, callback)

function newrelic.system_info._getDockerContainerId (agent, callback)

function newrelic.system_info._getMemoryStats (callback)

function newrelic.system_info._getProcessorStats (callback)

module newrelic.timer

function newrelic.timer ()

module newrelic.timer.prototype

function newrelic.timer.prototype.begin ()

function newrelic.timer.prototype.end ()

function newrelic.timer.prototype.endsAfter (other)

function newrelic.timer.prototype.getDurationInMillis ()

function newrelic.timer.prototype.hasEnd ()

function newrelic.timer.prototype.isActive ()

function newrelic.timer.prototype.isRunning ()

function newrelic.timer.prototype.overwriteDurationInMillis (duration)

function newrelic.timer.prototype.setDurationInMillis (duration, start)

function newrelic.timer.prototype.softEnd ()

function newrelic.timer.prototype.startedRelativeTo (other)

function newrelic.timer.prototype.toRange ()

function newrelic.timer.prototype.touch ()

module newrelic.uninstrumented

function newrelic.uninstrumented.check ()

function newrelic.uninstrumented.createMetrics (metrics)

[ this document was created with utility2 ]