m-lab / traceroute-caller

A sidecar service which runs traceroute after a connection closes
Apache License 2.0
18 stars 5 forks source link

Add bigquery tags to struct fields and create an internal directory #137

Closed SaiedKazemi closed 2 years ago

SaiedKazemi commented 2 years ago

This commit adds the missing bigquery tags to all struct fields of datatypes that are stored in BigQuery. In the legacy pipeline, we used streaming inserts, and BigQuery respected the bigquery tags. In Gardener 2.0, the rows are written to json files, and the json tags are used. Gardener then triggers the loading into BigQuery from the json files.

This commit also moves ipcache and triggertrace packages to the internal directory because these are not used externally.

Changes were tested locally with "go test -race" and "docker-compose".


This change is Reviewable

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 437


Totals Coverage Status
Change from base Build 434: -0.01%
Covered Lines: 615
Relevant Lines: 635

💛 - Coveralls
SaiedKazemi commented 2 years ago

Thank you @cristinaleonr .