Skip to content

The data pipeline for HTTP Archive orchestrated by Dataform

Notifications You must be signed in to change notification settings

HTTPArchive/dataform

Repository files navigation

HTTP Archive datasets pipeline

This repository handles the HTTP Archive data pipeline, which takes the results of the monthly HTTP Archive run and saves this to the httparchive dataset in BigQuery.

Pipelines

The pipelines are run in Dataform service in Google Cloud Platform (GCP) and are kicked off automatically on crawl completion and other events. The code in the main branch is used on each triggered pipeline run.

Crawl results

Tag: crawl_complete

  • httparchive.crawl.pages
  • httparchive.crawl.parsed_css
  • httparchive.crawl.requests

Core Web Vitals Technology Report

Tag: crux_ready

  • httparchive.core_web_vitals.technologies

Consumers:

Blink Features Report

Tag: crawl_complete

  • httparchive.blink_features.features
  • httparchive.blink_features.usage

Consumers:

Schedules

  1. crawl-complete PubSub subscription

    Tags: ["crawl_complete"]

  2. bq-poller-crux-ready Scheduler

    Tags: ["crux_ready"]

Triggering workflows

In order to unify the workflow triggering mechanism, we use a Cloud Run function that can be invoked in a number of ways (e.g. listen to PubSub messages), do intermediate checks and trigger the particular Dataform workflow execution configuration.

Contributing

Dataform development

  1. Create new dev workspace in Dataform.
  2. Make adjustments to the dataform configuration files and manually run a workflow to verify.
  3. Push all your changes to a dev branch & open a PR with the link to the BigQuery artifacts generated in the test workflow.

Workspace hints

  1. In workflow_settings.yaml set env_name: dev to process sampled data.
  2. In includes/constants.js set today or other variables to a custome value.

About

The data pipeline for HTTP Archive orchestrated by Dataform

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages