apm-agent-dotnet icon indicating copy to clipboard operation
apm-agent-dotnet copied to clipboard

ElasticApm:ServiceName doesn't work

Open cysnet opened this issue 3 years ago • 1 comments

My Project is .Net Framwork and name is WebApplication3. Use the nuget package Elastic.Apm.AspNetFullFramework

image

I set the ServiceName as TestFromworkSite as below

	<add key="ElasticApm:ServiceName" value="TestFromworkSite" />
	<add key="ElasticApm:Environment" value="Dev" />

but there is no data is TestFromworkSite and all data in WebApplication3 image

I hope that data should be in Service TestFromworkSite

cysnet avatar Nov 24 '21 01:11 cysnet

+1. The output in ECS doesn't include the service.name section at all.

ASP.NET Core and .Net Core 5

haroldrandom avatar Feb 08 '22 07:02 haroldrandom

I tried to reproduce the problem with the latest version (1.19.0) of Elastic.Apm.AspNetFullFramework but to no avail. Hence, I am closing this issue. Should it persist, feel free to reopen and please provide a reproducer.

z1c0 avatar Jan 19 '23 09:01 z1c0