This option controls the number of links contained in a single publish span.
Environment variable
This option is controlled by the OTEL_SPAN_LINK_COUNT_LIMIT environment variable. If the environment variable is unset or unparsable, it uses the user provided value, and then the default of 128.
[[["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 page provides access to the documentation for various versions of the `MaxOtelLinkCountOption` within the Google Cloud Pub/Sub C++ library."],["Version 2.37.0-rc is the latest release candidate, while 2.36.0 is the most recent stable release, with historical versions listed down to 2.11.0."],["`MaxOtelLinkCountOption` controls the number of links in a publish span, with both Cloud Trace and Open Telemetry setting default limits to 128 links per span."],["The `OTEL_SPAN_LINK_COUNT_LIMIT` environment variable can override the user-provided or default value of link count, defaulting to 128 if not set."],["The type alias for `MaxOtelLinkCountOption` is `std::size_t`."]]],[]]