tree: 969d31ad3fec85cbeddd0761b6a1cc3cc474da90 [path history] [tgz]
  1. gen.go
  2. metrics.pb.go
  3. metrics.proto
  4. README.md
go/src/infra/qscheduler/qslib/protos/metrics/README.md

Updating the BigQuery Schema for Task Events

The metrics.proto contained in this directory defines a TaskEvent message that is used to record structured data about task events. When this proto is modified, the BigQuery tables where the data is stored need to be modified as well.

To create or update a bigquery table, run the following command:

bqschemaupdater -table $PROJECT_ID.qs_events.task_events -message-dir . -message metrics.TaskEvent

where $PROJECT_ID is the appengine project ID, for instance qscheduler-swarming.