Include unended spans in rageshakes

By turning the RageshakeSpanExporter into a SpanProcessor, it can now be notified of spans as soon as they're started.
This commit is contained in:
Robin Townsend
2023-04-12 17:07:18 -04:00
parent d211d27817
commit a17ffcc327
3 changed files with 26 additions and 22 deletions

View File

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