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

Fix detection of api key and secret token

Open monty241 opened this issue 8 months ago • 1 comments

When the ApiKey == string.Empty, a header will be added. This seems unlikely to be intended. Dito for SecretToken.

We have had some problems due to this handling in Summer of 2024.

Now we are making improvement, inline with other code in this file such as:

if (!string.IsNullOrEmpty(service.Name))

monty241 avatar Mar 04 '25 11:03 monty241