Commit Graph

507 Commits

Author SHA1 Message Date
Mateusz Rzeszutek 7f36dd1617
Refactor Instrumenters into InstrumentationModules - N, O, P (#1575) 2020-11-09 14:42:16 -08:00
Mateusz Rzeszutek ef58ec1770
Refactor Instrumenters into InstrumentationModules - K, L, M (#1563) 2020-11-09 14:41:55 -08:00
Mateusz Rzeszutek 0e83a5b56d
Refactor Instrumenters into InstrumentationModules - J (#1562) 2020-11-09 14:41:37 -08:00
Mateusz Rzeszutek aa3ba8d165
Refactor Instrumenters into InstrumentationModules - D, E, F, G, H (#1557) 2020-11-09 14:41:12 -08:00
Mateusz Rzeszutek d307ffc532
Refactor Instrumenters into InstrumentationModules - A, B, C (#1556)
* Refactor Instrumenters into InstrumentationModules - A, B, C

* Fixed some modules' names to match library/instrumentation gradle module

* Fix couchbase 2.6 muzzle
2020-11-09 15:42:41 +01:00
Jakub Wach 09fda6e52a
AWS lambda instrumentation - HTTP context propagation (#1536)
* AWS lambda instrumentation - HTTP context propagation

* code review, added tests for stream wrapper

* code review - recpects XRay propagation, tests added

* rebase to master
2020-11-09 15:59:33 +02:00
Trask Stalnaker 45d1a0811a
Publish lettuce-common (#1589) 2020-11-09 15:04:25 +02:00
Trask Stalnaker 8ee2533c96
Fix ClassNotFoundException on Wildfly (#1593) 2020-11-09 13:59:36 +09:00
Trask Stalnaker 71f91877ab
Fix muzzle and add missing helper classes (#1585)
* Fix muzzle

* Fix jdbc instrumentation

* Fix jms instrumentation

* Fix couchbase instrumentation

* Fix servlet instrumentation
2020-11-08 13:54:00 -08:00
Anuraag Agrawal 3d21c26632
Update to SDK 0.10.0 (#1564) 2020-11-05 13:17:47 -08:00
Sergei Malafeev 70dcb93121
Activate SystemMetrics (#1530) 2020-11-05 13:02:01 -08:00
Anuraag Agrawal e1c7baab42
Upgrade to latest SDK snapshot (#1549) 2020-11-05 17:45:59 +09: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
Jakub Wach 81101ed463
fix master build fail due to latestDepTest (#1554) 2020-11-04 16:21:29 +02:00
Jakub Wach 049358e81b
apache camel 2.20.x instrumentation (#1397)
* apache camel 2.20.x instrumentation

* removed instrumentation advice from helper classes

* code review #1

* code review #2 / experimental server name update

* code review changes / new tests, improved direct, new license header

* rebase changes

* code review changes

* code review changes, REST tests added

* changes after rebase to newest master

* code review changes

* code review

* code review

* rebase to master
2020-11-03 11:42:33 +02:00
Anuraag Agrawal d3b60a5e33
Rename TRACER to tracer() (#1540) 2020-11-02 20:49:51 -08:00
Anuraag Agrawal 5d2cb459df
Update to latest SDK snapshot (#1539) 2020-11-02 16:07:53 +09: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
Anuraag Agrawal dfda406fee
Migrates to using a context when span is started (#1525)
* Return Context when starting span to preserve baggage.

Co-authored-by: Marcin Grzejszczak <marcin.grzejszczak@gmail.com>

* Use bridge

Co-authored-by: Marcin Grzejszczak <marcin.grzejszczak@gmail.com>
2020-10-29 13:50:54 +02:00
Nikita Salnikov-Tarnovski f3559de4a3
Cap latest supported version for Spring Data JPA (#1522) 2020-10-29 10:24:27 +02:00
Anuraag Agrawal fd03a4b1e1
Replace ContextStore for context bridge with a custom context storage… (#1493)
* Replace ContextStore for context bridge with a custom context storage provider.

* Handle context mapping at storage layer.

* Cleanup

* Add interop test

* Small comment

* No threads

* Groovy
2020-10-29 15:42:50 +09:00
Nikita Salnikov-Tarnovski 4959b7eb34
Fix property name for latest Spring MVC (#1516)
Cap latest supported version for Spring Data JPA
2020-10-28 22:28:19 +02:00
Mateusz Rzeszutek 9bb13bd8f0
Fix Redisson latestDep tests (#1507)
* Fix Redisson latestDep tests

* spotless

* Add comment
2020-10-28 16:18:13 +01:00
Trask Stalnaker 58c78ec7d0
Fix test latest deps build (#1503) 2020-10-27 15:48:58 -07: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
Trask Stalnaker f046e598c6
Add context root to the front of the route in the span name (#1418)
* Add application root to span name

* Reduce duplicate context lookups

* Use servlet path as route

* Test against jetty instrumentation

* Add JAX-RS context path test

* Fix JAX-RS 1.0 span names
2020-10-27 14:21:10 -07:00
Mateusz Rzeszutek d3c39228c6
Couchbase instrumentation should store normalized queries as db.statement (#1462)
* Couchbase instrumentation should store normalized queries as db.statement

* Fix inaccurate version comments
2020-10-27 18:15:27 +01:00
Sergei Malafeev d2813c838d
Add system metrics (#1309)
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-10-27 08:48:36 -07:00
Nikita Salnikov-Tarnovski 54a85f7501
More test fixes (#1495) 2020-10-27 16:56:39 +02:00
Anuraag Agrawal 1b91a7c279
Fix build breakage due to post-merge conflict. (#1496) 2020-10-27 14:12:49 +02:00
Jakub Wach 3a81c52d2b
Wrappers for AWS lambda tracing (#1471)
* wrappers for AWS lambda instrumentation

* code review changes

* code review changes
2020-10-27 09:55:31 +02:00
Trask Stalnaker 5bed579286
Apply spotless (#1492) 2020-10-27 09:38:32 +02:00
Bogdan Drutu 21a1c65128
Remove inner class imports; avoid future imports by disabling in editorconfig (#1489)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-10-26 19:30:51 -07:00
Anuraag Agrawal a2dccf2316
Update to latest SDK snapshot. (#1479) 2020-10-26 19:29:46 -07:00
Mateusz Rzeszutek 01f40867ce
Apache Geode instrumentation should store normalized queries as db.statement (#1455)
* Apache Geode instrumentation should store normalized queries as db.statement

* spotless
2020-10-26 14:01:43 +02:00
Nikita Salnikov-Tarnovski 3db872e50f
Fix net.peer.* setting for Cassandra 4.+ (#1482) 2020-10-26 13:49:25 +02:00
Trask Stalnaker 7244dbf188
Remove unnecessary overrides (#1477) 2020-10-25 21:46:14 -07:00
Trask Stalnaker 3565775b00
Format groovy (#1475)
* Apply Intellij format to groovy

* spotless
2020-10-26 11:47:12 +09:00
Nikita Salnikov-Tarnovski d033ed594f
Review our usage of gradle cache (#1474)
* Experiments

* Experiments

* Experiments

* Update nightly.yaml

Trying to populate remote cache

* Experiments

* Better cache and snapshot publishing in GHA

* Read-only remote cache for PRs
2020-10-25 22:06:21 +02: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
Nikita Salnikov-Tarnovski b683a6c417
Temporary fix for broken nightly build (#1454) 2020-10-22 21:15:47 +03: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
Anuraag Agrawal 26e4200030
Remove mistaken inline = false from Armeria instrumentation (#1451) 2020-10-22 17:46:39 +09:00
Nikita Salnikov-Tarnovski 6438d1d8f9
Proper scope handling for Resteasy instrumentations. (#1442)
* Proper scope handling for Resteasy instrumentations.

* Format
2020-10-22 10:09:46 +03:00
Ago Allikmaa 6875faa3a0
Fix HttpURLConnection instrumentation on WebLogic (#1439) 2020-10-22 09:48:53 +03:00
Vadim Shaigorodskiy 9e8d663ba4
Remove apache httpclient version (#1446)
* Remove version from `apache-httpclient` instrumentation

Fixes: #1260

* Remove version from all instrumentation names and add instrumentation name to `spring-web`

Fixes: #1260
2020-10-22 14:22:44 +09:00
Nikita Salnikov-Tarnovski 7d77b2dc37
Prefer mavenCentral over jcenter (#1440)
* Prefer mavenCentral over jcenter

* Skip broken version for muzzle
2020-10-21 18:59:29 +03:00
Anuraag Agrawal a6e0e27ad4
Remove usage of Contexts from grpc instrumentation. (#1426)
* Fix grpc instrumentation cannot be applied due to muzzle error and add smoke test.

* Add workflow for building smoke test image

* Revert debug logging

* Java versions
2020-10-21 09:58:45 +09:00
Mateusz Rzeszutek f077b23c9f
Lettuce 5.1 instrumentation should log normalised commands as db.statement (#1405) 2020-10-20 14:57:23 -07:00