We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36683dc commit 179eb12Copy full SHA for 179eb12
newrelic/core/node_mixin.py
@@ -90,7 +90,7 @@ def span_event(self, settings, base_attrs=None, parent_guid=None, attr_class=dic
90
ct_processing_time[0] += (time.time() - start_time)
91
return [i_attrs, u_attrs, {}] if settings.distributed_tracing.minimize_attributes.enabled else [i_attrs, u_attrs, a_attrs]
92
# If this is the an LLM node, always return it.
93
- if a_attrs.get("llm"):
+ if a_attrs.get("llm") or i_attrs["name"].startswith("Llm/"):
94
95
return [i_attrs, u_attrs, {"llm": True}] if settings.distributed_tracing.minimize_attributes.enabled else [i_attrs, u_attrs, a_attrs]
96
# If the span is not an exit span, skip it by returning None.
0 commit comments