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-05 UTC."],[[["This webpage lists the `MaxOtelLinkCountOption` across multiple versions of the C++ Pub/Sub library, ranging from version 2.11.0 to the latest release candidate 2.37.0-rc."],["The `MaxOtelLinkCountOption` controls the maximum number of Open Telemetry span links included in a single publish span."],["Cloud Trace and Open Telemetry both have default limits of 128 for the number of links per span, which should be considered by developers."],["The `OTEL_SPAN_LINK_COUNT_LIMIT` environment variable can override the user-provided value and defaults to 128 if the environment variable is not set or can't be parsed."]]],[]]