jason plumb
7122c4b2a5
Rename "normalize" to "sanitize" ( #2087 )
...
* rename SqlNormalizer to SqlSanitizer (more descriptive).
* rename normalize to sanitize.
* rename in comments and messages
* rename in variable to sanitized
* rename normalized -> sanitized in tests
* fixed broken tests
* rename variable.
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-01-22 15:49:24 +09:00
Anuraag Agrawal
afdde0355b
Update to OTel 0.14.1 ( #2059 )
...
* Update SDK dependency to 0.14.1
* WIP
* Finish
* Cleanup
2021-01-18 13:02:04 +09:00
Lauri Tulmin
640a7d624b
Correct some spelling mistakes ( #2025 )
2021-01-12 11:10:45 -08:00
Anuraag Agrawal
3b88bb75ae
Use SemanticAttributes for DbSystem ( #1991 )
2021-01-07 18:59:56 -08:00
Lauri Tulmin
1671951699
Fix jetty context leak ( #1966 )
2021-01-05 14:16:12 -08:00
Anuraag Agrawal
8d74baa2e4
Run tests with javaagent. ( #1643 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-04 13:13:24 -08:00
Lauri Tulmin
5b2e4ce1c7
Fix javadoc link ( #1969 )
2021-01-04 13:16:56 +09:00
Mateusz Rzeszutek
f82e9107d6
Instrument spring-batch ( #1843 )
...
* Instrument spring-batch: job & step
* Instrument spring-batch: job & step - code review comments
* Instrument spring-batch: job & step - code review comments
* Instrument spring-batch: job & step - code review comments
* spotless
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Instrument spring-batch: job & step - code review comments
* spotless
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-12-16 13:27:23 +02:00
Mateusz Rzeszutek
f520c2cd33
Remove deprecated SpanWithScope class ( #1834 )
2020-12-05 09:48:28 -08:00
Trask Stalnaker
65f54e450b
Use Context more in HttpClientTracer ( #1811 )
...
* Use Context more in HttpClientTracer
* Better http-url-connection response object
* Follow database semantic conv for elasticsearch-rest
* Remove unnecessary CallDepth tracking
2020-12-03 11:47:08 -08:00
Trask Stalnaker
a2770c311e
Don't use ConfigUtils outside of AgentTestRunner tests ( #1796 )
...
* NetPeerUtilsTest
* RedisCommandNormalizerTest
* InstrumentationModuleTest
* HttpClientTracerTest
* Normalize test config properties
* Create ConfigBuilder in instrumentation-api
* Keep config properties compatible with SDK
2020-12-01 16:52:08 -08:00
Trask Stalnaker
573cd0b4e9
Propagate context even when no span ( #1802 )
...
* Propagate context even when no span
* Don't propagate root context
2020-11-30 08:26:50 +02:00
Trask Stalnaker
0c5c4caaa4
Rename java-concurrent and java-classloader instrumentation modules ( #1733 )
...
* Rename java-concurrent instrumentation to executors
* Rename java-classloader to classloaders
2020-11-23 17:49:10 -08:00
Trask Stalnaker
d2f064dcd4
Add static keyword to make groovy inner classes nested ( #1734 )
...
* Add static keyword to make groovy inner classes nested
* Too much
* A bit less
* Spotless
2020-11-23 15:43:42 +02:00
Trask Stalnaker
79f76c78ad
Move java files to java source folder and groovy files to groovy source folder ( #1735 )
...
* Move java files to java source folder
* Move groovy files to groovy source folder
* Too much
* Move another one back
* Codenarc
* Move test resource to where test is
* Spotless
2020-11-23 15:42:04 +02:00
Trask Stalnaker
308a8f9b0f
Consistent equals implementations ( #1736 )
...
* Consistent equals implementations
* Use direct equals where previous behavior
2020-11-23 15:41:31 +02:00
John Watson
e9821e9cd1
Directly port the java-runtime-metrics module over from otel-java. ( #1720 )
...
* Directly port the java-runtime-metrics module over from otel-java.
* java 8 cleanups
* Make consistent with oshi module
* Bump mockito and assertj versions
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-11-21 10:51:03 -08:00
Trask Stalnaker
6d5ec329d6
Enable checkstyle for google style guide ( #1641 )
2020-11-16 18:46:59 -08:00
Mateusz Rzeszutek
1765839d01
Simplify JDBC span names ( #1533 )
2020-11-10 13:34:54 -08:00
Mateusz Rzeszutek
8629edd346
Run muzzle once per instrumented library - introducing InstrumentationModule ( #1528 )
...
* Run muzzle once per instrumented library - introducing InstrumentationModule
* spotless
* Fix muzzle
* Apply code review comments
2020-11-04 15:39:12 +01:00
Anuraag Agrawal
d3b60a5e33
Rename TRACER to tracer() ( #1540 )
2020-11-02 20:49:51 -08:00
Anuraag Agrawal
c6eee70660
Update to latest snapshot. ( #1524 )
2020-10-29 18:54:09 -07:00
Mateusz Rzeszutek
e89942d430
Standardize DB query normalizer property names ( #1509 )
...
* Standardize DB query normalizer property names
And add normalizer configuration for Redis, Couchbase, Cassandra and Geode
* apply code review comments
2020-10-29 16:20:33 +02:00
Mateusz Rzeszutek
35dc9071ef
Log normalised full statement in Redis instrumentations ( #1441 )
...
* Log normalised full statement in Redis instrumentations (jedis, lettuce, redisson)
2020-10-27 14:29:47 -07:00
Anuraag Agrawal
a2dccf2316
Update to latest SDK snapshot. ( #1479 )
2020-10-26 19:29:46 -07:00
Trask Stalnaker
3565775b00
Format groovy ( #1475 )
...
* Apply Intellij format to groovy
* spotless
2020-10-26 11:47:12 +09:00
Anuraag Agrawal
f6ad05b8e3
Update to latest SDK snapshot ( #1384 )
...
* Update to latest SDK snapshot
* Use published snapshot
* Fixes
* Cleans
* spotless
* Most
* Clean
* Merge
* Temporarily remove context interop
* WIP
* Prepare for intercepting propagated span
* Bump SDK
* IDE updates
* Lots
* compileJava
* Done?
* bar
* Spot
* drugs
* Groovy--
* green for me
* Spot
* Remove grpc import
* Scrub
2020-10-25 15:14:32 +09:00
Mateusz Rzeszutek
50990a7c17
Cassandra instrumentations should store normalised CQL queries as db.statement ( #1427 )
...
* Move `DbSystem` to package `...instrumentation.api.db`
* Move `SqlNormalizer` to `javaagent-api` package ...api.db.normalizer
* Refactor Cassandra tests so that they use testcontainers (and run on Java 11)
* Implement Cassandra statement normalization
2020-10-22 17:56:06 +02:00
Nikita Salnikov-Tarnovski
15e0b2ff32
Run build without warnings ( #1387 )
2020-10-15 16:10:22 -07:00
Trask Stalnaker
7ecc9bb37b
Rename "auto" to "javaagent" in modules ( #1370 )
2020-10-13 12:32:13 -07:00