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-03-14 UTC."],[[["The latest release candidate version is 2.37.0-rc, and it is followed by version 2.36.0 as the next most recent release."],["This page documents the `MaxOtelLinkCountOption` for Google Cloud Pub/Sub C++ library, which specifies the maximum number of Open Telemetry span links."],["The maximum number of span links allowed by Cloud Trace and Open Telemetry by default is 128."],["The `OTEL_SPAN_LINK_COUNT_LIMIT` environment variable controls the `MaxOtelLinkCountOption`, defaulting to 128 if unset or unparsable."],["`MaxOtelLinkCountOption` is an alias of `std::size_t`."]]],[]]