Commit Graph

114 Commits

Author SHA1 Message Date
Marcin Grzejszczak
b95ecd5f7e Adds documentation and javadocs about SpanAdjuster and SpanReporter
fixes #570
2017-04-24 15:17:59 +02:00
Marcin Grzejszczak
64791deabd Span Adjuster (#567)
with this change, we're adding a possibility to fully customize the span before it gets reported to e.g. Zipkin

fixes #553
2017-04-19 10:35:48 +02:00
Marcin Grzejszczak
a879dc9e30 Added docs for customization executors 2017-04-18 16:20:24 +02:00
Marcin Grzejszczak
9dc626a873 Added docs for custom async rest template (#566)
fixes #564
2017-04-18 14:48:58 +02:00
Kamil Szymański
21d73f6ed6 Grok pattern fix (#559) 2017-04-10 17:09:23 +02:00
Marcin Grzejszczak
90713eba34 Added support for Feign + OkHttpClient + Sleuth
without this change we get exceptions related to not being able to extend a final class
with this change we're not wrapping any final types and we have a custom bean post processor for okhttp

fixes #513
2017-02-24 16:58:27 +01:00
Marcin Grzejszczak
e773ef4524 Limiting the span name size to 50 chars
without this exceptions can occur when the span name is big
with this we're truncating the name to 50 chars

fixes #530
2017-02-24 11:53:09 +01:00
Marcin Grzejszczak
11ef72369c Updated the docs with logging pattern 2017-02-08 10:39:44 +01:00
Marcin Grzejszczak
4d7def0362 Merge branch '1.0.x' into 1.1.x 2017-01-11 12:32:09 +01:00
Marcin Grzejszczak
a559c11bcd Due to possible performance problems when DiscoveryClient gives nonexistent DNS name as local address Local endpoint is created from server properties by default.
Local Ip determined from spring.commons InetUtils.
    To enable local endpoint resolution via service discovery, DiscoveryClient must be present and 'spring.zipkin.service.locator.discovery' should be set to true.
    FallbackHavingEndpointLocator was caching and recreating EndpointLocator in the same time - removed the caching part.

    Fixes gh-403
2017-01-11 12:31:18 +01:00
Marcin Grzejszczak
e117531d75 Added property for overriding the service name in Zipkin
without this only either service discovery service id / spring.application.name can be chosen as a service name for zipkin
    with this change you can pass spring.zipkin.service.name property to change override that both for HTTP and Stream collectors

    fixes #324
2017-01-02 10:18:48 +01:00
Marcin Grzejszczak
e982c4df80 Added property for overriding the service name in Zipkin
without this only either service discovery service id / spring.application.name can be chosen as a service name for zipkin
    with this change you can pass spring.zipkin.service.name property to change override that both for HTTP and Stream collectors

    fixes #324
2017-01-02 10:18:20 +01:00
Marcin Grzejszczak
c968aae9e7 Explained TraceAsyncRestTemplate bean creation
fixes #484
2016-12-29 13:38:25 +01:00
Marcin Grzejszczak
b5b5a4761b Explained TraceAsyncRestTemplate bean creation
fixes #484
2016-12-29 13:38:07 +01:00
Toshiaki Maki
f7fea826f3 Add tip in case of using spring-cloud-sleuth-stream and spring-cloud-netflix-hystrix-stream (#482)
* Add tip in case of

spring-cloud-sleuth-stream and spring-cloud-netflix-hystrix-stream
2016-12-27 08:51:07 +01:00
Toshiaki Maki
6c99c73bd7 Add tip in case of using spring-cloud-sleuth-stream and spring-cloud-netflix-hystrix-stream (#482)
* Add tip in case of

spring-cloud-sleuth-stream and spring-cloud-netflix-hystrix-stream
2016-12-27 08:50:34 +01:00
Marcin Grzejszczak
e96076b624 Added video with Sleuth & Zipkin 2016-12-19 15:02:23 +01:00
Marcin Grzejszczak
9a49c7f4f3 Added video with Sleuth & Zipkin 2016-12-19 15:00:00 +01:00
Marcin Grzejszczak
9e596705be Updated docs with new span approach 2016-12-19 14:54:14 +01:00
Marcin Grzejszczak
dcb3efd5b0 Updated docs with new span approach 2016-12-19 14:45:59 +01:00
Marcin Grzejszczak
e518144126 Updated docs with percentage information
without this change the percentage value might have been set to over 1.0
with this change we explain what are the valid values and what are the reasons for keeping the value as it is

fixes #397
2016-10-27 14:06:28 +02:00
Biju Kunjummen
8437bef6a9 Issue 424 - Documentation for adding trace/span headers to http response (#429)
fixes #424
2016-10-27 13:59:22 +02:00
Marcin Grzejszczak
56048b1852 Increased level of TOC 2016-10-20 12:20:45 +02:00
Marcin Grzejszczak
00fe8e0f5a Added more explicit Tracer explanation
without this change it could be nonclear where Tracer comes from and how you can use it.

With this change hopefully it get properly explained

fixes #402
2016-09-13 14:34:48 +02:00
Marcin Grzejszczak
bc532c4f02 Removed adoc footer 2016-09-07 18:03:51 +02:00
Marcin Grzejszczak
f92950b474 Added info about root span 2016-08-29 15:09:10 +02:00
Marcin Grzejszczak
b47ad1613d Updating ghpages for all projects 2016-08-22 13:32:40 +02:00
Marcin Grzejszczak
ef655267a8 Fixed a typo in docs 2016-08-19 15:07:06 +02:00
Marcin Grzejszczak
1b348abbde Added docs on how to provide custom serviceName
without this entry in the docs people got confused on how to do this.

fixes #346
2016-08-19 13:25:34 +02:00
Marcin Grzejszczak
08e8e87ba2 Updating ghpages for all projects 2016-08-19 11:46:57 +02:00
Marcin Grzejszczak
af7593eaf5 Added docs about logback-spring and props
we had a couple of questions related to missing attributes in the logback file or the logs as such. It's related to the fact that once you provide a custom logback file you have to place the propery of spring.application.name in the bootstrap file

fixes #376
2016-08-18 15:44:19 +02:00
Marcin Grzejszczak
ab2b4576e5 Updating ghpages for all projects 2016-08-18 13:15:51 +02:00
Marcin Grzejszczak
9e900569a9 Updating ghpages for all projects 2016-08-17 12:45:56 +02:00
Marcin Grzejszczak
109bc02d1d Updated docs 2016-08-16 14:27:22 +02:00
Marcin Grzejszczak
3f96b210d9 Deploying documentation to proper folder (#373)
What we're missing ATM is different documentation versions for different application versions. What this change does is that it's:

- finding out what is the current branch (e.g. 1.0.x)
- finding out out what is the name of the main adoc file (e.g. spring-cloud-sleuth)
- pulling the changes from gh-pages after checkout
- finding out what is the list of comma separated whitelisted branches (via the `docs.whitelisted.branches` prop) 
- in gh-pages creating a folder with name of the branch  (e.g. /1.0.x)
copying all the docs/target/generated-docs/ to that folder
- if the branch from which we're calling the script is NOT master then we're changing the ${main.adoc}.html to index.html so that it's easier to access the docs (e.g. http://cloud.spring.io/spring-cloud-sleuth/1.0.x/)
2016-08-16 14:17:48 +02:00
Marcin Grzejszczak
9e10796b0a Updated Zipkin UI docs
fixes #375
2016-08-16 14:09:39 +02:00
Marcin Grzejszczak
c22e72e467 Added tests and fix docs for AsyncRestTemplate
fixes #334
2016-07-15 17:34:36 +02:00
Marcin Grzejszczak
b4bcd531d5 Added patterns to @GlobalChannelInterceptor (#337) 2016-07-15 15:57:34 +02:00
Marcin Grzejszczak
a4328325c9 Revert "Updated docs"
This reverts commit 7d0b8f62c2.
2016-07-15 08:55:28 +02:00
Marcin Grzejszczak
7d0b8f62c2 Updated docs
(cherry picked from commit 48efc5980a)
2016-07-15 08:26:36 +02:00
Marcin Grzejszczak
23097dd2f9 Added Codecov integration 2016-07-14 13:46:00 +02:00
Marcin Grzejszczak
e7838743af Fix headers in messaging (#335)
* Fix headers in messaging

with this change the span related headers are changed to be compatible with messaging specs. The change is backwards compatible so we accept the old ones as input, and as output we're producing both new and old headers.

fixes #332
2016-07-14 11:57:09 +02:00
Marcin Grzejszczak
4f1ef52e6c Re-added missing server side span (#322)
* Re-added missing server side span

with this change

- HandlerInterceptor is responsible for wrapping requests in spans
- added Sring Data REST instrumentation
- added Zuul instrumentation
- it will not wrap error controller related requests with spans
- tests have been changed to ensure that ALWAYS there is at least one span on the server side (that way it will show up in Zipkin)
- "fallback" mechanism has been added that if a HandlerInterceptor hasn't been used then we are forcing creation of a Span at the server side

fixes #321
2016-07-07 10:47:22 +02:00
Dave Syer
6ddf8c7576 Use "safe: :unsafe" to ensure included snippets work
Also copy the document attributes over and re-use them so
any variables that need to be resolved are there. Code copied
from https://github.com/asciidoctor/asciidoctor-extensions-lab/blob/master/scripts/asciidoc-coalescer.rb
2016-06-11 07:45:26 +01:00
Marcin Grzejszczak
ca89b58661 Removed build status from running examples 2016-06-10 12:56:06 +02:00
Marcin Grzejszczak
a194c4a17a Added list of threads to ignore for rx (#294)
fixes #274

* Updates following code review
2016-06-02 19:20:12 +02:00
Marcin Grzejszczak
723b19ee78 Added Logback with Logstash JSON logging pattern 2016-05-30 17:09:41 +02:00
Marcin Grzejszczak
bed01f2779 Revert "Updated docs for Kafka binder configuration"
This reverts commit 47bb27db12.
2016-05-23 11:03:39 +02:00
Marcin Grzejszczak
47bb27db12 Updated docs for Kafka binder configuration
Currently we need to explicitly define the headers for Kafka binder integration. Updated docs to refect that.

fixes #282
2016-05-23 10:53:53 +02:00
Marcin Grzejszczak
ef369d9ee2 Updated docs with missing starter dep
In the docs we needed to add the dependency to starter-sleuth, that way all the necessary dependencies are downloaded to the project

fixes #281
2016-05-23 10:08:54 +02:00