public TraceDecisionPredicate TraceFallbackPredicate { get; set; }
A function to trace requests. If the trace header is not set then this function
will be called to determine if a given request should be traced. This will
not override trace headers. Can be null.
[[["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-03-21 UTC."],[[["This page details the `TraceServiceOptions` class within the `Google.Cloud.Diagnostics.AspNetCore3` namespace, used for configuring trace initialization."],["The class is marked as obsolete, with users being advised to switch to `Google.Cloud.Diagnostics.AspNetCore3.AspNetCoreTraceOptions` instead."],["It provides configuration properties such as `Client`, `Options`, `ProjectId`, and `TraceFallbackPredicate` to customize trace behavior and send traces, and can be null."],["The `ProjectId` property allows users to specify their Google Cloud Platform project ID, with automatic detection on GAE or GCE."],["The `TraceFallbackPredicate` property offers a function to determine if a request should be traced when trace headers are not present."]]],[]]