You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Agent causes exception when distributed tracing is enabled and ASP.NET Core application uses the RequestLocalization middleware. Appears to affect ASP.NET Core apps running on Linux in a docker container.
Steps to Reproduce
Create new Web API
mkdir locale
cd locale
dotnet new webapi
Add the RequestLocalization middleware in Startup.cs
Description
Agent causes exception when distributed tracing is enabled and ASP.NET Core application uses the
RequestLocalization
middleware. Appears to affect ASP.NET Core apps running on Linux in a docker container.Steps to Reproduce
Create new Web API
Add the RequestLocalization middleware in
Startup.cs
Add the following controller
Create a
Dockerfile
and replaceput_license_key_here
Create a
docker-compose.yml
filePublish and run the application
Hit the endpoint
You will get the following exception:
The text was updated successfully, but these errors were encountered: