Repository navigation
feat: disable-server-timing config with YAML/env/agent priority - #539
Open
arjun-rajappa wants to merge 1 commit into
Open
arjun-rajappa wants to merge 1 commit into
arjun-rajappa wants to merge 1 commit into
Conversation
Signed-off-by: Arjun Rajappa <arjun.rajappa@ibm.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
read_disable_server_timing_configinInstana::Configtoread the flag at initialisation time from YAML
(
tracing.global.disable-server-timing) or the env varINSTANA_TRACING_DISABLE_SERVER_TIMINGparse_disable_server_timing_from_yamlprivate helper to parsethe YAML source (supports both
tracingandcom.instana.tracingtop-level keys)read_disable_server_timing_from_agentto pull the flag fromthe agent discovery payload when neither YAML nor env var is set
Instana::Rackmiddleware to skipServer-Timingheaderinjection when
::Instana.config[:disable_server_timing]istrueDisableServerTimingConfigTestcovering default, env, YAML,agent, and precedence scenarios
disabled and that pre-existing
Server-Timingheaders set by the appare preserved