newrelic / go-agent

New Relic Go Agent
Apache License 2.0
775 stars 295 forks source link

added Name() transaction name getter function #755

Closed nr-swilloughby closed 1 year ago

nr-swilloughby commented 1 year ago

Partially satisfies Issue 714 by providing a Name getter method on Transaction to get the current transaction name.

Needs review to ensure adding this won't be a problem anywhere but looks to work reliably so far. Adding this much toward the customer issue because it's simple enough to do now with minimal effort for the upcoming release until looking at the rest of the enhancement request in that issue at a later time.