Commit Graph

1346 Commits

Author SHA1 Message Date
Adrian Cole
c9a8633521 Merge pull request #181 from spring-cloud/reporting-tests
Refactors HTTP SpanReporter tests to use ZipkinRule
2016-02-24 18:09:40 +08:00
Adrian Cole
be1b986bec Refactors HTTP SpanReporter tests to use ZipkinRule
This replaces direct usage of MockWebServer with ZipkinRule.
2016-02-24 14:14:19 +08:00
Marcin Grzejszczak
4a35f1ccaf Resetting the repo for cloud foundry 2016-02-23 09:31:57 +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
e0a45f88f1 Added sonar integration via sonar profile 2016-02-22 14:37:41 +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
7dfe93e02a Merge pull request #176 from gzurowski/fix-docs
Fix code sample in documentation: Sampler is not a generic type
2016-02-19 14:58:04 +01:00
Gregor Zurowski
c6bb85923d Fix documentation: Sampler is not a generic type
Signed-off-by: Gregor Zurowski <gregor@zurowski.org>
2016-02-19 13:47:41 +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
44166e8f46 Fixed the order of compiler arguments, again 2016-02-19 08:03:06 +01:00
Marcin Grzejszczak
96425e2a60 Fixed the order of compiler arguments 2016-02-19 08:02:37 +01:00
Dave Syer
6e827b2999 Updates to README 2016-02-18 23:11:37 +00: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
2ce9b085dd Merge pull request #172 from spring-cloud/issues_#160_removed_loggers
[#160] Removed unnecessary Slf4j loggers
2016-02-18 13:50:05 +01:00
Marcin Grzejszczak
c0620c410c [#160] Removed unnecessary Slf4j loggers
fixes #160
2016-02-18 11:23:09 +01:00
Dave Syer
8e0471ed04 Add explicit note on logback MDC pattern
Fixes gh-162
2016-02-18 09:33:21 +00:00
Dave Syer
1f0fbf572d Fix travis build (grep -q in SPRING_CLOUD_BUILD) 2016-02-18 08:47:49 +00:00
Adrian Cole
1cc0c327cb Merge pull request #171 from spring-cloud/adrian.latest-zipkin
Updates to zipkin 0.5.3
2016-02-18 16:18:52 +08:00
Marcin Grzejszczak
fce787f83b Added printing of some parameters 2016-02-18 08:52:10 +01:00
Adrian Cole
075a373127 Updates to zipkin 0.5.3
This includes updates to the latest zipkin-web image and zipkin-java
dependency.

zipkin-web's notable as it does a lot more in javascript, ex it no
longer does server-side mustache template rendering. It also makes one
less call to the services endpoint when rendering the search page.

zipkin-java's in-memory span store is now in the core jar and also can
render the dependency tree. This means it is now feature-parity with
mysql (but still merely a test span-store). zipkin-java also now tests
that it can run without optional dependencies.
2016-02-18 15:31:51 +08: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
beb4aa0a5b Merge pull request #167 from spring-cloud/issues_#158_removing_spanname
[#158] Removing span name
2016-02-16 08:59:10 +01:00
Marcin Grzejszczak
8333c31c99 [#158] Removing span name
fixes #158
2016-02-16 08:28:22 +01:00
Dave Syer
a3f14a6d55 Fix logic with MVN_GOAL 2016-02-12 15:06:20 +00:00
Dave Syer
961311e481 Fix user names in travis build 2016-02-12 13:46:43 +00:00
Dave Syer
ee63446b66 Align travis build with tools in spring-cloud/build 2016-02-12 13:28:13 +00:00
Adrian Cole
8948e888d1 Merge pull request #154 from spring-cloud/zipkin-0.5
Updates to zipkin-java 0.5
2016-02-12 14:14:12 +08:00
Adrian Cole
cdbb74c029 Updates to zipkin-java 0.5
This includes better dependency aggregation than before. For example,
you no longer need mysql to view the dependency graph, as the in-memory
server supports aggregation now. Also, if you log "ca" on a root span,
the associated service will show on the dependency graph on the far
left. This allows you to show uninstrumented clients of note. Similarly,
if you log "sa" on a leaf node, the destination will show on the far
right. You'd use "sa" for uninstrumented services like databases, auth
servers or cloud apis.

Note: 0.5.2 uses spring boot 1.3.2
2016-02-12 12:46:41 +08:00
Dave Syer
77abdf7798 Remove brave dependencies 2016-02-11 12:35:51 +00:00
Marcin Grzejszczak
a362aa7c6a Merge pull request #155 from spring-cloud/issues_#124_asyncresttemplate
[#124] Added support for async rest template
2016-02-11 13:07:08 +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
Marcin Grzejszczak
0ab23b405c [#124] Added support for async rest template
fixes #124
2016-02-10 19:19:44 +01:00
Marcin Grzejszczak
ee8d7a54c7 Delomboking 2016-02-10 19:09:20 +01:00
Marcin Grzejszczak
8f5f553376 Removed unnecessary constructors 2016-02-10 12:17:44 +01:00
Marcin Grzejszczak
1ff4a9a0e9 Fixed docs 2016-02-09 15:54:42 +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
a0a79584f4 Tidy up ribbon sample a bit 2016-02-09 13:31:30 +00:00
Dave Syer
f2be4054ff Add websoket sample 2016-02-09 13:31:30 +00:00
Dave Syer
65c243178f Add explicit autoconfiguration support for STOMP and websockets
Adds channel interceptors to initiate a span on an incoming message
and also inject it into the thread context when it is handled
asynchronously.
2016-02-09 13:31:29 +00:00
Dave Syer
d6170027a7 Rationalize async instrumentation 2016-02-09 13:31:29 +00:00
Dave Syer
f59737c238 Remove TraceTemplate
Users should inject TraceAccessor if they want to interact with
the current Span.
2016-02-09 13:31:29 +00:00
Marcin Grzejszczak
51ff572fbe [#149] Removed the JSON Span logger
fixes #149
2016-02-09 12:50:09 +01:00
Marcin Grzejszczak
b4e85d04d8 [#148] Reseting the custom concurrency strategy before test class 2016-02-09 10:34:30 +01:00
Marcin Grzejszczak
ebfe276ced [#148] Resetting custom hystrix strategy before tests
fixes #148
2016-02-09 10:23:57 +01:00