Skip to content

Commit 952c5ce

Browse files
Remi Hakimgmmeyer
authored andcommitted
[core][emitter] Force source type to system for legacy payload
To avoid churning all contexts
1 parent 6c2a34b commit 952c5ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

emitter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ def split_payload(legacy_payload):
124124
for ts in legacy_payload['metrics']:
125125
sample = {
126126
"metric": ts[0],
127-
"points": [(ts[1], ts[2])]
127+
"points": [(ts[1], ts[2])],
128+
"source_type_name": "system",
128129
}
129130

130131
if len(ts) >= 4:

0 commit comments

Comments
 (0)