Skip to content

Conversation

@michaelvanstraten
Copy link

Description

This patch adds an initial ETL workflow for processing traces collected by the gecko-trace component from varius Gecko based Firefox products.

Related Tickets & Documents

https://bugzilla.mozilla.org/show_bug.cgi?id=1990006
https://docs.google.com/document/d/1HIcggXk8EZ7_4x57M20Rc9RmXenmh6cDtQ2KCJClvKo/edit?usp=sharing

@michaelvanstraten michaelvanstraten requested a review from a team as a code owner September 26, 2025 17:24
@michaelvanstraten
Copy link
Author

michaelvanstraten commented Sep 26, 2025

This partially replaces this semiautomatic script that was used to push error failures reported over telemetry to Bugzilla.

I marked this as initial because I am unsure if this is recommended to do in BigQuery. The script is doing a post request for each finding to the Bugzilla rest API.

@@ -0,0 +1,67 @@
CREATE OR REPLACE FUNCTION gecko_trace.build_root_span(spans ARRAY<JSON>)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If using the Bugzilla rest API is really supported, then I would deploy these UDF's in a gs bucket as a bundled npm package, maybe.

Copy link
Collaborator

@akkomar akkomar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's test failure in generate-sql.

@michaelvanstraten
Copy link
Author

@akkomar, I don't know if that fixed it, https://app.circleci.com/pipelines/github/mozilla/bigquery-etl/53295 seams to say so.

@click.option(
"--output-dir",
help="Output directory generated SQL is written to.",
type=click.Path(file_okay=False, path_type=Path),
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only of type pathlib.Path if the parameters are parsed by click.

This patch adds an initial ETL workflow for processing traces collected
by the [gecko-trace component](1) from varius Gecko based Firefox
products.

[1]:
https://searchfox.org/firefox-main/source/toolkit/components/gecko-trace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants