newrelic-python-agent icon indicating copy to clipboard operation
newrelic-python-agent copied to clipboard

Configurable web transaction name

Open giladmaya opened this issue 3 years ago • 14 comments

I'm using Flask framework, and the web transaction name is automatically determined by callable_name of function. As a result, stakeholders that access NewRelic dashboards cannot understand which endpoint is related to the transaction.

I would like to have the option to configure the web transaction name according to the rule, which more informative and is known by other stakeholders.

I've considered using set_transaction_name but we don't use new relic agent directly in our code, and doing so would not be as clean as having it configured as part of agent initialisation.

It's a feature that we must have in order to be able to handle production failures rapidly (currently we have to lookup the relevant function in our code base which wastes precious time)

giladmaya avatar Feb 03 '22 10:02 giladmaya

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 16 '22 16:04 stale[bot]

Supporting this in starlette would be nice as well.

billcrook avatar Aug 11 '22 00:08 billcrook

Looks like https://github.com/encode/starlette/issues/685 would make this a bit easier.

billcrook avatar Aug 11 '22 00:08 billcrook

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 15 '22 23:10 stale[bot]

bump

billcrook avatar Oct 17 '22 13:10 billcrook