Skip to content

Commit

Permalink
Update cross application tracing deprecation msg
Browse files Browse the repository at this point in the history
  • Loading branch information
kaylareopelle committed Sep 17, 2021
1 parent ff4a73a commit 0550a26
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/new_relic/agent/monitors/cross_app_monitor.rb
Expand Up @@ -24,11 +24,7 @@ class CrossAppMonitor < InboundRequestMonitor
def on_finished_configuring(events)
Deprecator.deprecate('cross_application_tracer')
::NewRelic::Agent.logger.warn(
"[DEPRECATED] Cross application tracing is enabled. It has been \
deprecated in favor of distributed tracing and will be removed in a\
future release. Start using distrubted tracing by removing the \
'cross_application_tracer.enabled' configuration and setting \
'distributed_tracing.enabled' to true."
"[DEPRECATED] Cross application tracing is enabled. Distributed tracing is replacing cross application tracing as the default means of tracing between services. To continue using cross application tracing, enable it with `cross_application_tracer.enabled: true` and `distributed_tracing.enabled: false`"
)

register_event_listeners(events)
Expand Down

0 comments on commit 0550a26

Please sign in to comment.