Commit Graph

310 Commits

Author SHA1 Message Date
Marcin Grzejszczak
0ff1cf92bd [#128] Added spans for messaging
fixes #128
2016-01-25 15:57:28 +01:00
Adrian Cole
4dca83f248 Merge pull request #130 from spring-cloud/log-even
Prefers the word event when adding to a Span's timeline
2016-01-25 11:34:39 +01:00
Adrian Cole
ef7e70dde3 Prefers the word event when adding to a Span's timeline
Span.logs are really timestamped events. This clarifies the naming and
documentation around that.
2016-01-25 11:24:07 +01:00
Adrian Cole
763d2d027c Updates to latest zipkin, which encourages new http tags 2016-01-25 10:51:05 +01:00
Adrian Cole
b6054bfbe4 Clarifies configuration in zipkin sample 2016-01-25 09:24:54 +01:00
Adrian Cole
d83e0dea3c Merge pull request #129 from spring-cloud/dots
Changes http key delimiter to dot and adds size keys
2016-01-24 17:57:01 +01:00
Dave Syer
a3a15fb69e Use classpath*: to ensure all binders are located 2016-01-24 14:48:16 +00:00
Dave Syer
205d9c1a84 Move stream header environment properties to stream library 2016-01-24 11:25:31 +00:00
Adrian Cole
9417110e90 Changes http key delimiter to dot and adds size keys 2016-01-23 17:28:12 +01:00
Marcin Grzejszczak
8258289550 [#128] Added an integration test 2016-01-22 13:24:42 +01:00
Marcin Grzejszczak
301c6b230a [#99] Basic Health Metrics
Changes following review
    - Reusing CounterService to automatically profit from Dropwizard if present
    - NoOp is the default impl for SpanReporterService
    - SpanReporterService has configurable metric names (it's enough to change the
    name to 'meter.a.b.c' to profit from Dropwizard's meters)

    Fixes gh-99
2016-01-21 15:55:26 +01:00
Dave Syer
3a4554d8c1 Tidy up conditionals in trace autoconfig 2016-01-21 14:05:16 +00:00
Dave Syer
689955a1f6 Add some javadocs for Sleuth{Source,Sink} 2016-01-21 14:00:36 +00:00
Dave Syer
0bbd7cb70f Fix messaging and ribbon instrumentation for hex headers
It still feels brittle because it's up to the suthor of the
instrumentation. This patches all the places where we were still
using Long instead of Long.toHexString(..).

Fixes gh-125
2016-01-21 09:48:34 +00:00
Dave Syer
7f58eab435 Make span collection thread safe in message source 2016-01-20 17:00:05 +00:00
Marcin Grzejszczak
10325e9547 Removed obsolete converter 2016-01-20 15:47:29 +01:00
Marcin Grzejszczak
72574f31ed Added comment with the difference between OpenTracing Span and Sleuth's Span 2016-01-20 14:53:16 +01:00
Marcin Grzejszczak
f48fc04049 Added Gitter badge 2016-01-20 14:39:08 +01:00
Marcin Grzejszczak
d22a497b0c TraceAccessor -> SpanAccessor 2016-01-20 14:39:08 +01:00
Marcin Grzejszczak
e560d414f1 Merge pull request #122 from spring-cloud/issues_#98_match_opentracing_sampler
[Match OpenTracing] Matching Sampler
2016-01-20 13:36:05 +01:00
Marcin Grzejszczak
3c5625a9de Changed sampler method to be consistent with open tracing API
https://github.com/opentracing/opentracing-python/blob/master/example/zipkin_like/sampler.py#L36
2016-01-20 13:05:29 +01:00
Marcin Grzejszczak
e948855d98 Removed redundant import 2016-01-20 13:04:16 +01:00
Marcin Grzejszczak
2698e0b9c2 Added Redundant Imports rule for checkstyle 2016-01-20 12:55:19 +01:00
Marcin Grzejszczak
556ff64f99 Added Unused Imports rule for checkstyle 2016-01-20 12:49:30 +01:00
Marcin Grzejszczak
7b6a533498 Fixed checkstyle issues 2016-01-20 12:36:38 +01:00
Marcin Grzejszczak
1084ca1126 Skipping deploy of build-tools 2016-01-20 11:41:19 +01:00
Marcin Grzejszczak
8097408cb2 Merge pull request #120 from spring-cloud/issues_#98_match_opentracing_span
[Match OpenTracing] Matching Tracer
2016-01-20 11:09:32 +01:00
Marcin Grzejszczak
d5b523d021 Converted MilliSpan to Span. Removed the interface 2016-01-20 10:52:02 +01:00
Marcin Grzejszczak
b758008419 Added checkstyle :( 2016-01-20 10:50:43 +01:00
Marcin Grzejszczak
797ca4f50c Removed Trace 2016-01-20 10:50:43 +01:00
Adrian Cole
9bcab5b0c6 Updates to zipkin-java 0.4.3 2016-01-20 12:22:18 +08:00
Dave Syer
da60403321 Add message keys to TraceKeys
User can now configure message headers to be added using
spring.sleuth.keys.message.headers.

Fixes gh-119

Also a bunch of cosmetic changes (imports etc).
2016-01-19 13:40:35 +00:00
Dave Syer
af78160e52 Add some docs for http header tags 2016-01-19 10:25:56 +00:00
Dave Syer
fa5fab9175 Make TraceKeys configurable
User can now configure additional HTTP headers to tag via
spring.sleuth.keys.http.headers.

Fixes gh-118
2016-01-19 10:07:35 +00:00
Marcin Grzejszczak
8e5c9bec53 Merge pull request #117 from spring-cloud/issues_#98_match_opentracing
[Match OpenTracing] Matching Tracer
2016-01-19 09:30:03 +01:00
Marcin Grzejszczak
6b88e97b9c TraceManager -> Tracer; startSpan -> startTrace 2016-01-19 09:02:09 +01:00
Adrian Cole
da065504a7 Merge pull request #115 from spring-cloud/pare-down-http
Pares down default http tags, but opens apis for adding more
2016-01-19 12:50:56 +08:00
Marcin Grzejszczak
28c2f3fb4b Merge pull request #116 from spring-cloud/issues_#86_sampler_param
[#86] Removes the sampler param. Fixed #86
2016-01-18 17:15:54 +01:00
Marcin Grzejszczak
11c0846353 [#86] Removes the sampler param. Fixed #86 2016-01-18 17:06:09 +01:00
Adrian Cole
860622fb57 Pares down default http tags, but opens apis for adding more
Previously, sleuth logged more data than necessary. This led to issues
including spans approaching megabytes each. This pares down default keys
to a minimal set, but allows users to opt-into logging more by extending
`TraceFilter`.
2016-01-18 21:48:59 +08:00
Marcin Grzejszczak
82ed9f78a1 [#106] Converted UUID to Long
- Changed Random instantiation to a shared Random
- Changed the name of the converter
- Changed generator into random
- Span id is now non-nullable.
    - it gets generated in the http filter if it's not there
    - it's generated in the spring-integration channels if it wasn't set
2016-01-18 14:38:09 +01:00
Adrian Cole
483737fdc1 Merge pull request #109 from spring-cloud/shinies
Makes it possible to supply an https zipkin endpoint
2016-01-18 08:59:07 +08:00
Marcin Grzejszczak
6f7faf6905 Merge pull request #112 from spring-cloud/issues_#104_flickering_test
[#104] Refactoring the flickering test
2016-01-15 17:15:31 +01:00
Marcin Grzejszczak
57d9e62a66 [#104] Refactoring the flickering test 2016-01-15 14:53:35 +01:00
Marcin Grzejszczak
3a8234f8b9 Fixed travis script - now only master builds upload artifacts 2016-01-15 13:56:04 +01:00
Marcin Grzejszczak
d6fb303a2c Updated sleuth stream e2e script 2016-01-15 12:37:56 +01:00
Marcin Grzejszczak
034bcdcb35 Updated sleuth e2e script 2016-01-15 12:37:20 +01:00
Adrian Cole
a3af9de4dd Makes it possible to supply an https zipkin endpoint 2016-01-14 22:31:06 +08:00
Marcin Grzejszczak
2965d5053a Merge pull request #108 from spring-cloud/remove-brave-dep-merged
Introduces HttpZipkinSpanReporter (rebased)
2016-01-14 15:19:42 +01:00
Marcin Grzejszczak
bf191d7cba Fixed wrong merging 2016-01-14 14:20:56 +01:00