Commit Graph

490 Commits

Author SHA1 Message Date
Marcin Grzejszczak
a08f94cb21 Made the Redis configuration more generic 2021-11-22 15:41:33 +01:00
Jonatan Ivanov
79323a4e83 Merge branch '3.0.x' 2021-11-17 11:45:16 -08:00
Jonatan Ivanov
720e4373d1 fix typo in docs 2021-11-17 11:45:04 -08:00
Marcin Grzejszczak
8620d399f4 Added opt in for SocketAddress Mongo spans; fixes gh-2050 2021-11-03 11:41:00 +01:00
buildmaster
fd45548d76 Bumping versions 2021-10-26 17:34:40 +00:00
Marcin Grzejszczak
90417f1f07 Stream reactive (#2038)
Added native support for Reactive Spring Cloud Stream.
2021-10-26 16:01:12 +02:00
Flaviu Mureșan
460d994a53 Spring kafka autoconfiguration (#2013)
* Add auto-configuration for spring kafka

* Add auto-configuration for spring kafka

* Make spring-kafka instrumentation autoconfig conditional on missing brave

Co-authored-by: flavium31 <w7og3bljlmmn742puqw2zwzu7ycuwmflr2nb4swrwzivccx6arpq>
2021-09-20 19:19:53 +02:00
Jonatan Ivanov
f3051483d7 Instrumenting Spring Security (#2011)
* First draft of instrumenting Spring Security

* Create events based on Authentication not SecurityContext

* Simplifying security config

* Checkstyle reformat

* Create DocumentedSpan and EventValue for Spring Security instrumentation

* Adding spring-security-bom to ensure the right dependencies are used.

* TracingSecurityContextChangedListenerTests

* Adding integration tests

* Deleting spring-cloud-sleuth-sample-security

* Checkstyle, license, javadoc

* Inlining SleuthSecuritySpan methods

* Deleting javadoc links from DocumentedSpan

* Updating auto-generated docs
2021-08-25 15:44:45 -07:00
Junho, Kim
9eafa2ca58 Fix an example value using TagValueExpressionResolver (#2012) 2021-08-20 13:35:35 +02:00
Junho, Kim
2b17d08ee1 Fix typo in document example (#2010) 2021-08-18 21:55:23 -07:00
Marcin Grzejszczak
1fbfd04b7c Merge remote-tracking branch 'origin/3.0.x' into main 2021-08-09 14:01:19 +02:00
Marcin Grzejszczak
61b0b175e1 Added missing text 2021-08-09 14:00:28 +02:00
Marcin Grzejszczak
51dca96d73 Merge remote-tracking branch 'origin/3.0.x' into main 2021-08-09 13:58:11 +02:00
Marcin Grzejszczak
0cdf31de7b Updated the docs with how to set the trace id in the response
fixes gh-2002
2021-08-09 13:57:39 +02:00
Marcin Zajączkowski
8e925786a0 Add property to disable Reactor support in docs (#2006) 2021-08-06 15:27:56 +02:00
Marcin Grzejszczak
95c1a1df1e Fixed line endings 2021-07-28 20:08:39 +02:00
Chintan Radia
f7eb398917 Fix not able to override datasource-proxy log-level (#1976)
* Fix datasource-proxy log-level is not working

- Aligned default values of `Query` & `SlowQuery` in
  `TraceJdbcProperties.DataSourceProxyProperties`
  and `DataSourceProxyProperties`
- Add code to copy properties of `Query` and `SlowQuery` in
  `DataSourceProxyConfiguration`
- Add test case to check if `log-level` can be override or not.

Fixes gh-1973

* Disable query log listener by default

- By default `QueryLogListener` and `LoggingQueryLogListener`
  will be disabled, dev need to enable it by using properties
- By default `Slf4j` will be enlabled for query logging
  so by adding below property slow query logging will be enabled
  `spring.sleuth.jdbc.datasource-proxy.slow-query.enable-logging=true`
  this property will register `SLF4JSlowQueryListener`

* Add docs for how-to enable data-proxy query logs
2021-06-18 09:36:28 +02:00
Marcin Grzejszczak
7c4d8b1479 Adds support for Kotlin Coroutines (#1977)
* Added Kotlin Coroutine support
* Added docs, polished code and added one more case for reactor context
2021-06-18 07:30:49 +02:00
Marcin Grzejszczak
75b40bb884 Polished the docs 2021-06-16 12:52:42 +02:00
Marcin Grzejszczak
2493b176e5 Actuator endpoint with spans (#1964)
fixes #1879
2021-06-16 12:48:43 +02:00
Marcin Grzejszczak
17ba1b18d5 Adds Cassandra support (#1974)
Co-authored-by: Mark Paluch <mpaluch@vmware.com>
2021-06-10 15:46:04 +02:00
Marcin Grzejszczak
4fcc7cc32e Adds Spring Session support (#1961)
* Adds Spring Session support

* Changes following the review
2021-06-09 16:11:23 +02:00
Marcin Grzejszczak
821bc3abd4 Merge branch 'main' into 3.1.x 2021-06-07 14:31:57 +02:00
Marcin Grzejszczak
6bca07075f Fixed brave redis setup
fixes gh-1971
2021-06-07 14:14:19 +02:00
Marcin Grzejszczak
6a094db84e Changed the logging defaults 2021-05-28 14:10:43 +02:00
Marcin Grzejszczak
d15ee050a6 Updated config props 2021-05-27 14:08:12 +02:00
Marcin Grzejszczak
682398daec Polish 2021-05-26 18:36:50 +02:00
Marcin Grzejszczak
190a15de57 Adding jdbc instrumentation (#1959)
fixes gh-1930
2021-05-26 10:00:14 +02:00
Marcin Grzejszczak
2dd82624e5 Added support for Tomcat's Valve; fixes gh-1329 2021-05-20 18:55:07 +02:00
Marcin Grzejszczak
1273fa01bf Added Vault integration; fixes gh-1952 2021-05-18 19:34:46 +02:00
Marcin Grzejszczak
d2041cbd47 Automatic tag table generation
Without this change we don't even really know how many tags are created and what are their values.
With this change we want this information to be automatically rendered.
2021-05-18 14:50:04 +02:00
Marcin Grzejszczak
181c789020 Adds R2DBC support (#1946)
fixes gh-1524
2021-05-13 09:12:04 +02:00
Marcin Grzejszczak
5db11326b8 Merge branch 'main' into 3.1.x 2021-05-10 16:22:57 +02:00
Flaviu Mureșan
59c170d147 Kafka instrumentation enhancements (#1936)
* Bump javadocs since version to 3.1.0

* Extend integration tests to cover all Kafka clients

* Add autoconfiguration module for kafka instrumentation

* Refactor instrumentation for reactive Kafka Receiver

* Refactor instrumentation for reactive Kafka Receiver

* Add docs for Kafka instrumentation

* Revert "Refactor instrumentation for reactive Kafka Receiver"

This reverts commit 58c8f2fa

* Revert "Revert "Refactor instrumentation for reactive Kafka Receiver""

This reverts commit 450a9f8c

* Remove empty test

* Resolve comments from PR 1936

* Revert whitespaces

* Revert whitespaces in common tests pom.xml

* Fix autoconfig to consider generics when registering beans.
Only register reactor-kafka beans if the dependency is on the classpath.

* Split autoconfig for kafka and reactor-kafka
2021-05-07 22:20:37 +02:00
Marcin Grzejszczak
507e918c39 Added TX support
fixes gh-1941
2021-05-07 16:33:37 +02:00
Marcin Grzejszczak
4fef057e96 Added a ZipkinRestTemplateProvider to allow customization of the rest template; fixes gh-1932 2021-05-06 09:54:25 +02:00
Marcin Grzejszczak
55586ac6fd Master -> main 2021-05-05 10:32:21 +02:00
Marcin Grzejszczak
efe08e68b4 Updated docs 2021-04-30 14:33:54 +02:00
Marcin Grzejszczak
fc0a719d12 Added batch instrumentation
fixes gh-1904
2021-04-30 14:12:16 +02:00
Marcin Grzejszczak
216d681b04 Adds RSocket instrumentation
coauthor @olegdokuka

fixes gh-1677
2021-04-29 13:32:58 +02:00
Marcin Grzejszczak
793c1b6752 Polished the docs 2021-04-26 15:29:18 +02:00
Marcin Grzejszczak
92d0a30a95 Added Spring Cloud Config server support; fixes 1915 (#1917) 2021-04-21 14:20:25 +02:00
Marcin Grzejszczak
6e8f86ed35 Adds support for SC CircuitBreaker Reactive (#1914)
* Adds support for SC CircuitBreaker Reactive

* Changes following the review

* Lazilly initializes the TraceFunction

* Updated version

fixes gh-1910
2021-04-20 12:03:36 +02:00
Marcin Grzejszczak
28d8802f4a Merge branch '2.2.x' 2021-03-29 15:00:54 +02:00
Marcin Grzejszczak
dad3d80408 Allows overriding of the default logging pattern
fixes gh-1863
2021-03-29 14:12:04 +02:00
Ryan Baxter
40c3ff9abc Aligning Sleuth docs with rest of the projects 2021-03-18 19:30:40 -04:00
Marcin Grzejszczak
c8a3b1b669 Updated the reactor instrumentation docs 2021-03-09 08:50:32 +01:00
Maziz
10ff66372e Implement mechanism to apply custom api path (#1859)
* Implement mechanism to apply custom api path to the sleuth server baseUrl.
This comes in handy when another monitoring tool is being used, for instance new relic, which doesn't not require path in its tracing api.

* Fix up documentation on the ZipkinProperties

* Update the main documentation for api path

* Add missing comma
2021-02-27 10:16:46 +01:00
Marcin Grzejszczak
2e902a7fec Makes the new queueInstrumentation opt-in 2021-02-26 13:53:52 +01:00
Marcin Grzejszczak
899410a2b0 Updated copyrights 2021-02-25 15:24:10 +01:00