• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

m-lab / etl / 7217 / 1
67%
main: 67%

Build:
Build:
LAST BUILD BRANCH: prod-v2.27.4
DEFAULT BRANCH: main
Ran 02 Mar 2022 08:38AM UTC
Files 44
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Mar 2022 08:35AM UTC coverage: 64.52% (+0.03%) from 64.487%
PATH=$PATH:$HOME/gopath/bin

push

travis-ci-com

web-flow
Add Gardener v2 parser for switch datatype (#1059)

* Add Gardener v2 parser for switch datatype (#1044)

* Initial implementation of the new switch datatype parser.

* Fix error handling in parser/switch.go

* Fix error handling.

* Fill in summary field from samples

* Use reflection and add unit tests.

* Do not return an error on unknown metrics.

This means we just fill the fields we want in the summary, and ignore
any extra data.

* Update update-schema/update.go to refer to the new SwitchRow struct.

* Update switch datatype parser and schema to use int64

* Update dataset/table names in update.go

* Add ID to SwitchRow and Broadcast-related fields to the summary.

* The "a" field should be lowercase.

* Update partition field for the switch table.

* Use DATE instead of TIMESTAMP and add CollectionTime to the summary.

Also, it's easier to use machine and site if they are not hostnames.

* Update comments.

* Update regex to account for v1 M-Lab hostnames.

* Add accurate estimation of SwitchRow's size.

* Update go.mod/go.sum after running go mod tidy.

* Remove commented line

* Update comment.

* Update ID format and variable name.

* Update comments.

* Add condition to only remove octets.local.tx/rx when needed.

* Update switch parser tests.

* s/valField/deltaField/

* Update tests.

* Updated tests to verify switch discards.

* Update tests.

* Update comment.

* Sort output by timestamp in the switch parser

* Update metric name TestCount -> TestTotal

3977 of 6164 relevant lines covered (64.52%)

0.7 hits per line

Source Files on job 7217.1 (PATH=$PATH:$HOME/gopath/bin)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6591
  • Travis Job 7217.1
  • 3587755e on github
  • Prev Job for PATH=$PATH:$HOME/gopath/bin on master (#7210.1)
  • Next Job for PATH=$PATH:$HOME/gopath/bin on master (#7228.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc