APM transaction name is not consistent

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.

1 Like

Hi @ciizo,

thanks for bringing this to our attention.
Do you mind creating an issue for that in our GitHub repository?
That way we can triage and prioritize the issue better.


1 Like

Thanks, here we go [BUG] APM transaction name is not consistent · Issue #1969 · elastic/apm-agent-dotnet · GitHub

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.