[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."],[[["This document provides details on the `IExternalTraceProvider` interface, which is used to include external trace information in log entries when Google Cloud Tracing is not directly used."],["The `IExternalTraceProvider` interface is now obsolete, and users should instead inject a `Google.Cloud.Diagnostics.Common.ITraceContext`."],["The interface includes a `GetCurrentTraceContext` method that takes an `IServiceProvider` and returns a `TraceContextForLogEntry` object, or null if no trace context is available."],["The page provides links to the different versions of the `IExternalTraceProvider` class, with the latest version being 5.2.0."]]],[]]