Commit Graph

183 Commits

Author SHA1 Message Date
Marcin Grzejszczak
d515370df2 Use Micrometer metrics instead of in memory one (#1477)
Using the micrometer zipkin reporter

fixes #1468
2019-10-24 10:57:00 +02: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
Brian Devins-Suresh
dc82c5cafc SQS Messaging Autoconfig (#1218)
added support for SQS messaging tracing
2019-10-03 12:18:32 +02:00
Marcin Grzejszczak
27ac4b4a6a Bumped libs, removed explicit commons dep declaration; fixes gh-1367 2019-09-19 10:33:17 +02:00
Branden Cash
9a01b3974b Added support for quartz instrumentation (#1428)
A running job should be wrapped in a tracing span. And if the JobDataMap for a given job is injected with tracing parameters, they will be extracted so the job will be a child span to that larger parent span.
2019-09-04 16:57:54 +02:00
Marcin Grzejszczak
0cf9003ae9 Merge branch '2.1.x' 2019-08-30 15:35:34 +02:00
Marcin Grzejszczak
dc4165ffe3 Not fails the context startup when web is disabled; fixes gh-1435 2019-08-30 15:24:41 +02:00
buildmaster
40a5333e56 Going back to snapshots 2019-08-14 15:47:10 +00:00
buildmaster
4884f0f78c Update SNAPSHOT to 2.2.0.M2 2019-08-14 15:45:31 +00:00
Marcin Grzejszczak
e6b78d267f Migrates tests to separate modules (#1395)
fixes #1394
2019-07-08 13:36:20 +02:00
buildmaster
e9ee0ba686 Going back to snapshots 2019-07-03 20:04:36 +00:00
buildmaster
1d0422c12e Update SNAPSHOT to 2.2.0.M1 2019-07-03 20:03:26 +00:00
buildmaster
74c2b0b618 Bumping versions to 2.1.3.BUILD-SNAPSHOT after release 2019-06-20 21:26:50 +00:00
buildmaster
0a4e7b5d7b Going back to snapshots 2019-06-20 21:26:50 +00:00
buildmaster
cc0b3341a5 Update SNAPSHOT to 2.1.2.RELEASE 2019-06-20 21:25:35 +00:00
Tim te Beek
15f6363746 Add SleuthKafkaStreamsConfiguration to enable starting and reporting spans (#1365) 2019-06-16 07:38:10 +08:00
Marcin Grzejszczak
78d271d195 http to https 2019-06-06 14:35:28 +02:00
Marcin Grzejszczak
1b493e602a Added tracing for TopicConnection for JMS
fixes gh-1324
2019-04-05 09:50:43 +02:00
Marcin Grzejszczak
58b2115a1d Merge branch '2.1.x' 2019-04-02 14:38:01 +02:00
Marcin Grzejszczak
3e1184e7f7 Polish 2019-04-02 14:37:37 +02:00
Marcin Grzejszczak
eb0804d660 Merge pull request #1267 from chang-chao/enable_lettuce_issue1233
Enables Redis tracing by default.
2019-03-29 12:32:03 +01:00
Marcin Grzejszczak
65ea711671 Removed Spring Data support until it gets resolved in Spring Hateoas 2019-03-29 11:08:16 +01:00
Spring Operator
e6c9351118 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* [ ] http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to:
  https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://maven.apache.org/xsd/maven-4.0.0.xsd with 16 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* [ ] http://www.springframework.org/schema/integration/spring-integration.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/integration/spring-integration.xsd ([https](https://www.springframework.org/schema/integration/spring-integration.xsd) result 200).
* [ ] http://www.springframework.org/schema/task/spring-task.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/task/spring-task.xsd ([https](https://www.springframework.org/schema/task/spring-task.xsd) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 32 occurrences
* http://www.springframework.org/schema/beans with 2 occurrences
* http://www.springframework.org/schema/integration with 2 occurrences
* http://www.springframework.org/schema/task with 2 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 17 occurrences
2019-03-26 00:18:18 -05:00
Spring Operator
be252493c0 URL Cleanup (#1264)
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to:
  https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 16 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://www.springframework.org/schema/beans/spring-beans.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* http://www.springframework.org/schema/integration/spring-integration.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/integration/spring-integration.xsd ([https](https://www.springframework.org/schema/integration/spring-integration.xsd) result 200).
* http://www.springframework.org/schema/task/spring-task.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/task/spring-task.xsd ([https](https://www.springframework.org/schema/task/spring-task.xsd) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 32 occurrences
* http://www.springframework.org/schema/beans with 2 occurrences
* http://www.springframework.org/schema/integration with 2 occurrences
* http://www.springframework.org/schema/task with 2 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 17 occurrences
2019-03-21 12:59:41 +01:00
chang-chao
502aba84b1 Enables Redis tracing by default.
Currently, only Lettcue Redis client is supported.
2019-03-21 10:30:03 +09:00
Spring Operator
4c181fb934 URL Cleanup (#1230)
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch migrated to:
  https://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch ([https](https://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch) result 200).
* http://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin migrated to:
  https://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin ([https](https://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance
2019-03-11 23:22:17 -04:00
Marcin Grzejszczak
3879e171e6 Hoxton 2019-03-08 16:50:45 +01:00
buildmaster
3b4dc7b17a Bumping versions to 2.1.2.BUILD-SNAPSHOT after release 2019-03-05 20:06:52 +00:00
buildmaster
ce39889121 Going back to snapshots 2019-03-05 20:06:51 +00:00
buildmaster
cf138b8dcb Update SNAPSHOT to 2.1.1.RELEASE 2019-03-05 20:00:58 +00:00
Marcin Grzejszczak
2f7cf78614 Applied checkstyle 2019-02-07 16:41:59 +01:00
buildmaster
4b3eae2453 Bumping versions to 2.1.1.BUILD-SNAPSHOT after release 2019-01-22 18:53:51 +00:00
buildmaster
dd96605d34 Going back to snapshots 2019-01-22 18:53:51 +00:00
buildmaster
4829876aec Update SNAPSHOT to 2.1.0.RELEASE 2019-01-22 18:51:05 +00:00
Marcin Grzejszczak
ec60f3a3a5 Fixed the Gateway integration with Sleuth
fixes gh-1141
2019-01-09 09:58:30 +01:00
Marcin Grzejszczak
2579e7887d Added rate limit sampler via a property
fixes gh-1162
2019-01-07 10:21:20 +01:00
buildmaster
3dfc4b0be2 Going back to snapshots 2018-12-20 21:28:46 +00:00
buildmaster
d8d469a20d Update SNAPSHOT to 2.1.0.RC3 2018-12-20 21:27:48 +00:00
buildmaster
4805480ce5 Going back to snapshots 2018-12-11 22:20:00 +00:00
buildmaster
65c0838cfc Update SNAPSHOT to 2.1.0.RC2 2018-12-11 22:18:47 +00:00
buildmaster
00922f390c Going back to snapshots 2018-12-11 18:48:50 +00:00
buildmaster
1a901ac432 Update SNAPSHOT to 2.1.0.RC1 2018-12-11 18:47:57 +00:00
Tyler Van Gorder
415a7a6a2c First attempt to add GRPC instrumentation (#1139)
* Adding preliminary GRPC instrumentation to Sleuth

fixes #305
2018-12-04 22:22:03 +01:00
buildmaster
26417a2707 Going back to snapshots 2018-11-18 09:55:50 +00:00
buildmaster
bc5305e585 Update SNAPSHOT to 2.1.0.M2 2018-11-18 09:54:52 +00:00
Marcin Grzejszczak
4c7e83a0da Going back to serial test execution 2018-10-14 23:45:41 +02:00
Marcin Grzejszczak
9171b40c07 Parallelized Sleuth tests 2018-10-14 23:32:06 +02:00
Spencer Gibb
390473a60e Going back to snapshots 2018-09-21 19:12:25 -04:00