Kibana version: 8.1.2
Elasticsearch version: 8.1.2
APM Server version: 8.1.2
APM Agent language and version: APM .NET 1.19.0
Browser version: Chrome 108.0.5359.125 (Official Build) (64-bit)
APM transaction name is misleading as follows
- the transaction name of success request is formatted as “{HTTP method} {controller}/{method}”
- the transaction name of failure request is formatted as “{HTTP method} {URL}”
I expect all transaction names to be formatted as “{HTTP method} {URL}”
I can fix this with a weird solution by setting the name at the beginning of request in middleware.
Agent.Tracer.CurrentTransaction.Name = Agent.Tracer.CurrentTransaction.Name;
also, from my debugging the name value is always “{HTTP method} {URL}” since beginning.
Here is my screenshot.