Skip to content

Commit 455e07c

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 a2892db commit 455e07c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libdd-data-pipeline/src/stats_exporter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,16 @@ fn encode_stats_payload(
160160
pb::ClientStatsPayload {
161161
hostname: meta.hostname.clone(),
162162
env: meta.env.clone(),
163-
lang: meta.language.clone(),
164163
version: meta.app_version.clone(),
165164
runtime_id: meta.runtime_id.clone(),
166-
tracer_version: meta.tracer_version.clone(),
167165
sequence,
168166
stats: buckets,
169167
git_commit_sha: meta.git_commit_sha.clone(),
170168
process_tags: meta.process_tags.clone(),
171169
// These fields are unused or will be set by the Agent
172170
service: String::new(),
171+
lang: String::new(),
172+
tracer_version: String::new(),
173173
container_id: String::new(),
174174
tags: Vec::new(),
175175
agent_aggregation: String::new(),

0 commit comments

Comments
 (0)