public interface ICloudTraceNameProviderInterface for implementing providers that can name trace spans
Namespace
Google.Cloud.Diagnostics.AspNetCoreAssembly
Google.Cloud.Diagnostics.AspNetCore.dll
Methods
GetTraceNameAsync(HttpContext)
Task<string> GetTraceNameAsync(HttpContext httpContext)When overriden in an implementing class it will return the name of the trace span based off the content in the HttpContext
| Parameter | |
|---|---|
| Name | Description |
httpContext |
HttpContextThe current request's HttpContext |
| Returns | |
|---|---|
| Type | Description |
Task<String> |
A string with the name of the trace |