build: golang.org/x/build/internal/buildstats Index | Files

package buildstats

import "golang.org/x/build/internal/buildstats"

Package buildstats contains code to sync the coordinator's build logs from Datastore to BigQuery.

Index

Package Files

buildstats.go

Variables

var Verbose = false

Verbose controls logging verbosity.

func SyncBuilds Uses

func SyncBuilds(ctx context.Context, env *buildenv.Environment) error

SyncBuilds syncs the datastore "Build" entities to the BigQuery "Builds" table. This stores information on each build as a whole, without details.

func SyncSpans Uses

func SyncSpans(ctx context.Context, env *buildenv.Environment) error

SyncSpans syncs the datastore "Span" entities to the BigQuery "Spans" table. These contain the fine-grained timing details of how a build ran.

Package buildstats imports 11 packages (graph) and is imported by 2 packages. Updated 2017-08-21. Refresh now. Tools for package owners.