Commit Graph

157 Commits

Author SHA1 Message Date
Marcin Grzejszczak
c9bbc2e4a5 Bumping versions to 1.2.1.BUILD-SNAPSHOT after release 2017-04-11 10:18:41 +02:00
Marcin Grzejszczak
850534689c Going back to snapshots 2017-04-11 10:06:35 +02:00
Marcin Grzejszczak
fdace4f93a Update SNAPSHOT to 1.2.0.RELEASE 2017-04-11 10:03:04 +02:00
Kamil Szymański
6cd9302c92 Grok pattern fix (#548) 2017-04-10 16:30:00 +02:00
Marcin Grzejszczak
e68bc5e634 Going back to snapshots 2017-03-17 09:44:27 +01:00
Marcin Grzejszczak
760c1841b7 Update SNAPSHOT to 1.2.0.RC1 2017-03-17 09:39:16 +01:00
Marcin Grzejszczak
0f29735c11 Managing spans with annotations (#526)
The main arguments for these features are

* api-agnostic means to collaborate with a span
    - use of annotations allows users to add to a span with no library dependency on a span api.
    This allows Sleuth to change its core api less impact to user code.
* reduced surface area for basic span operations.
    - without this feature one has to use the span api, which has lifecycle commands that
    could be used incorrectly. By only exposing scope, tag and log functionality, users can
    collaborate without accidentally breaking span lifecycle.
* collaboration with runtime generated code
    - with libraries such as Spring Data / Feign the implementations of interfaces are generated
    at runtime thus span wrapping of objects was tedious. Now you can provide annotations
     over interfaces and arguments of those interfaces

This PR is an adoption of @Koizumi85 work started here - https://github.com/Koizumi85/spring-cloud-sleuth-annotation

fixes #182
2017-02-27 15:26:03 +01:00
Marcin Grzejszczak
cc07a8f777 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 17:06:32 +01:00
Marcin Grzejszczak
e0c2656354 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 12:05:28 +01:00
Marcin Grzejszczak
4a818eee73 Added back the baggage docs 2017-02-08 13:29:01 +01:00
Marcin Grzejszczak
9d21d1b07b Updated the docs with logging pattern 2017-02-08 10:41:10 +01:00
Marcin Grzejszczak
6d445f56f4 Going back to snapshots 2017-01-30 10:37:40 +01:00
Marcin Grzejszczak
adfaa036a2 Bumping versions before release 2017-01-30 10:31:39 +01:00
Marcin Grzejszczak
c347f724cd Add an option to use the X-B3-Flags header to override any sampling decision
without this change it's pretty much impossible to enforce sampling for certain traces
    with this change setting the X-B3-Flags to 1 for HTTP messages / spanFlags to 1 for messaging will override any sampling decisions

    fixes #496
2017-01-18 13:12:13 +01:00
Marcin Grzejszczak
9785bcae15 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:46:19 +01:00
Marcin Grzejszczak
225a2d4cbf 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:39:18 +01:00
Marcin Grzejszczak
7e393cdf38 Explained TraceAsyncRestTemplate bean creation
fixes #484
2016-12-29 13:38:40 +01:00
Toshiaki Maki
a28cc4600f 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:18 +01:00
Marcin Grzejszczak
a9139b57db Updated readme with new span approach 2016-12-19 14:58:47 +01:00
Marcin Grzejszczak
eab6d39cb6 Updated docs 2016-11-10 15:49:22 +01:00
Marcin Grzejszczak
642cf9d7a9 Updated docs 2016-11-10 15:41:03 +01:00
Marcin Grzejszczak
96df523557 Added baggage support (#440)
without this change there is no support for context propagation
with this change whenever you pass the `baggage-...` for http or `baggage_` for messaging headers then such a value will be propagated through your system

fixes #237
2016-11-10 15:36:47 +01:00
Marcin Grzejszczak
9291af89cf Updated docs 2016-11-06 12:31:03 +01:00
Marcin Grzejszczak
43ae6dd7e3 Updated docs whitelisted branches 2016-11-02 14:13:54 +01:00
Marcin Grzejszczak
69521f37f0 Updated version to 1.2.0 2016-11-02 13:58:40 +01:00
Marcin Grzejszczak
ec3a94b8c5 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:07:07 +02:00
Biju Kunjummen
92cdb8817b Issue 424 - Documentation for adding trace/span headers to http response (#429) 2016-10-27 13:42:48 +02:00
Marcin Grzejszczak
8794971bfe Increased level of TOC 2016-10-20 12:21:09 +02:00
Dan Stine
d30fcd5201 fix small typo 2016-10-08 21:26:36 -04:00
Marcin Grzejszczak
f00585a7d4 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:35:11 +02:00
Marcin Grzejszczak
07356222e5 Removed adoc footer 2016-09-07 17:48:10 +02:00
Marcin Grzejszczak
de19e3adfa Added info about root span 2016-08-29 15:08:55 +02:00
Marcin Grzejszczak
dd080029dc Updating ghpages for all projects 2016-08-22 13:32:47 +02:00
Marcin Grzejszczak
2f93bd955a 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:37:50 +02:00
Marcin Grzejszczak
2f1fd86155 Updating ghpages for all projects 2016-08-19 11:47:09 +02:00
Marcin Grzejszczak
e58c67bcf7 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:50 +02:00
Marcin Grzejszczak
c779bcf3b2 Updating ghpages for all projects 2016-08-18 13:16:01 +02:00
Marcin Grzejszczak
f9e3e9131d Updating ghpages for all projects 2016-08-17 12:46:09 +02:00
Marcin Grzejszczak
2e7ddfde8a 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:16:25 +02:00
Marcin Grzejszczak
74c8e50e7a Updated Zipkin UI docs
fixes #375
2016-08-16 14:06:01 +02:00
Marcin Grzejszczak
3f53a11ff9 Revert "Fixing config properties for Zipkin Consumer (#358)"
This reverts commit 46d18e83a7.
2016-07-30 21:52:48 +02:00
Marcin Grzejszczak
f74dafbda6 Updated the docs with a newer image 2016-07-29 16:10:56 +02:00
Marcin Grzejszczak
b26ae5da86 Updated the docs to include the new poller mechanism 2016-07-29 15:48:19 +02:00
Marcin Grzejszczak
56e16a25e2 Updated zipkin trace screenshot 2016-07-29 14:22:06 +02:00
Marcin Grzejszczak
11a7c5f2ac Updated docs
fixes #345
2016-07-29 14:06:29 +02:00
Marcin Grzejszczak
7ec9a96764 Adding info about messaging and executors
fixes #351
2016-07-29 12:54:21 +02:00
Víctor Felipe Godoy Hernández
46d18e83a7 Fixing config properties for Zipkin Consumer (#358)
Using the e.g properties from Zipkin Consumer gives the following error when loading the zipkin-server ui:

ERROR: cannot load service names: zipkin/storage/mysql/internal/generated/tables/ZipkinAnnotations
ERROR: cannot load span names: zipkin/storage/mysql/internal/generated/tables/ZipkinSpans

So to fix it you have to explicitly add username and password for the mysql storage.
2016-07-29 12:19:02 +02:00
Marcin Grzejszczak
3707c84043 Playing with ghpages 2016-07-27 13:15:15 +02:00
Marcin Grzejszczak
e8a7dfc6eb Updated wrong link in docs 2016-07-27 13:00:02 +02:00
Marcin Grzejszczak
4a6a556af0 Added tests and fix docs for AsyncRestTemplate
fixes #334
2016-07-15 16:26:21 +02:00