Commit Graph

18 Commits

Author SHA1 Message Date
Spencer Gibb
8afc23c5e4 Add or update copywrite 2015-08-05 17:14:14 -06:00
Spencer Gibb
fcd1ada1ec Allow sample to enable log collector with a property.
Property is sleuth.sample.logging.collector.enabled=true
2015-08-03 16:02:09 -06:00
Dave Syer
d38598467c Polish async support
An @Async method should start a new trace. Still not finished that bit
because if the user also customizes the async post processor there will
be a clash.

Biggest change here is better support for async web requests.
Each async request goes through the TraceFilter multiple times so you
have to re-attach to the span in the request if there is one.
2015-07-31 09:38:52 +01:00
Dave Syer
15db080542 Stop using Brave client/server senders in favour of the collector
Directly using the collector gives us more control of the annotations.
The main improvement/change here is that we need to send the span
name and parent details downstream as well as the span id. It's not
logically required by the trace model, but zipkin needs it, so it
can set annotations on the parent span (server recv/send).
2015-07-29 17:27:33 +01:00
Dave Syer
af03054573 Separate parent and child a bit more in ZipkinSpanListener 2015-07-29 13:52:31 +01:00
Dave Syer
145cc641c2 Simplfy some of the core API interfaces and add javadocs 2015-07-29 10:37:44 +01:00
Spencer Gibb
76ca7d1afe added sample kv annotation 2015-07-28 16:27:13 -06:00
Spencer Gibb
0f84a5738d add SleuthTracer that uses lower level brave classes
to enable it, set `spring.cloud.sleuth.zipkin.braveTracer.enabled=false`
2015-07-28 14:41:30 -06:00
Dave Syer
97ae6151e2 Use listeners instead of custom callbacks 2015-07-28 17:40:27 +01:00
Dave Syer
cba63d0dec Integrate server-side zipkin with core 2015-07-28 17:11:18 +01:00
Dave Syer
19dfe2b0d6 Use generics 2015-07-27 14:13:50 +01:00
Spencer Gibb
0de00870a6 add TraceWebAspect to wrap Callable's returned in Controllers. 2015-06-26 16:01:50 -06:00
Spencer Gibb
05a5709136 Updates to get tracing working on sample app. 2015-06-25 13:58:28 -06:00
Spencer Gibb
a5f3234bac collapse trace and trace.intercept packages 2015-06-23 20:32:33 -06:00
Spencer Gibb
5afbc75ecb Added SpanStartListener and slf4j SpanStartListener and SpanReceiver 2015-06-23 16:11:42 -06:00
Spencer Gibb
aa1efa2f0a auto-config for zipkin support for spring mvc and restTemplate 2015-03-06 21:22:23 -07:00
Spencer Gibb
4ecf22b67c formatting 2015-03-06 14:26:20 -07:00
Spencer Gibb
80741cd147 initial commit 2015-03-06 14:25:31 -07:00