From 0865a6f47a582cbd4ed02e9dc571a2d18cb3ae77 Mon Sep 17 00:00:00 2001 From: Marco Costa Date: Tue, 12 Dec 2023 12:49:47 -0800 Subject: [PATCH] wip --- sig/datadog/core/telemetry/collector.rbs | 2 +- spec/datadog/tracing/integration_spec.rb | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sig/datadog/core/telemetry/collector.rbs b/sig/datadog/core/telemetry/collector.rbs index a01d736d65e..03fc4fadf74 100644 --- a/sig/datadog/core/telemetry/collector.rbs +++ b/sig/datadog/core/telemetry/collector.rbs @@ -14,7 +14,7 @@ module Datadog private - TARGET_OPTIONS: ::Array["ci.enabled" | "logger.level" | "profiling.advanced.code_provenance_enabled" | "profiling.advanced.endpoint.collection.enabled" | "profiling.enabled" | "runtime_metrics.enabled" | "tracing.analytics.enabled" | "tracing.distributed_tracing.propagation_inject_style" | "tracing.distributed_tracing.propagation_extract_style" | "tracing.enabled" | "tracing.log_injection" | "tracing.partial_flush.enabled" | "tracing.partial_flush.min_spans_threshold" | "tracing.priority_sampling" | "tracing.report_hostname" | "tracing.sampling.default_rate" | "tracing.sampling.rate_limit"] + TARGET_OPTIONS: ::Array[::String] def additional_payload_variables: () -> untyped diff --git a/spec/datadog/tracing/integration_spec.rb b/spec/datadog/tracing/integration_spec.rb index 9075c17d4b5..e8d6c1d7fe1 100644 --- a/spec/datadog/tracing/integration_spec.rb +++ b/spec/datadog/tracing/integration_spec.rb @@ -411,7 +411,6 @@ def agent_receives_span_step3(previous_success) let(:stats) { tracer.writer.stats } let(:custom_sampler) { nil } - let(:priority_sampling) { false } let(:trace_sampling_rate) { nil } let(:json_rules) { JSON.dump(rules) if rules } @@ -508,7 +507,6 @@ def agent_receives_span_step3(previous_success) context 'by direct sampling' do let(:custom_sampler) { no_sampler } - let(:priority_sampling) { false } let(:no_sampler) do Class.new do