Skip to content

Commit fc49a44

Browse files
[mq] working branch - merge 4b34079 on top of main at 283e3c6
{"baseBranch":"main","baseCommit":"283e3c62ea408a18104f7179cd60db26580485de","createdAt":"2026-02-05T16:43:05.752201Z","headSha":"4b34079cbc2101202661c92e448ec3760312949b","id":"d34c9ea9-9000-4b18-9e1f-6cf0388672e6","nextMergeabilityCheckAt":"2026-02-05T17:20:05.461825Z","priority":"200","pullRequestNumber":"1133","queuedAt":"2026-02-05T17:19:51.846115Z","status":"STATUS_QUEUED"}
2 parents 548e921 + 4b34079 commit fc49a44

File tree

10 files changed

+426
-158
lines changed

10 files changed

+426
-158
lines changed

lib/saluki-components/src/common/otlp/config.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//! Shared OTLP receiver configuration.
22
3+
use bytesize::ByteSize;
34
use serde::Deserialize;
45

56
fn default_grpc_endpoint() -> String {
@@ -18,6 +19,10 @@ fn default_max_recv_msg_size_mib() -> u64 {
1819
4
1920
}
2021

22+
pub(crate) const fn default_traces_string_interner_size() -> ByteSize {
23+
ByteSize::kib(512)
24+
}
25+
2126
/// Receiver configuration for OTLP endpoints.
2227
///
2328
/// This follows the Datadog Agent `otlp_config.receiver` structure.
@@ -201,6 +206,12 @@ pub struct TracesConfig {
201206
#[serde(default)]
202207
pub probabilistic_sampler: ProbabilisticSampler,
203208

209+
/// Total size of the string interner used for OTLP traces.
210+
///
211+
/// Defaults to 512 KiB.
212+
#[serde(rename = "string_interner_size", default = "default_traces_string_interner_size")]
213+
pub string_interner_bytes: ByteSize,
214+
204215
/// The internal port on the Core Agent to forward traces to.
205216
///
206217
/// Defaults to 5003.
@@ -254,6 +265,7 @@ impl Default for TracesConfig {
254265
ignore_missing_datadog_fields: false,
255266
enable_otlp_compute_top_level_by_span_kind: default_enable_otlp_compute_top_level_by_span_kind(),
256267
probabilistic_sampler: ProbabilisticSampler::default(),
268+
string_interner_bytes: default_traces_string_interner_size(),
257269
internal_port: default_internal_port(),
258270
}
259271
}

lib/saluki-components/src/common/otlp/traces/normalize.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ pub fn normalize_tag_value(value: &str) -> MetaString {
160160
normalize(value, false)
161161
}
162162

163+
pub(super) fn is_normalized_tag_value(value: &str) -> bool {
164+
is_normalized_ascii_tag(value, false)
165+
}
166+
163167
/// Normalizes a tag (key:value).
164168
#[allow(dead_code)]
165169
pub fn normalize_tag(value: &str) -> MetaString {

0 commit comments

Comments
 (0)