Commit Graph

170 Commits

Author SHA1 Message Date
Adrian Cole
dcefd7b4db Stops configuring ExtraFieldPropagation. Starts configuring BaggagePropagation (#1602) 2020-04-06 16:38:32 +08:00
Adrian Cole
b79f8897c2 Merge branch '2.2.x' 2020-04-03 20:20:58 +08:00
Adrian Cole
c20f6c6a11 Moves Slf4jScopeDecorator to use CorrelationField internally (#1597) 2020-04-03 19:57:37 +08:00
Adrian Cole
b9b2357fb5 Merge branch '2.2.x' 2020-04-03 16:17:24 +08:00
Adrian Cole
60820379f1 Updates to latest brave and removes all static thread local use (#1594) 2020-04-03 08:01:22 +08:00
Marcin Grzejszczak
729df801ab Merge branch '2.2.x' 2020-03-31 14:20:34 +02:00
Adrian Cole
1e1e1f04bf Finalizes reactor-netty HttpClient implementations (#1586) 2020-03-26 17:10:01 +08:00
buildmaster
2674fba171 Bumping versions to 2.2.3.BUILD-SNAPSHOT after release 2020-03-04 16:59:42 +00:00
buildmaster
5dd714da5c Going back to snapshots 2020-03-04 16:59:42 +00:00
buildmaster
151218b30a Update SNAPSHOT to 2.2.2.RELEASE 2020-03-04 16:57:41 +00:00
Adrian Cole
8e6760d2b6 Merge branch '2.2.x' 2020-02-27 16:07:57 +08:00
Adrian Cole
44c9027199 brave patch 2020-02-27 15:52:14 +08:00
Adrian Cole
db2d9aeaaa Merge branch '2.2.x' 2020-02-26 16:51:58 +08:00
Adrian Cole
7262790717 Performs minimal work to update to Brave 5.10 (#1573)
A later PR will handle new features/deprecation
2020-02-26 16:43:14 +08:00
Marcin Grzejszczak
b65e7ca20e Merge branch '2.2.x' 2020-02-18 12:23:14 +01:00
Adrian Cole
236af9c70f bumps to latest brave 2020-02-13 12:06:04 -08:00
Marcin Grzejszczak
3813cf9dd4 Removes modules in maintenance more.
Zuul, ribbon and hystrix
2020-02-12 11:03:04 +01:00
Adrian Cole
a6d7bd3784 bumps to latest brave 2020-02-04 13:24:12 +08:00
Adrian Cole
fc47d61883 bumps to latest brave 2020-02-04 13:23:54 +08:00
Adrian Cole
fe2591b22a latest brave 2020-01-29 14:06:10 +08:00
Adrian Cole
163532fd8a latest brave 2020-01-29 14:05:46 +08:00
Adrian Cole
8a4002d288 Cleanups of build including upgrade of Brave (#1530)
In efforts to dig deep into benchmarks, I noticed we were a bit out of
date on Brave. Then, noticed some other artifacts could be bumped
safely. Finally, a find/replace on http/https was over zealous and
tripped up XML.

One change to test expectations and Brave is explained here:
https://github.com/openzipkin/brave/blob/master/instrumentation/RATIONALE.md#calling-spanfinish-while-the-context-is-in-scope
2020-01-22 19:31:50 +08:00
Adrian Cole
8866b84906 Cleanups of build including upgrade of Brave (#1530)
In efforts to dig deep into benchmarks, I noticed we were a bit out of
date on Brave. Then, noticed some other artifacts could be bumped
safely. Finally, a find/replace on http/https was over zealous and
tripped up XML.

One change to test expectations and Brave is explained here:
https://github.com/openzipkin/brave/blob/master/instrumentation/RATIONALE.md#calling-spanfinish-while-the-context-is-in-scope
2020-01-21 09:44:08 +01:00
buildmaster
f0330a95b1 Bumping versions 2020-01-18 05:28:58 +00:00
buildmaster
1c4a3da588 Bumping versions to 2.2.2.BUILD-SNAPSHOT after release 2019-12-20 13:48:43 +00:00
buildmaster
ac6dff3407 Going back to snapshots 2019-12-20 13:48:43 +00:00
buildmaster
c71d6ff0e2 Update SNAPSHOT to 2.2.1.RELEASE 2019-12-20 13:46:45 +00:00
buildmaster
a15b39a5c8 Bumping versions 2019-12-20 05:29:32 +00:00
buildmaster
9ca94951ec Bumping versions to 2.2.1.BUILD-SNAPSHOT after release 2019-11-26 10:35:52 +00:00
buildmaster
830f300ca9 Going back to snapshots 2019-11-26 10:35:52 +00:00
buildmaster
312f87cd23 Update SNAPSHOT to 2.2.0.RELEASE 2019-11-26 10:34:27 +00:00
buildmaster
99ebccf97c Going back to snapshots 2019-11-10 00:19:36 +00:00
buildmaster
10e6f9a705 Update SNAPSHOT to 2.2.0.RC2 2019-11-10 00:18:38 +00:00
buildmaster
e419f241d1 Bumping versions 2019-11-07 15:20:15 +00:00
Marcin Grzejszczak
76b7563feb Merge branch '2.1.x' 2019-10-30 13:11:39 +01:00
Marcin Grzejszczak
cd2e2c2d49 Configure Reactor instrumentation to wrap onLastOperator or onEachOperator
with this feature we would allow user to pick whether they instrument on each or on last operator.

fixes gh-1478
2019-10-30 13:09:30 +01:00
buildmaster
b4b597872f Going back to snapshots 2019-10-24 21:05:59 +00:00
buildmaster
d972a87338 Update SNAPSHOT to 2.2.0.RC1 2019-10-24 21:05:02 +00:00
buildmaster
536eee5b6c Bumping versions 2019-10-24 05:29:09 +00:00
Marcin Grzejszczak
8c556542dc Merge branch '2.1.x' 2019-10-09 10:34:04 -05:00
Marcin Grzejszczak
69104ec3b7 Polish 2019-10-09 10:29:44 -05:00
Adrian Cole
aa533bc4cb Updates to latest Sampling infrastructure (2.1.x) (#1461)
* Updates to latest Sampling infrastructure (2.1.x)

This adapts #1456 for the 2.1.x branch
2019-10-08 18:47:25 -05:00
buildmaster
2a046e0a0b Bumping versions 2019-10-04 05:29:40 +00:00
buildmaster
9361cf2017 Going back to snapshots 2019-10-03 20:06:35 +00:00
buildmaster
365a1c60f0 Update SNAPSHOT to 2.2.0.M3 2019-10-03 20:05:37 +00:00
Adrian Cole
be5fa04118 Updates to latest Sampling infrastructure (#1456)
* Updates to latest Sampling infrastructure

Brave recently switched to an interface model for higher level sampling
like HTTP. So, `HttpSampler` -> `SamplingFunction<HttpRequest>`. Don't
worry because `HttpSampler` was retrofitted as a `SamplingFunction`.

This change moves to the higher interface, avoiding deprecated methods
and such. More interestingly, this weaves in support for `RpcTracing`,
which *finally* introduces RPC sampling the same way. Specifically, this
adds `SamplingFunction<RpcRequest>` under the same conventions as HTTP.

Most immediately, this can be used here in gRPC and Dubbo, as
autoconfiguration exists. It also works with any autoconfiguration that
isn't here, such as Armeria.

Ex. Here's a sampler that traces 100 "GetUserToken" requests per second. This
doesn't start new traces for requests to the health check service. Other
requests will use a global rate provided by the tracing component.

```java
import static brave.rpc.RpcRequestMatchers.methodEquals;
import static brave.rpc.RpcRequestMatchers.serviceEquals;
import static brave.sampler.Matchers.and;

--snip--
@Bean(name = ServerSampler.NAME)
SamplerFunction<RpcRequest> myRpcSampler() {
  Matcher<RpcRequest> userAuth = and(
      serviceEquals("users.UserService"),
      methodEquals("GetUserToken")
  );
  return RpcRuleSampler.newBuilder()
      .putRule(serviceEquals("grpc.health.v1.Health"), Sampler.NEVER_SAMPLE)
      .putRule(userAuth, RateLimitingSampler.create(100)).build();
}
```
2019-10-03 12:21:56 +02:00
Marcin Grzejszczak
028a79dc25 Bumping versions to 2.1.5.BUILD-SNAPSHOT after release 2019-09-27 13:56:35 +02:00
Marcin Grzejszczak
198843a917 Going back to snapshots 2019-09-27 13:56:35 +02:00
Marcin Grzejszczak
c9196fe177 Update SNAPSHOT to 2.1.4.RELEASE 2019-09-27 13:09:09 +02:00
buildmaster
2b6b07374c Bumping versions 2019-09-26 05:29:04 +00:00