-
Notifications
You must be signed in to change notification settings - Fork 124
Bug 1990006 - Create an initial ETL workflow for gecko-trace component #8165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Bug 1990006 - Create an initial ETL workflow for gecko-trace component #8165
Conversation
|
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>) | |||
There was a problem hiding this comment.
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.
There was a problem hiding this 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.
cdf9606 to
aa5bdad
Compare
|
@akkomar, I don't know if that fixed it, https://app.circleci.com/pipelines/github/mozilla/bigquery-etl/53295 seams to say so. |
aa5bdad to
3bd3655
Compare
| @click.option( | ||
| "--output-dir", | ||
| help="Output directory generated SQL is written to.", | ||
| type=click.Path(file_okay=False, path_type=Path), |
There was a problem hiding this comment.
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
3bd3655 to
c6cc58e
Compare
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