Commit Graph

238 Commits

Author SHA1 Message Date
Marcin Grzejszczak
4d6fbd29bb Added missing conditionals
without it if you provide `spring.sleuth.enaled:false` the app would blow up
2016-03-16 16:31:42 +01:00
Marcin Grzejszczak
3bb7916fff Customizable headers
* Fixed the HttpServlet extractors
    (now the response can contain custom headers)
    * Changed header names to be Zipkin compatible
    * removed qualifiers and properties
    * updated the docs

fixes #19
2016-03-16 16:10:28 +01:00
Marcin Grzejszczak
7c5af8c84e [#19] Introduced SpanInjector and SpanExtractor 2016-03-15 14:33:39 +01:00
Marcin Grzejszczak
146f7f652b Removed events and replaced them with method calls
fixes #156
2016-03-13 10:37:01 +01:00
Dave Syer
84c57d9701 Fix test so it compiles in Eclipse
Maybe a JDT bug, but this version is more readable IMO anyway.
2016-03-11 09:27:21 +00:00
Marcin Grzejszczak
fb60381766 Fixed checkstyle issues 2016-03-11 10:06:02 +01:00
Marcin Grzejszczak
e4bcd13b8c Added tests 2016-03-10 14:28:05 +01:00
Marcin Grzejszczak
045bfc5317 Updated docs 2016-03-10 12:14:27 +01:00
Marcin Grzejszczak
c1648124f5 [#209] Skip pattern for Scheduled
fixes #209
2016-03-10 10:37:49 +01:00
Marcin Grzejszczak
cda62174d8 Added tests for Zuul Rest Client Ribbon 2016-03-09 18:53:12 +01:00
Marcin Grzejszczak
9c3e4909fb Merge pull request #204 from spring-cloud/issues_#187_managementserverprops
[#187] Adds ManagementProperties contextPath to skipPattern
2016-03-09 18:52:40 +01:00
Marcin Grzejszczak
24fa3514da Added missing tests 2016-03-09 17:49:27 +01:00
Marcin Grzejszczak
4f4aa25a5d [#187] Adds ManagementProperties contextPath to skipPattern
Fixes #187
2016-03-09 15:37:02 +01:00
Marcin Grzejszczak
c3722f3c74 [#205] Deferring endpoint localization
- added `/health` endpoint to be skipped by trace filter

fixes #205
2016-03-09 15:16:26 +01:00
Marcin Grzejszczak
c424453b0e Added more tests for websockets 2016-03-08 12:20:45 +01:00
Marcin Grzejszczak
b5f9807b59 Trying to make Travis pass 2016-03-08 10:28:29 +01:00
Marcin Grzejszczak
57c9ac8027 Updated test code for changes in sc-netflix 2016-03-08 09:35:01 +01:00
Marcin Grzejszczak
b68098e7a6 Fixed Sonar issues 2016-03-07 17:51:33 +01:00
Marcin Grzejszczak
6b6f40aed2 Added integrations documentation 2016-03-07 15:46:59 +01:00
Marcin Grzejszczak
9a9f0e6d4b Unified the way RestTemplate and Feign work
* both always start a new span (RT started a span only if there was previous tracing)
* both DO NOT return in the response PARENT-ID (Fiegn didn't do that, neither does TraceFilter)
2016-03-07 15:27:06 +01:00
Marcin Grzejszczak
19249cdc23 Fixed Feign integration 2016-03-07 11:18:45 +01:00
Marcin Grzejszczak
1043fd83c1 Added missing Span tags for @Scheduled methods 2016-03-07 10:27:48 +01:00
Marcin Grzejszczak
5eaff9a52b Fixed snippets for documentation 2016-03-04 19:34:30 +01:00
Dave Syer
cedede7fd4 Move trace response headers up to start of filter
They seem to only get set once (by the proxy, which is most likely
to be correct) even if Zuul is proxying a service that itself is
a Sleuth application.

Fixes gh-199
2016-03-04 14:41:11 +00:00
Marcin Grzejszczak
e5b1495613 Simplified Tracer API 2016-03-04 11:50:59 +01:00
Marcin Grzejszczak
9957769dd0 Added a fix for 'null' in span names 2016-03-03 22:22:58 +01:00
Marcin Grzejszczak
373f4eb4ef [#198] Fixed exception handling for TraceRestTemplateInterceptor
fixes #198
2016-03-03 21:19:55 +01:00
Marcin Grzejszczak
d6b623fdf7 Removed an assertion due to Tracis failing 2016-03-03 11:45:44 +01:00
Marcin Grzejszczak
4b61439ab9 [#79] Updated documentation
* first iteration

fixes #79
2016-03-03 11:25:43 +01:00
Marcin Grzejszczak
0fe82089a2 Revert "Updated the code with sc-netflix changes"
This reverts commit 7e7c6a1a8f.
2016-03-03 11:16:57 +01:00
Marcin Grzejszczak
7e7c6a1a8f Updated the code with sc-netflix changes 2016-03-03 11:08:01 +01:00
Marcin Grzejszczak
17bc239536 [#191] Changes following the review 2016-03-02 15:05:18 +01:00
Marcin Grzejszczak
57b0f14d9a [#188][#194] Feign and RestTemplate create a new Span
fixes #188
fixes #194
2016-03-01 12:16:24 +01:00
Marcin Grzejszczak
7c7043910c Updated the javadoc for message component 2016-02-25 13:53:57 +01:00
Marcin Grzejszczak
6948d92d13 [#184] Stopped overriding tags via messaging
fixes #184
2016-02-25 13:44:33 +01:00
Marcin Grzejszczak
3000a4f37d [#69] Added javadocs
fixes #69
2016-02-25 11:23:23 +01:00
Marcin Grzejszczak
dc22434e27 More refactoring 2016-02-22 19:04:37 +01:00
Marcin Grzejszczak
0cd1441f9b Refactored the async tracing 2016-02-22 18:29:52 +01:00
Marcin Grzejszczak
7927f4914f Removed some package dependencies
* TraceKeys -> moved to root
    * TraceRunnable and TraceCallable moved to root
    * Websockets moved as a subpackage of messaging
    * created TraceMetricsAutoConfiguration in the metric package (thanks to this the TraeAutoConfiguration doesn't need any metric info)

    What’s left?
    * the remaining dependencies are related to everybody using events
    * there are a couple of usages of NeverSample
2016-02-22 17:09:23 +01:00
Marcin Grzejszczak
3eca10bcc7 [#159] Tagging hystrix events
when a hystrix command was explicitly created we can tag the following values
    * command key
    * command group
    * thread pool key

    fixes #159
2016-02-22 14:03:40 +01:00
Marcin Grzejszczak
980e2324d7 [#49] Added name skip pattern for slf4j
* if Span's name matches a pattern it will not be logged at all in the logs

    fixes #49
2016-02-22 12:31:19 +01:00
Marcin Grzejszczak
08c99667c9 [#127] Added tests for parent-id propagation
fixes #127
2016-02-22 12:03:16 +01:00
Marcin Grzejszczak
4bd484fb21 Moved turning on of autoproxy to properties 2016-02-19 10:10:11 +01:00
Marcin Grzejszczak
0511b04250 [#51] Added automatic CGLIB proxy creation
* aspectJ is made obligatory

fixes #51
2016-02-19 08:18:05 +01:00
Marcin Grzejszczak
785dab0908 [#161] Fixed the way collections are passed between spans
When a span is continued a new one is created from the previous one. We've been copying span collections thus the changes in the continued instance were not reflected in the parent.

Fixes #161
2016-02-18 13:56:41 +01:00
Marcin Grzejszczak
c0620c410c [#160] Removed unnecessary Slf4j loggers
fixes #160
2016-02-18 11:23:09 +01:00
Marcin Grzejszczak
cf6f629663 [#168] Introduced local components for async
Added changes following review
    * added comments
    * added javadocs
    * added naming basing on @SpanName and toString()
    * added default 'async' naming if there is no overriden span name
    * removed TraceDelegate after review
    * introduced SpanNamer

fixes #168
2016-02-17 17:10:54 +01:00
Marcin Grzejszczak
8333c31c99 [#158] Removing span name
fixes #158
2016-02-16 08:28:22 +01:00
Marcin Grzejszczak
8d8fb39db0 [#124] Changes following review 2016-02-11 11:15:16 +01:00
Marcin Grzejszczak
f772f50bbc Removed unnecessary field 2016-02-10 19:19:44 +01:00