Adrian Cole
a9128dcd32
Updates to Brave 5.12 and introduces SpanHandler ( #1632 )
...
`SpanHandler` is the base type for the now deprecated `FinishedSpanHandler`.
Notable, it can not just handle things at the end of a recording, but also the
beginning.
For example, this permits set-once baggage without the HTTP abstraction:
```java
static final BaggageField EPOCH_SECONDS = BaggageField.create("epoch_seconds");
static final class RootOnlyBaggage extends SpanHandler {
@Override
public boolean begin(TraceContext context, MutableSpan span, @Nullable TraceContext parent) {
if (EPOCH_SECONDS.getValue(context) == null) { // only set at the first span
long epochSeconds = System.currentTimeMillis() / 1000;
EPOCH_SECONDS.updateValue(context, String.valueOf(epochSeconds));
}
return true;
}
@Override public boolean end(TraceContext context, MutableSpan span, Cause cause) {
Tags.BAGGAGE_FIELD.tag(EPOCH_SECONDS, context, span);
return true;
}
}
```
As the parent is available, it can also facilitate advanced tasks like counting
children, or summarizing entire local roots.
See https://github.com/openzipkin/brave/tree/master/brave/src/test/java/brave/features/handler
and https://github.com/openzipkin/brave/blob/master/brave/src/main/java/brave/handler/SpanHandler.java for more
2020-05-17 21:20:09 +08:00
buildmaster
efda469d91
Bumping versions to 2.1.8.BUILD-SNAPSHOT after release
2020-01-31 22:16:43 +00:00
buildmaster
00af789f6d
Going back to snapshots
2020-01-31 22:16:43 +00:00
buildmaster
c4c05354e5
Update SNAPSHOT to 2.1.7.RELEASE
2020-01-31 22:14:45 +00:00
buildmaster
22fce3694f
Bumping versions to 2.1.7.BUILD-SNAPSHOT after release
2019-11-18 15:46:50 +00:00
buildmaster
f2af9fa8d1
Going back to snapshots
2019-11-18 15:46:50 +00:00
buildmaster
1fbfc67930
Update SNAPSHOT to 2.1.6.RELEASE
2019-11-18 15:45:34 +00:00
Marcin Grzejszczak
54068d24ce
Bumping versions to 2.1.6.BUILD-SNAPSHOT after release
2019-10-31 12:39:24 +01:00
Marcin Grzejszczak
f993c6f131
Going back to snapshots
2019-10-31 12:39:23 +01:00
Marcin Grzejszczak
6a5cbbc519
Update SNAPSHOT to 2.1.5.RELEASE
2019-10-31 12:35:35 +01: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
Ryan Baxter
7ba1ec79eb
Bumping versions
2019-09-10 17:08:12 -04: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
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
ac9774d8f7
URL Cleanup ( #1279 )
...
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://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 338 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-22 09:56:20 +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
f044c07f67
NPE guard for null response; fixes gh-1224
2019-02-28 15:28:42 +01:00
Marcin Grzejszczak
b4174ffa82
Trying to make tests less brittle
2019-02-27 16:02:25 +01: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
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
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
9b2def2be1
Improved span passing for NettyClient.
...
without this change the child span has a wrong parent span id
2018-11-02 13:31:43 +01:00
Marcin Grzejszczak
aa2a0209de
Brought back netty-client instrumentation; fixes gh-1080
2018-11-02 11:34:55 +01:00
Marcin Grzejszczak
99d38afc69
Fixed a lot of checkstyle warnings'
2018-10-01 12:29:33 +02:00
Spencer Gibb
390473a60e
Going back to snapshots
2018-09-21 19:12:25 -04:00
Spencer Gibb
30b2b63225
Update SNAPSHOT to Greenwich.M1
2018-09-21 19:11:37 -04:00
Sergii Karpenko
85761191d8
Improve support for reactor #1027 ( #1028 )
...
* reactor Mono/Flux enhancement : post review fixes (methods renamed to reactor)
* new span started on @ContinueSpan should be closed on completion
* #1027 tests for reactor Mono/Flux support enhancement
fixes gh-1027
2018-08-09 11:01:17 +02:00
Marcin Grzejszczak
04440fa959
GOing back to 2.1.0. Some merge went bad
2018-08-02 14:23:38 +02:00
buildmaster
77643d8c24
Bumping versions to 2.0.2.BUILD-SNAPSHOT after release
2018-08-01 16:30:11 +02:00
buildmaster
5dbd18c583
Going back to snapshots
2018-08-01 16:30:10 +02:00
buildmaster
d9e9b45f78
Update SNAPSHOT to 2.0.1.RELEASE
2018-08-01 16:30:10 +02:00
Marcin Grzejszczak
3eef9e1a54
Bumped to Greenwich
2018-07-25 10:55:48 +02:00
buildmaster
9e43c3588b
Bumping versions to 2.0.1.BUILD-SNAPSHOT after release
2018-06-19 01:05:25 +00:00
buildmaster
1900a91635
Going back to snapshots
2018-06-19 01:05:24 +00:00
buildmaster
08d3642427
Update SNAPSHOT to 2.0.0.RELEASE
2018-06-19 01:01:39 +00:00