We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eebc385 commit e388901Copy full SHA for e388901
tests/conftest.py
@@ -347,10 +347,10 @@ def append_envelope(envelope):
347
continue
348
349
if item.type in ("metric", "log", "span"):
350
- for json in item.payload.json["items"]:
351
- t = {k: v for k, v in json.items() if k != "attributes"}
+ for i in item.payload.json["items"]:
+ t = {k: v for k, v in i.items() if k != "attributes"}
352
t["attributes"] = {
353
- k: v["value"] for k, v in json["attributes"].items()
+ k: v["value"] for k, v in i["attributes"].items()
354
}
355
telemetry.append(UnwrappedItem(type=item.type, payload=t))
356
else:
0 commit comments