Skip to content

Commit ef13720

Browse files
fix(trace-stats): leave lang and tracerVersion empty for agent to populate
The CSS spec states these fields should be left empty in ClientStatsPayload for the agent to populate. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a8f476e commit ef13720

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

libdd-data-pipeline/src/stats_exporter.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,16 +164,16 @@ fn encode_stats_payload(
164164
} else {
165165
meta.env.clone()
166166
},
167-
lang: meta.language.clone(),
168167
version: meta.app_version.clone(),
169168
runtime_id: meta.runtime_id.clone(),
170-
tracer_version: meta.tracer_version.clone(),
171169
sequence,
172170
stats: buckets,
173171
git_commit_sha: meta.git_commit_sha.clone(),
174172
process_tags: meta.process_tags.clone(),
175-
// These fields are unused or will be set by the Agent
173+
// These fields will be set by the Agent
176174
service: meta.service.clone(),
175+
lang: String::new(),
176+
tracer_version: String::new(),
177177
container_id: String::new(),
178178
tags: Vec::new(),
179179
agent_aggregation: String::new(),

0 commit comments

Comments
 (0)