Commit Graph

1005 Commits

Author SHA1 Message Date
l30thelion
74a86f9908 Handle sleuth headers sent from spring-kafka as byte[] in Spring Cloud (#925)
Similar to https://github.com/openzipkin/brave/blob/master/instrumentation/kafka-clients/src/main/java/brave/kafka/clients/KafkaPropagation.java
2018-04-08 08:51:21 +08:00
Marcin Grzejszczak
249643d433 Merge branch '1.3.x' 2018-04-06 22:39:55 +02:00
Marcin Grzejszczak
f070a88fc7 Fixed test 2018-04-06 22:39:31 +02:00
Marcin Grzejszczak
7f73677bc8 Spel security fix; fixes gh-917 2018-04-06 17:06:47 +02:00
Marcin Grzejszczak
3e5cefc199 Fixed test 2018-04-05 18:37:58 +02:00
Marcin Grzejszczak
76739a5b6b Added SPEL support; fixes gh-917 2018-04-05 16:36:59 +02:00
Marcin Grzejszczak
13ff16e2a5 Fixed the broken tests 2018-04-05 16:08:27 +02:00
Marcin Grzejszczak
71c7a9d168 Guard against NPE for async; fixes gh-926 2018-04-04 13:58:51 +02:00
Marcin Grzejszczak
306c34a56a Fixed the accidental commit 2018-03-28 15:38:30 +02:00
Marcin Grzejszczak
3713a027b3 Added NPE guard, fixes gh-916 2018-03-28 15:02:55 +02:00
buildmaster
5ed219e34f Bumping versions to 1.3.4.BUILD-SNAPSHOT after release 2018-03-26 23:09:58 +00:00
buildmaster
fc1942e940 Going back to snapshots 2018-03-26 23:09:57 +00:00
buildmaster
738aaed797 Update SNAPSHOT to 1.3.3.RELEASE 2018-03-26 23:07:40 +00:00
buildmaster
36534558d9 Going back to snapshots 2018-03-22 22:01:28 +00:00
buildmaster
e33c0ccb80 Update SNAPSHOT to 2.0.0.M9 2018-03-22 22:00:29 +00:00
Marcin Grzejszczak
109edeb2b7 Reusing object instead of calling bean factory to retrieve it; fixes gh-905 2018-03-21 12:17:10 +01:00
Adrian Cole
3649852ce9 Adds the ability to configure things needed by stackdriver
We will eventually need to change the encoder to use their format. Also,
stackdriver does not support shared spans.
2018-03-20 22:18:19 +08:00
Marcin Grzejszczak
ad2b9dd39d Fixed interaction with NettyRoutingFilter
The `org.springframework.cloud.gateway.filter.NettyRoutingFilter` in SC Gateway
is adding only these headers that were set when the request came in. That means
that adding any additional headers (via instrumentation) is completely ignored.
That's why we're wrapping the `HttpClientRequest` in such a wrapper that
when `setHeaders` is called (that clears any current headers), will also add
the tracing headers

fixes gh-907
2018-03-20 11:10:14 +01:00
Marcin Grzejszczak
c0f867b52b HookRegisteringBeanDefinitionRegistryPostProcessor is a static bean 2018-03-20 09:48:03 +01:00
Marcin Grzejszczak
59b406b9ac Added a check on Feign's class 2018-03-19 15:30:17 +01:00
Marcin Grzejszczak
13ccc0bc44 Instrumenation of feign now requires usage of cloud-openfeign; fixes gh-903 2018-03-19 15:10:35 +01:00
Adrian Cole
ecf789716b Corrects Adrian's rookie move 2018-03-19 09:41:33 +08:00
Adrian Cole
36d2a848e9 Adds notes about default broker name in messaging 2018-03-17 10:06:24 +08:00
Marcin Grzejszczak
837d8ec06a Messaging spans are visible in dependency view fixes gh-867 2018-03-16 08:56:26 +01:00
Marcin Grzejszczak
9a085e3b41 Added span creation for a kafka listener; fixes gh-900 2018-03-13 14:53:00 +01:00
Adrian Cole
404bd9d7e4 Updates to Brave 4.18.0 2018-03-13 15:38:36 +08:00
Marcin Grzejszczak
bf6546c2ab Updated messaging code 2018-03-12 15:47:08 +01:00
Marcin Grzejszczak
171daaf280 Migrated to brave's span customizing handler interceptors 2018-03-11 20:45:53 +01:00
Marcin Grzejszczak
f18b3369e0 Percentage -> probability 2018-03-11 09:20:01 +01:00
Marcin Grzejszczak
c864b062aa Made bpp static 2018-03-09 12:13:38 +01:00
Marcin Grzejszczak
e8dfe1ae02 Reusing reactor context for span continuing subscriber
without this change we were not reusing a span context if there was no previous span. Instead we were overwrriting it with an empty one

with this change, if the context is there we are reusing it instead of overwriting it

fixes gh-897
2018-03-09 11:36:53 +01:00
Marcin Grzejszczak
73f9ec61f6 Added spring-kafka support; fixes gh-896 2018-03-09 10:16:26 +01:00
Marcin Grzejszczak
0474478f59 Fixed checkstyle 2018-03-09 09:14:06 +01:00
Marcin Grzejszczak
219d349bc3 Polish messaging; fixes gh-893, fixes gh-894 2018-03-09 08:48:28 +01:00
Marcin Grzejszczak
9f6801aa05 New span parser (#891) 2018-03-08 10:54:30 +08:00
Marcin Grzejszczak
102c3f86b3 Changed the remote endpoint for rabbit 2018-03-07 20:42:40 -05:00
Marcin Grzejszczak
a6e23231e1 Brought back the 128 bit property setting 2018-03-07 20:18:36 -05:00
Marcin Grzejszczak
c159949484 Made WebFilter use standard http brave components; fixes gh-889 2018-03-07 09:53:06 -05:00
Marcin Grzejszczak
375f244279 Added support for customization of HttpTracing
with this change you can define beans that will get added / set to the `HttpTracing` bean

    fixes gh-886
2018-03-07 06:41:47 -05:00
Marcin Grzejszczak
d83c9d1c31 Added instrumentation of spring amqp components
with this change we're reusing Brave to add instrumentation to any existing RabbitTemplate

    fixes gh-883
2018-03-06 14:14:55 -05:00
Adrian Cole
2e974e8ce7 Prefers "plain bean names" for community instrumentation (#885)
Instrumentation around brave is more likely to use a simple bean name
like "tracing" vs "sleuthTracing". This changes the commodity beans to
simple names so that we can avoid having to teach naming prefixes unless
necessary.

This affects the following beans:
* httpTracing
* tracing
* tracer
* spanCustomizer

This came up when integrating dubbo, as their extension loader prefers
stable bean names. For example, loading `brave.Tracing` with their
spring extension silently failed because our bean was named
"sleuthTracing". Even if we can provide instructions to override this,
seems best to dodge.
2018-03-06 12:33:23 +01:00
Marcin Grzejszczak
37a6763a44 Fixed potential NPEs 2018-03-05 10:23:44 +01:00
Marcin Grzejszczak
2f2b54c103 ignoring flakey feign test 2018-03-04 13:44:40 +01:00
Marcin Grzejszczak
86295d89a1 Added a workaround for fixes gh-881 2018-03-04 12:46:41 +01:00
Marcin Grzejszczak
347c63ea82 Aligned HTTP instrumentation with Brave (#878)
* Aligned HTTP instrumentation with Brave

with this change we remove TraceFilter and make TraceHandlerInterceptor a legacy component. All HTTP instrumentation is done via Brave.

fixes gh-873
2018-03-04 09:53:52 +01:00
Marcin Grzejszczak
a9779b15d8 Added debug logs for flakey test 2018-03-03 22:38:38 +01:00
Marcin Grzejszczak
0d136893a3 Added UserInfoRestTemplateCustomizer support; fixes gh-879 2018-03-03 19:51:05 +01:00
Marcin Grzejszczak
7ba269b9b0 Trying to fix flakey Feign tests 2018-03-02 22:32:47 +01:00
Spencer Gibb
1c8e940816 Going back to snapshots 2018-03-02 12:50:50 -05:00
Spencer Gibb
1cdf2fef73 Update SNAPSHOT to 2.0.0.M8 2018-03-02 12:48:44 -05:00