Marcin Grzejszczak
f18b3369e0
Percentage -> probability
2018-03-11 09:20:01 +01:00
Marcin Grzejszczak
6b3593660f
Updated copyrights, fixed zuul
2018-01-31 10:56:48 +01:00
Marcin Grzejszczak
7eb374b5a5
Sleuth now uses Brave ( #829 )
...
with this pull request we have rewritten the whole Sleuth internals to use Brave. That way we can leverage all the functionalities & instrumentations that Brave already has (https://github.com/openzipkin/brave/tree/master/instrumentation ).
Migration guide is available here: https://github.com/spring-cloud/spring-cloud-sleuth/wiki/Spring-Cloud-Sleuth-2.0-Migration-Guide
fixes #711 - Brave instrumentation
fixes #92 - we move to Brave's Sampler
fixes #143 - Brave is capable of passing context
fixes #255 - we've moved away from Zipkin Stream server
fixes #305 - Brave has GRPC instrumentation (https://github.com/openzipkin/brave/tree/master/instrumentation/grpc )
fixes #459 - Brave (openzipkin/brave#510 ) & Zipkin (openzipkin/zipkin#1754 ) will deal with the AWS XRay instrumentation
fixes #577 - Messaging instrumentation has been rewritten
2018-01-19 22:45:47 +01:00
Marcin Grzejszczak
63ad13a561
Merge branch '1.3.x'
2017-12-18 16:56:30 +01:00
Marcin Grzejszczak
8a190ddabc
Fixed flickering test (due to starting 0 in the traceid)
2017-12-03 09:34:01 -05:00
Marcin Grzejszczak
68709c7843
Trying to fix the build
2017-11-21 19:35:17 +01:00
Marcin Grzejszczak
b60ff42fc8
Made ZIpkin 2 default
...
fixes #785
2017-11-20 23:06:13 +01:00
Adrian Cole
4ddf929294
Adds Zipkin v2 support ( #720 )
...
This adds the ability to use zipkin v2 endpoints natively. It also
allows wiring of standard zipkin reporters and senders.
2017-10-03 08:47:33 +02:00
Marcin Grzejszczak
92d7c3443a
Bumped libraries
...
awaitillity to 3.0.0
wiremock to 2.6.0
junit params to 1.1.0
assertj to 3.8.0
fixes #620
2017-06-27 15:05:39 +02:00
Dave Syer
a0adcecba0
Update to Spring Boot 1.5
2016-12-12 12:52:21 +00:00
Marcin Grzejszczak
e28ddc0e72
Migrated to new SpringBootTest
...
fixes #328
2016-07-19 23:35:30 +02:00
Marcin Grzejszczak
f199321878
Added circle.ci integration
...
- also limited to 5 seconds awaits
2016-07-11 15:14:21 +02:00
Marcin Grzejszczak
98c99db209
Fixed integration tests to use ZipkinRule
...
Introduce assertj assertions (#315 )
* Introduce assertJ assertions in some tests
* Fix code formatting to be inline with Spring rules
2016-06-27 15:47:16 +02:00
Marcin Grzejszczak
1f58be4079
Randomized port for Zipkin tests
2016-06-17 10:22:32 +02:00
Dave Syer
00b67a87d5
Remove @Bean RestTemplate
...
(If users need one they can add it themselves)
Fixes gh-239
2016-03-31 13:31:34 +01:00
Marcin Grzejszczak
146f7f652b
Removed events and replaced them with method calls
...
fixes #156
2016-03-13 10:37:01 +01:00
Marcin Grzejszczak
e5b1495613
Simplified Tracer API
2016-03-04 11:50:59 +01:00
Adrian Cole
51b542e34b
Updates to latest zipkin, adding spring.zipkin.compression.enabled flag
...
This updates to latest zipkin, adding a flag to gzip spans before
posting them. Note this is set to false by default as it requires servers
to also be latest. We can flip the default once we can assume that.
Ex. `spring.zipkin.compression.enabled = true`
2016-02-25 21:11:58 +08:00
Marcin Grzejszczak
c0620c410c
[ #160 ] Removed unnecessary Slf4j loggers
...
fixes #160
2016-02-18 11:23:09 +01:00
Marcin Grzejszczak
8333c31c99
[ #158 ] Removing span name
...
fixes #158
2016-02-16 08:28:22 +01:00
Dave Syer
77abdf7798
Remove brave dependencies
2016-02-11 12:35:51 +00:00
Marcin Grzejszczak
ee8d7a54c7
Delomboking
2016-02-10 19:09:20 +01:00
Marcin Grzejszczak
1b0c8dfee5
[ #146 ] Introduced SpanName
...
- Added aspect to provide better naming for @Async
fixes #146
2016-02-09 15:25:36 +01:00
Dave Syer
d8b72473d1
Ensure sampler is called with the new span if it is to be started
2016-02-01 18:01:34 +00:00
Dave Syer
6d3b8ffc60
Removes testcontainers and mouldy jackson dependencies
2016-02-01 17:30:15 +00:00
Dave Syer
70b18054e1
Add Span to Sampler method params
...
Also allows us to actually create a PercentageBasedSampler (I
don't think anyone tried it before) without resorting to
lazy beans and proxies.
Another freature added here is a default percentage sampler
if we know that spans need to be exported (zipkin or stream
is present).
Fixes gh-138
2016-02-01 17:00:00 +00:00
Dave Syer
065338118b
Reomve unecessary custom log config
2016-02-01 16:08:38 +00:00
Adrian Cole
763d2d027c
Updates to latest zipkin, which encourages new http tags
2016-01-25 10:51:05 +01:00
Adrian Cole
b6054bfbe4
Clarifies configuration in zipkin sample
2016-01-25 09:24:54 +01:00
Marcin Grzejszczak
301c6b230a
[ #99 ] Basic Health Metrics
...
Changes following review
- Reusing CounterService to automatically profit from Dropwizard if present
- NoOp is the default impl for SpanReporterService
- SpanReporterService has configurable metric names (it's enough to change the
name to 'meter.a.b.c' to profit from Dropwizard's meters)
Fixes gh-99
2016-01-21 15:55:26 +01:00
Marcin Grzejszczak
d22a497b0c
TraceAccessor -> SpanAccessor
2016-01-20 14:39:08 +01:00
Marcin Grzejszczak
7b6a533498
Fixed checkstyle issues
2016-01-20 12:36:38 +01:00
Marcin Grzejszczak
d5b523d021
Converted MilliSpan to Span. Removed the interface
2016-01-20 10:52:02 +01:00
Marcin Grzejszczak
797ca4f50c
Removed Trace
2016-01-20 10:50:43 +01:00
Adrian Cole
9bcab5b0c6
Updates to zipkin-java 0.4.3
2016-01-20 12:22:18 +08:00
Marcin Grzejszczak
6b88e97b9c
TraceManager -> Tracer; startSpan -> startTrace
2016-01-19 09:02:09 +01:00
Adrian Cole
da065504a7
Merge pull request #115 from spring-cloud/pare-down-http
...
Pares down default http tags, but opens apis for adding more
2016-01-19 12:50:56 +08:00
Marcin Grzejszczak
11c0846353
[ #86 ] Removes the sampler param. Fixed #86
2016-01-18 17:06:09 +01:00
Adrian Cole
860622fb57
Pares down default http tags, but opens apis for adding more
...
Previously, sleuth logged more data than necessary. This led to issues
including spans approaching megabytes each. This pares down default keys
to a minimal set, but allows users to opt-into logging more by extending
`TraceFilter`.
2016-01-18 21:48:59 +08:00
Marcin Grzejszczak
82ed9f78a1
[ #106 ] Converted UUID to Long
...
- Changed Random instantiation to a shared Random
- Changed the name of the converter
- Changed generator into random
- Span id is now non-nullable.
- it gets generated in the http filter if it's not there
- it's generated in the spring-integration channels if it wasn't set
2016-01-18 14:38:09 +01:00
Adrian Cole
a3af9de4dd
Makes it possible to supply an https zipkin endpoint
2016-01-14 22:31:06 +08:00
Marcin Grzejszczak
bf191d7cba
Fixed wrong merging
2016-01-14 14:20:56 +01:00
Dave Syer
687ef45e6d
Further simplify integration tests for zipkin-stream
...
It's not really necessary to use rabbit, but the existing tests
weren't really using the stream components at all because
zipkin spans were being collected by spring-cloud-sleuth-zipkin.
2016-01-14 09:12:36 +00:00
Marcin Grzejszczak
c6b2369a45
[ #84 ] Adding missing name to the filter. Fixes #84
2016-01-13 20:50:55 +01:00
Marcin Grzejszczak
4efa4c3f27
Removed docker-compose tests
2016-01-13 12:08:47 +01:00
Marcin Grzejszczak
a4035f61db
Refactored code, removed notion of DockerTests
2016-01-13 11:51:25 +01:00
Marcin Grzejszczak
4968ad2195
Removed mysql from docker-compose
2016-01-13 11:20:36 +01:00
Marcin Grzejszczak
33fda076ad
Updated with Adrian's changes
2016-01-12 16:28:21 +01:00
Marcin Grzejszczak
091a4fc218
Working Zipkin Stream tests
2016-01-12 15:40:42 +01:00
Adrian Cole
84d2706a57
Updates to latest zipkin and brave, removing Scribe dependency
...
Recent versions of zipkin and brave operate with http instead of scribe.
This changes the implementation accordingly, as well adds a sampler to
the POST endpoint.
A notable impact is that we no longer require a collector process, as
the zipkin server's POST endpoint is a collector.
2016-01-12 21:58:48 +08:00