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

openzipkin / zipkin-go
75%
master: 73%

Build:
Build:
LAST BUILD BRANCH: at/log-interface
DEFAULT BRANCH: master
Repo Added 07 Dec 2017 09:12PM UTC
Files 39
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

LAST BUILD ON BRANCH v0.2.2
branch: v0.2.2
CHANGE BRANCH
x
Reset
  • v0.2.2
  • 128_request_sampler_for_client
  • 65_adds_tracer_new_noop
  • 80_removes_request_size_on_empty
  • 80_removes_response_size_on_empty
  • adds_b3_single_heade
  • adds_err_handler_for_server
  • adds_error_response_reader
  • adds_finished_span_handler
  • adds_golang_ci
  • adds_noop_reporter
  • adds_support_for_end_time
  • adds_support_for_error_handler_for_http
  • adds_support_for_noop
  • enables_go_cache
  • exposes_binary_samplers
  • fix-travis
  • fixes_dep
  • fixes_deps_lint
  • fixes_kafka_reporter
  • fixes_kafka_serializer
  • fixes_proto_code
  • go_10_nd_11
  • go_116
  • go_1_12
  • grpc_parsers
  • improves_testing_readability
  • improves_tests_for_trace_id
  • lowercase_span_name_and_service_name
  • master
  • missing_tags
  • removes_b3_header_option_on_reporting
  • removes_tag_http_url
  • tweaks_kafka_documentation
  • uses_interface_for_http_client
  • v0.1.0
  • v0.1.1
  • v0.1.2
  • v0.1.3
  • v0.1.4
  • v0.1.5
  • v0.1.6
  • v0.1.7
  • v0.2.0
  • v0.2.1
  • v0.2.3
  • v0.2.4
  • v0.2.5

15 Sep 2019 03:41PM UTC coverage: 75.429%. First build
535

push

travis-ci

jcchavezs
Fix HTTP reporter potential unbounded goroutine creation (#146)

* Fix HTTP reporter potential unbounded goroutine creation

Currently the HTTP reporter spawns a new goroutine each time a new batch needs
to be sent to the server. Execution of those goroutines gets serialized through
the `sendMtx`.

This behavior is problematic when the zipkin server is down and leads to
creation of unbounded number of goroutines each of which will wait for its turn
on the `sendMtx` and then fail.

Fix this by creating one send goroutine to handle sending data to the server.
This also removes the need for the `sendMtx` since `sendBatch` will only be
called by the send goroutine.

Signed-off-by: Slavomir Kaslev <kaslevs@vmware.com>

* Add more HTTP reporter test cases

Add HTTP reporter test cases for BatchInterval() and BatchSize() options
behavior.

Signed-off-by: Slavomir Kaslev <kaslevs@vmware.com>

1845 of 2446 relevant lines covered (75.43%)

17617.63 hits per line

Relevant lines Covered
Build:
Build:
2446 RELEVANT LINES 1845 COVERED LINES
17617.63 HITS PER LINE
Source Files on v0.2.2
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
535 v0.2.2 Fix HTTP reporter potential unbounded goroutine creation (#146) * Fix HTTP reporter potential unbounded goroutine creation Currently the HTTP reporter spawns a new goroutine each time a new batch needs to be sent to the server. Execution of t... push 15 Sep 2019 03:50PM UTC jcchavezs travis-ci
75.43
See All Builds (961)
  • Repo on GitHub
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

© 2025 Coveralls, Inc