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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eTraceServiceOptions\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Diagnostics.AspNetCore3\u003c/code\u003e namespace, used for configuring trace initialization.\u003c/p\u003e\n"],["\u003cp\u003eThe class is marked as obsolete, with users being advised to switch to \u003ccode\u003eGoogle.Cloud.Diagnostics.AspNetCore3.AspNetCoreTraceOptions\u003c/code\u003e instead.\u003c/p\u003e\n"],["\u003cp\u003eIt provides configuration properties such as \u003ccode\u003eClient\u003c/code\u003e, \u003ccode\u003eOptions\u003c/code\u003e, \u003ccode\u003eProjectId\u003c/code\u003e, and \u003ccode\u003eTraceFallbackPredicate\u003c/code\u003e to customize trace behavior and send traces, and can be null.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProjectId\u003c/code\u003e property allows users to specify their Google Cloud Platform project ID, with automatic detection on GAE or GCE.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTraceFallbackPredicate\u003c/code\u003e property offers a function to determine if a request should be traced when trace headers are not present.\u003c/p\u003e\n"]]],[],null,[]]