Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Telemetry to Amplitude

Daisy-pliu edited this page May 27, 2020 · 10 revisions

Background

  • Current Telemetry Ping data process: Client App -> Mozilla Telemetry Backend -> Mozilla Data Pipeline -> Amplitude Backend
  • For [Mozilla Data Pipeline], we need a script for the data team to run a scheduled job to export telemetry data to Amplitude backend via Amplitude web API.

Trigger from Bitrise CI

Document for triggering event ping PR from Bitrise CI (Restricted within mozilla corp)

Setup

Steps:

  • in project root
  • run below script to write the new mapping to the sql file.
cp ./docs/view.sql [DATA-REPO-PATH]/sql/telemetry/rocket_android_events_v1/view.sql 

for example

cp ./docs/view.sql ../bigquery-etl/sql/telemetry/rocket_android_events_v1/view.sql 
  • Create a new PR to the data team's repo Sample PR
  • Ask the BI team to verify the script again.
  • Ask Frank from the data team to review and merge or slack tpe-metrics to ask questions.