buildmaster
6b8dd82346
Bumping versions to 2.2.4.BUILD-SNAPSHOT after release
2020-05-28 20:00:54 +00:00
buildmaster
4b961dcdf3
Going back to snapshots
2020-05-28 20:00:54 +00:00
buildmaster
fdf4c647df
Update SNAPSHOT to 2.2.3.RELEASE
2020-05-28 19:57:31 +00:00
Adrian Cole
40785d642a
Removes Zipkin dependency from all tests ( #1645 )
...
Brave's SpanHandler can report natively in other formats which have different
constraints than Zipkin and often extensions to the data model.
This change ports all tests away from Zipkin's types so that it is more clear
what's actually recorded vs what's a side-effect of Zipkin conversion.
This removes `BlockingQueueSpanReporter` which was never released, also.
2020-05-18 17:02:29 +08:00
Adrian Cole
b1d39ce291
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-16 14:01:38 +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
eec55b9a6c
Adds wiring for HttpRequestParser and HttpResponseParser ( #1575 )
2020-03-02 09:12:47 +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
58a956b29a
Addresses Spring Boot 2.3 drift ( #1527 )
2020-01-20 16:42:17 +08: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
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
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
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
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
Adrian Cole
b2d34a0960
latest brave
2019-08-11 23:08:55 +08:00
Adrian Cole
26ac2810ea
latest brave
2019-08-11 23:03:02 +08:00
Marcin Grzejszczak
59216c32f7
Calling asyncreporter#check upon bean registration ( #1413 )
...
fixes gh-1411
2019-07-31 22:53:14 +02:00
Marcin Grzejszczak
e13f7f8048
Merge branch '2.1.x'
2019-07-26 13:07:19 +02:00
Marcin Grzejszczak
51c367e45e
Removed the - signs from default spring var resolution
...
with the current setup we're using the MDC's default interpolation as a default for spring var resolution (which makes no sense)
with this change we're removing the dashes
fixes gh-1396
2019-07-26 13:05:38 +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
Adrian Cole
a5d8893baa
Updates to latest Brave ( #1373 )
2019-06-15 23:49:26 +08:00
Adrian Cole
516963cd2f
Updates to latest Brave ( #1373 )
2019-06-15 23:16:08 +08:00
Marcin Grzejszczak
78d271d195
http to https
2019-06-06 14:35:28 +02:00
Marcin Grzejszczak
f4b979e574
Fixed broken compilation
2019-05-20 12:31:49 +02:00
Marcin Grzejszczak
f29c05fb8f
Merge branch '2.1.x'
2019-04-25 18:44:19 +04:00
Marcin Grzejszczak
0344f238f3
Merge pull request #1298 from spring-operator/polish-urls-xml-2.1.x
...
URL Cleanup
2019-03-29 11:46:17 +01:00
Marcin Grzejszczak
79767c32ea
Merge pull request #1266 from spring-operator/polish-urls-remaining-master
...
URL Cleanup
2019-03-29 11:45:59 +01:00
Marcin Grzejszczak
7351cfa6f2
Merge branch '2.1.x'
2019-03-29 11:42:53 +01:00
Spring Operator
929d6c440c
URL Cleanup ( #1309 )
...
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).
# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.
* [ ] http://ajaxian.com/archives/100-line-ajax-wrapper (200) with 1 occurrences could not be migrated:
([https](https://ajaxian.com/archives/100-line-ajax-wrapper ) result ConnectTimeoutException).
* [ ] http://dubbo.io/ (200) with 1 occurrences could not be migrated:
([https](https://dubbo.io/ ) result SSLHandshakeException).
# 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://jaubourg.net/2010/07/loading-script-as-onclick-handler-of.html (AnnotatedConnectException) with 1 occurrences migrated to:
https://jaubourg.net/2010/07/loading-script-as-onclick-handler-of.html ([https](https://jaubourg.net/2010/07/loading-script-as-onclick-handler-of.html ) result AnnotatedConnectException).
* [ ] http://192.168.99.100:9411/ (ConnectTimeoutException) with 2 occurrences migrated to:
https://192.168.99.100:9411/ ([https](https://192.168.99.100:9411/ ) result ConnectTimeoutException).
* [ ] http://host.com:9999/ticker/12/basd (ConnectTimeoutException) with 1 occurrences migrated to:
https://host.com:9999/ticker/12/basd ([https](https://host.com:9999/ticker/12/basd ) result ConnectTimeoutException).
* [ ] http://compose.docker.io/ (UnknownHostException) with 1 occurrences migrated to:
https://compose.docker.io/ ([https](https://compose.docker.io/ ) result UnknownHostException).
* [ ] http://non.existing.url (UnknownHostException) with 1 occurrences migrated to:
https://non.existing.url ([https](https://non.existing.url ) result UnknownHostException).
* [ ] http://cloud.spring.io/spring-cloud-static/Dalston.SR4/multi/multi__span_data_as_messages.html (404) with 1 occurrences migrated to:
https://cloud.spring.io/spring-cloud-static/Dalston.SR4/multi/multi__span_data_as_messages.html ([https](https://cloud.spring.io/spring-cloud-static/Dalston.SR4/multi/multi__span_data_as_messages.html ) result 404).
* [ ] http://docssleuth-zipkin-server.cfapps.io/dependency (404) with 4 occurrences migrated to:
https://docssleuth-zipkin-server.cfapps.io/dependency ([https](https://docssleuth-zipkin-server.cfapps.io/dependency ) result 404).
* [ ] http://www.erg.abdn.ac.uk/~gerrit/dccp/notes/ccid2/rto_estimator/ (301) with 1 occurrences migrated to:
https://erg.abdn.ac.uk/~gerrit/dccp/notes/ccid2/rto_estimator/ ([https](https://www.erg.abdn.ac.uk/~gerrit/dccp/notes/ccid2/rto_estimator/ ) result 404).
* [ ] 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).
* [ ] http://zipkin.io/pages/existing_instrumentations.html (301) with 1 occurrences migrated to:
https://zipkin.io/pages/existing_instrumentations.html ([https](https://zipkin.io/pages/existing_instrumentations.html ) 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://asciidoctor.org with 1 occurrences migrated to:
https://asciidoctor.org ([https](https://asciidoctor.org ) result 200).
* [ ] http://bugs.jquery.com/ticket/1450 with 2 occurrences migrated to:
https://bugs.jquery.com/ticket/1450 ([https](https://bugs.jquery.com/ticket/1450 ) result 200).
* [ ] http://bugs.jquery.com/ticket/5280 with 1 occurrences migrated to:
https://bugs.jquery.com/ticket/5280 ([https](https://bugs.jquery.com/ticket/5280 ) result 200).
* [ ] http://cloud.spring.io with 2 occurrences migrated to:
https://cloud.spring.io ([https](https://cloud.spring.io ) result 200).
* [ ] http://docs.spring.io/spring-hateoas/docs/current/reference/html/ with 1 occurrences migrated to:
https://docs.spring.io/spring-hateoas/docs/current/reference/html/ ([https](https://docs.spring.io/spring-hateoas/docs/current/reference/html/ ) result 200).
* [ ] http://docssleuth-service1.cfapps.io/start with 1 occurrences migrated to:
https://docssleuth-service1.cfapps.io/start ([https](https://docssleuth-service1.cfapps.io/start ) result 200).
* [ ] http://en.wikipedia.org/wiki/Mapping_of_Unicode_characters with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/Mapping_of_Unicode_characters ([https](https://en.wikipedia.org/wiki/Mapping_of_Unicode_characters ) result 200).
* [ ] http://hacks.mozilla.org/2009/07/cross-site-xmlhttprequest-with-cors/ with 1 occurrences migrated to:
https://hacks.mozilla.org/2009/07/cross-site-xmlhttprequest-with-cors/ ([https](https://hacks.mozilla.org/2009/07/cross-site-xmlhttprequest-with-cors/ ) result 200).
* [ ] http://opentracing.io/ with 3 occurrences migrated to:
https://opentracing.io/ ([https](https://opentracing.io/ ) result 200).
* [ ] http://projects.spring.io/spring-integration/ with 1 occurrences migrated to:
https://projects.spring.io/spring-integration/ ([https](https://projects.spring.io/spring-integration/ ) result 200).
* [ ] http://stackoverflow.com/questions/12817946/generate-a-random-bitset-with-n-1s with 1 occurrences migrated to:
https://stackoverflow.com/questions/12817946/generate-a-random-bitset-with-n-1s ([https](https://stackoverflow.com/questions/12817946/generate-a-random-bitset-with-n-1s ) result 200).
* [ ] http://stackoverflow.com/questions/1641507/detect-browser-support-for-cross-domain-xmlhttprequests with 1 occurrences migrated to:
https://stackoverflow.com/questions/1641507/detect-browser-support-for-cross-domain-xmlhttprequests ([https](https://stackoverflow.com/questions/1641507/detect-browser-support-for-cross-domain-xmlhttprequests ) result 200).
* [ ] http://stevesouders.com/misc/test-postmessage.php with 2 occurrences migrated to:
https://stevesouders.com/misc/test-postmessage.php ([https](https://stevesouders.com/misc/test-postmessage.php ) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 2 occurrences migrated to:
https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ) result 200).
* [ ] http://wiki.whatwg.org/wiki/Dynamic_Script_Execution_Order with 1 occurrences migrated to:
https://wiki.whatwg.org/wiki/Dynamic_Script_Execution_Order ([https](https://wiki.whatwg.org/wiki/Dynamic_Script_Execution_Order ) result 200).
* [ ] http://www.splunk.com/ with 2 occurrences migrated to:
https://www.splunk.com/ ([https](https://www.splunk.com/ ) result 200).
* [ ] http://www.w3.org/TR/DOM-Level-2-Events/events.html with 1 occurrences migrated to:
https://www.w3.org/TR/DOM-Level-2-Events/events.html ([https](https://www.w3.org/TR/DOM-Level-2-Events/events.html ) result 200).
* [ ] http://htrace.incubator.apache.org/ with 2 occurrences migrated to:
https://htrace.incubator.apache.org/ ([https](https://htrace.incubator.apache.org/ ) result 301).
* [ ] http://msdn.microsoft.com/en-us/library/cc197015 with 1 occurrences migrated to:
https://msdn.microsoft.com/en-us/library/cc197015 ([https](https://msdn.microsoft.com/en-us/library/cc197015 ) result 301).
* [ ] http://msdn.microsoft.com/en-us/library/cc288060 with 1 occurrences migrated to:
https://msdn.microsoft.com/en-us/library/cc288060 ([https](https://msdn.microsoft.com/en-us/library/cc288060 ) result 301).
* [ ] http://plugins.jetbrains.com/plugin/6546 with 2 occurrences migrated to:
https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546 ) result 301).
* [ ] http://research.google.com/pubs/pub36356.html with 5 occurrences migrated to:
https://research.google.com/pubs/pub36356.html ([https](https://research.google.com/pubs/pub36356.html ) result 301).
* [ ] http://docsbrewing-zipkin-server.cfapps.io/ with 1 occurrences migrated to:
https://docsbrewing-zipkin-server.cfapps.io/ ([https](https://docsbrewing-zipkin-server.cfapps.io/ ) result 302).
* [ ] http://docssleuth-zipkin-server.cfapps.io/ with 5 occurrences migrated to:
https://docssleuth-zipkin-server.cfapps.io/ ([https](https://docssleuth-zipkin-server.cfapps.io/ ) result 302).
* [ ] http://eclipse.org with 1 occurrences migrated to:
https://eclipse.org ([https](https://eclipse.org ) result 302).
* [ ] http://eclipse.org/m2e/ with 2 occurrences migrated to:
https://eclipse.org/m2e/ ([https](https://eclipse.org/m2e/ ) result 302).
* [ ] http://www.springsource.com/developer/sts with 1 occurrences migrated to:
https://www.springsource.com/developer/sts ([https](https://www.springsource.com/developer/sts ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://127.0.0.1 with 1 occurrences
* http://abc with 1 occurrences
* http://asdasd:111/asd with 1 occurrences
* http://exceptionservice/ with 2 occurrences
* http://foo with 2 occurrences
* http://foo/ with 1 occurrences
* http://fooservice/ with 1 occurrences
* http://fooservice/nonExistent with 1 occurrences
* http://fooservice/noresponse with 1 occurrences
* http://fooservice/notrace with 9 occurrences
* http://fooservice/traceid with 1 occurrences
* http://localhost with 70 occurrences
* http://localhost/?foo=bar with 4 occurrences
* http://localhost:3379 with 1 occurrences
* http://localhost:3380 with 2 occurrences
* http://localhost:3380/async with 1 occurrences
* http://localhost:3380/call with 1 occurrences
* http://localhost:3381 with 1 occurrences
* http://localhost:80/abc with 1 occurrences
* http://localhost:8080/ with 1 occurrences
* http://localhost:9411 with 1 occurrences
* http://localhost:9411/ with 1 occurrences
* http://localhost:9978 with 1 occurrences
* http://localhost:9978/hello/mikesarver with 1 occurrences
* http://localhost:9987/unknown with 1 occurrences
* http://localhost:9988/sleuth/test-not-ok with 1 occurrences
* http://localhost:9998 with 1 occurrences
* http://localhost:9998/sleuth/test-not-ok with 1 occurrences
* http://localhost:9998/sleuth/test-ok with 1 occurrences
* http://some/address with 1 occurrences
* http://zipkin/ with 1 occurrences
* http://zipkin/call with 1 occurrences
* http://zipkin/hi2 with 1 occurrences
* http://zipkinserver/ with 2 occurrences
2019-03-29 11:22:06 +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
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