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

openzipkin / zipkin-go / 206
73%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2018 01:53PM UTC
Jobs 5
Files 30
Run time 3min
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

07 Nov 2018 01:50PM UTC coverage: 74.897% (-4.5%) from 79.402%
206

push

travis-ci

basvanbeek
<a href="https://github.com/openzipkin/zipkin-go/commit/<a class=hub.com/openzipkin/zipkin-go/commit/3793c981d4f621c0e3eb1457acffa2c1cc591384">3793c981d<a href="https://github.com/openzipkin/zipkin-go/commit/3793c981d4f621c0e3eb1457acffa2c1cc591384">&quot;&gt;proto: add Zipkin proto + converter (#88)

* proto: add Zipkin proto + converter

Added:
a) Zipkin v2 Proto3 definitions from
https://github.com/openzipkin/zipkin-api/blob/</a><a class="double-link" href="https://github.com/openzipkin/zipkin-go/commit/<a class="double-link" href="https://github.com/openzipkin/zipkin-go/commit/6dfa27520abb62de7b01dba04683177afaa40c8c">6dfa27520</a>">6dfa27520</a><a href="https://github.com/openzipkin/zipkin-go/commit/3793c981d4f621c0e3eb1457acffa2c1cc591384">/zipkin.proto

b) a helper Protobuf function ParseSpans to parse
model.SpanModel-s from the serialized protobuf data

as well as an end-to-end test.

Fixes #87
Spawned by https://github.com/census-instrumentation/opencensus-service/pull/155

* proto/*/convert_proto.go: rename zps to s, return err early

Addressing review feedback:
* Rename zps to s
* On encountering any error during protoSpan-&gt;zipkinModelSapn,
return ASAP

* proto/*/v2: move payload to a global variable

Requested in codereview feedback

* proto/*/v2: make fmt.Errorf calls more descriptive

Provide a more descriptive context in fmt.Errorf
calls to match the style in:
https://github.com/openzipkin/zipkin-go/blob/master/propagation/b3/shared.go

* proto/*/v2: test and assert known failures

Test to ensure that the failures that we know
could happen e.g.
* Missing/invalid length TraceID
* Missing/invalid length SpanID
* Invalid length ParentSpanID

are caught and report errors instead of successfully
parsing.
Also tweaked the errors returned to be more descriptive
and graceful.

1274 of 1701 relevant lines covered (74.9%)

25075.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 206.1 07 Nov 2018 01:57PM UTC 0
74.9
Travis Job 206.1
2 206.2 07 Nov 2018 01:57PM UTC 0
74.9
Travis Job 206.2
3 206.3 07 Nov 2018 01:53PM UTC 0
83.11
Travis Job 206.3
4 206.4 07 Nov 2018 01:54PM UTC 0
66.71
Travis Job 206.4
5 206.5 07 Nov 2018 01:56PM UTC 0
66.71
Travis Job 206.5
Source Files on build 206
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #206
  • 3793c981 on github
  • Prev Build on master (#198)
  • Next Build on master (#214)
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