mozilla / docker-etl Goto Github PK
View Code? Open in Web Editor NEWCollection of dockerized ETL jobs managed by data engineering.
License: Mozilla Public License 2.0
Collection of dockerized ETL jobs managed by data engineering.
License: Mozilla Public License 2.0
This ETL script will periodically fetch bugs from Web Compatibility > Knowledge Base component on bugzilla, as well as their core bugs dependencies and breakage reports and then store them into BQ.
I've noticed some occasional unclassified reports that were missed by the broken_site_report_ml
job.
Currently we select reports for classification based on a condition where reported_at
is after the last successful classification run:
docker-etl/jobs/broken-site-report-ml/broken_site_report_ml/main.py
Lines 146 to 157 in 625d82e
Thinking this could have happened because at the time of running the job, the missed reports were not in BQ table, and got inserted with a delay. So to fix this, we could look for reports don't have a label and with reported_at
before the last successful classification run.
DAP defines a Collector role which polls the leader for available data. Since we need metrics in BQ for further processing we need to implement this role.
This ETL script will periodically send a batch of reports to bugbug http service for classification and store results in BQ.
#!/bin/bash -eo pipefail
# Store service account
echo $MAU_DASHBOARDS_KEY > ${HOME}/gcloud-service-key.json
# Initialize gcloud CLI
gcloud auth activate-service-account --key-file=${HOME}/gcloud-service-key.json
gcloud --quiet config set project $MAU_DASHBOARDS_PROJECT
gcloud --quiet config set compute/zone $GOOGLE_COMPUTE_ZONE
ERROR: (gcloud.auth.activate-service-account) There was a problem refreshing your current auth tokens: invalid_grant: Invalid grant: account not found
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.