Add .gz extension to to traces.json

As we are sending a gzipped file. We could make the rageshake server
look for this and gunzip it, but either way this seems like as good a
way as any to signal that the file is gzipped.
This commit is contained in:
David Baker 2023-04-20 09:55:57 +01:00
parent 0de1aa74ee
commit 1dd70ea22d

View file

@ -249,7 +249,7 @@ export function useSubmitRageshake(): {
body.append( body.append(
"file", "file",
gzip(ElementCallOpenTelemetry.instance.rageshakeProcessor!.dump()), gzip(ElementCallOpenTelemetry.instance.rageshakeProcessor!.dump()),
"traces.json" "traces.json.gz"
); );
if (inspectorState) { if (inspectorState) {