[Obsolete("Inject a Google.Cloud.Diagnostics.Common.ITraceContext instead.")]public interface IExternalTraceProvider
Provides external trace information to include in a log entry
if there's no Google Trace available.
Implement this interface when traces are being generated by your environment
and sent to Google Cloud Tracing not via the Google.Cloud.Diagnostics library.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["The `IExternalTraceProvider` interface is designed to provide external trace information for log entries when Google Trace is not available."],["This interface should be implemented when traces are generated externally and sent to Google Cloud Tracing outside of the `Google.Cloud.Diagnostics` library."],["The `GetCurrentTraceContext` method, which takes an `IServiceProvider` as a parameter, is the only method available on the `IExternalTraceProvider` interface."],["The `GetCurrentTraceContext` method returns a `TraceContextForLogEntry` that can be linked to a log entry, or null if there is no current trace context available."],["The latest version available is 5.2.0, but this documentation pertains to version 4.4.0, indicating it's an older version of the interface."]]],[]]