You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FINEST level logs generated by CandidateTransactionName.TrySet are not accurate if the SetTransactionName API method is called multiple times in a single transaction. Currently the agent logs indicate that the transaction name specified in the second call to the SetTransactionName API is ignored, but the code does not ignore that name and instead keeps it. The log message is incorrect.
Expected Behavior
If the current transaction name, and the new transaction name both have a priority of User, the log message should indicate that the transaction name is changed to the new transaction name. Doing this will make the log message consistent with the actual logic.
Call the SetTransactionName API with a value such as NameFromFirstCall
Call the SetTransactionName API with a new value such as NameFromSecondCall
Observe that the logs indicate that the transaction name NameFromSecondCall is ignored, even though the transaction data shows that the transaction name is NameFromSecondCall is used for the transaction event and the scoped metrics.
For Maintainers Only or Hero Triaging this bug Suggested Priority (P1,P2,P3,P4,P5): P4 Suggested T-Shirt size (S, M, L, XL, Unknown): S
The text was updated successfully, but these errors were encountered:
Description
FINEST level logs generated by
CandidateTransactionName.TrySet
are not accurate if theSetTransactionName
API method is called multiple times in a single transaction. Currently the agent logs indicate that the transaction name specified in the second call to theSetTransactionName
API is ignored, but the code does not ignore that name and instead keeps it. The log message is incorrect.Expected Behavior
If the current transaction name, and the new transaction name both have a priority of
User
, the log message should indicate that the transaction name is changed to the new transaction name. Doing this will make the log message consistent with the actual logic.Troubleshooting or NR Diag results
Steps to Reproduce
SetTransactionName
API with a value such asNameFromFirstCall
SetTransactionName
API with a new value such asNameFromSecondCall
NameFromSecondCall
is ignored, even though the transaction data shows that the transaction name isNameFromSecondCall
is used for the transaction event and the scoped metrics.For Maintainers Only or Hero Triaging this bug
Suggested Priority (P1,P2,P3,P4,P5): P4
Suggested T-Shirt size (S, M, L, XL, Unknown): S
The text was updated successfully, but these errors were encountered: