-
Notifications
You must be signed in to change notification settings - Fork 126
Remove CAT #1489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Remove CAT #1489
Conversation
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1489 +/- ##
==========================================
- Coverage 81.59% 81.49% -0.10%
==========================================
Files 206 206
Lines 23689 23457 -232
Branches 3753 3708 -45
==========================================
- Hits 19328 19117 -211
+ Misses 3100 3088 -12
+ Partials 1261 1252 -9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Posting a partial review. I'll review the rest later.
headers.pop(MessageTrace.cat_id_key, None) | ||
headers.pop(MessageTrace.cat_transaction_key, None) | ||
headers.pop(MessageTrace.cat_distributed_trace_key, None) | ||
headers.pop(MessageTrace.distributed_trace_key, None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
headers.pop(MessageTrace.distributed_trace_key, None) | |
headers.pop("newrelic", None) |
user_headers.pop(MessageTrace.cat_id_key, None) | ||
user_headers.pop(MessageTrace.cat_transaction_key, None) | ||
user_headers.pop(MessageTrace.cat_distributed_trace_key, None) | ||
user_headers.pop(MessageTrace.distributed_trace_key, None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user_headers.pop(MessageTrace.distributed_trace_key, None) | |
user_headers.pop("newrelic", None) |
class HeaderMixin: | ||
synthetics_key = "X-NewRelic-Synthetics" | ||
synthetics_info_key = "X-NewRelic-Synthetics-Info" | ||
distributed_trace_key = "newrelic" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
distributed_trace_key = "newrelic" |
_process_setting(section, "debug.connect_span_stream_in_developer_mode", "getboolean", None) | ||
_process_setting(section, "debug.otlp_content_encoding", "get", None) | ||
_process_setting(section, "cross_application_tracer.enabled", "getboolean", None) | ||
# _process_setting(section, "cross_application_tracer.enabled", "getboolean", None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# _process_setting(section, "cross_application_tracer.enabled", "getboolean", None) |
intrinsics["error.expected"] = error.expected | ||
intrinsics["transactionName"] = self.path | ||
intrinsics["spanId"] = error.span_id | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
intrinsics["nr.transactionGuid"] = self.guid |
try: | ||
dt_headers = MessageTrace.generate_request_headers(transaction) | ||
if dt_headers: | ||
headers.update(dict(dt_headers)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Start reviewing again at this file.
2001df8
to
f53c517
Compare
This PR removes Cross Application Tracing (CAT) from the agent