A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.newrelic.com/docs/agents/ruby-agent/troubleshooting/update-deprecated-api-calls/ below:

Update deprecated API calls | New Relic Documentation

We occasionally remove deprecated APIs. If you use any of the following methods, you must update your API calls with the recommended replacements before upgrading to certain Ruby agent versions.

The following APIs were removed with Ruby agent 9.0.0. Update your API with the following recommended replacements:

The following APIs were removed with Ruby agent 4.0.0. Update your API with the following recommended replacements:

Replace with NewRelic::Agent#notice_error

Replace with NewRelic::Agent.ignore_transaction

Replace with NewRelic::Agent.add_custom_attributes

Replace with NewRelic::Agent.add_custom_attributes

Delete the method call as it is no longer needed and had been returning an empty string.

Delete the method call as it only logs a warning message to the agent log.

Replace with NewRelic::Agent.drop_buffered_data

Replace with NewRelic::Agent.add_custom_attributes

Replace with NewRelic::Agent::Datastores::MetricHelper.metrics_for

Replace with NewRelic::Agent::Transaction.recording_web_transaction?

Replace with NewRelic::Agent::Transaction.abort_transaction!

Delete inclusions of this module. As of Ruby agent version 3.9.0, New Relic instruments Rack middlewares by default. As a result, this entire module has been deprecated.

Replace with NewRelic::Agent.record_metric

Replace with NewRelic::Agent.record_metric

Replace with either of these methods:

Replace with NewRelic::Agent::MethodTracer.trace_execution_unscoped

Replace with NewRelic::Agent::MethodTracer.trace_execution_scoped

Replace with NewRelic::Agent.record_metric

Replace with NewRelic::Agent.record_metric

Delete the method call as it only logs a warning message to the agent log.

Delete the method call as it only logs a warning message to the agent log.

Delete the method call as it is no longer supported

Replace with NewRelic::NoticedError#exception_class_name

Delete inclusions of this module. The Ruby agent automatically collect errors for all Rack applications in either of these situations:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4