Trask Stalnaker
b35c0b28cc
Java 7 and CircleCI cleanup ( #1654 )
...
* Java 7 and CircleCI cleanup
* Bring back and increment version instead
2020-11-17 10:36:23 +02:00
Trask Stalnaker
6d5ec329d6
Enable checkstyle for google style guide ( #1641 )
2020-11-16 18:46:59 -08:00
Mateusz Rzeszutek
402a0a1639
Remove Instrumenter.Default ( #1610 )
2020-11-10 12:42:29 -08: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
Anuraag Agrawal
e1c7baab42
Upgrade to latest SDK snapshot ( #1549 )
2020-11-05 17:45:59 +09: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
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
Anuraag Agrawal
a2dccf2316
Update to latest SDK snapshot. ( #1479 )
2020-10-26 19:29:46 -07: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
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
17576bba35
Increase connection timeout for http client tests ( #1467 )
2020-10-23 21:16:29 +03:00
Trask Stalnaker
57301e3fe7
Rename "integration" to "instrumentation" ( #1412 )
...
* Rename integration to instrumentation
* Revert doc changes, need to wait for release
* spotless
2020-10-19 14:36:30 +09:00
Nikita Salnikov-Tarnovski
15e0b2ff32
Run build without warnings ( #1387 )
2020-10-15 16:10:22 -07:00
Mateusz Rzeszutek
ee0e0a9697
Muzzle improvements: docs, javadocs, renamings and minor refactoring ( #1379 )
2020-10-14 16:49:51 -07:00
Trask Stalnaker
7ecc9bb37b
Rename "auto" to "javaagent" in modules ( #1370 )
2020-10-13 12:32:13 -07:00
Trask Stalnaker
1b51d4a6b1
Rename packages ( #1367 )
2020-10-11 13:54:35 -07:00
Mateusz Rzeszutek
409530629f
Refactor all tests that use Config so that they don't fail locally ( #1310 )
...
* Refactor all tests that use Config so that they don't fail locally
* Use ConfigUtils in tests for all config-related things
* Fix spotless and codenarc
* Fix spotless
* PR comments: remove unnecessary config
2020-10-08 20:01:31 +03:00
Ioannis Mavroukakis
9523f9ffe6
fix and/or ignore spotbugs errors ( #1325 )
2020-10-06 19:39:17 -07:00
Anuraag Agrawal
5bba5d8482
Update to latest snapshot ( #1331 )
...
* Update to latest snapshot
* Update to latest snapshot
* instrumentation-api
* spotless
2020-10-06 17:47:41 +09:00
Ioannis Mavroukakis
f2de47a150
SpanAssert method names should reflect underlying Span method names ( #1307 )
2020-10-05 16:04:08 +09:00
Anuraag Agrawal
dadaac9a8c
Use 2-line license header to match SDK repo ( #1321 )
...
* Use 2-line license header to match SDK repo
* Apply change
2020-10-05 14:29:56 +09:00
Anuraag Agrawal
f2194a928c
Update to latest snapshot. ( #1304 )
2020-10-04 19:41:10 -07:00
Mateusz Rzeszutek
c7fc26188d
Remove instrumentation (and tooling) specific properties from Config ( #1286 )
2020-09-30 11:27:06 -07:00
Anuraag Agrawal
210c669643
Remove AgentSpecification ( #1291 )
2020-09-30 17:34:29 +09:00
Nikita Salnikov-Tarnovski
7b1b399a29
Convert more decorators to tracers ( #1275 )
...
* More decorators to tracers
* Convert more decorators to tracers
* Fixes
2020-09-29 09:41:09 +03:00
Mateusz Rzeszutek
9e591bb01a
Refactoring Config into @AutoValue POJO ( #1254 )
2020-09-28 22:08:45 -07:00
Trask Stalnaker
8954f222c0
Update to the latest opentelemetry-java 0.9.0-SNAPSHOT ( #1266 )
2020-09-26 20:44:28 -07:00
Anuraag Agrawal
fc47fd56e5
Add instrumentation of SQS. ( #1210 )
...
* Add instrumentation of SQS.
* More play
* Finish
* process instead of weird
* Cleanups
* Update instrumentation/aws-lambda-1.0/auto/src/main/java/io/opentelemetry/instrumentation/auto/awslambda/v1_0/AbstractAwsLambdaInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-24 11:53:46 +09:00
Mateusz Rzeszutek
3d030288d2
Muzzle should fail on unimplemented abstract methods ( #1193 )
...
* Muzzle should fail on unimplemented abstract methods
* Muzzle should fail on unimplemented abstract methods
* Muzzle should fail on unimplemented abstract methods
* Muzzle should fail on unimplemented abstract methods
* Update javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/muzzle/Reference.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Muzzle should fail on unimplemented abstract methods
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-23 07:38:58 +03:00
Nikita Salnikov-Tarnovski
beb1901f5f
Review semantic convention for Http Client spans ( #1214 )
...
* Review semantic convention for Http Client spans
* Polish
* Update instrumentation/google-http-client-1.19/src/test/groovy/AbstractGoogleHttpClientTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-18 17:52:08 +03:00
Jakub Wach
e8b54885c4
Enhance AWS DynamoDB instrumentation ( #1191 )
2020-09-18 10:48:56 +03:00
Anuraag Agrawal
9635a5e84f
Force flush after finishing lambda function. ( #1204 )
...
* Force span flush after lambda invocation.
* Force flush after finishing lambda function.
* bleh
* Better revert
* Accessor
* OpenTelemetrySdkAccess
2020-09-17 14:26:24 +09:00
Nikita Salnikov-Tarnovski
7e41b516ee
Review semantic convention for Http Server spans ( #1207 )
...
* Review semantic convention for Http Server spans
* Polish
2020-09-16 09:52:11 +03:00
Anuraag Agrawal
912a159c19
Update to latest SDK snapshot. ( #1202 )
2020-09-15 17:49:10 +09:00
Trask Stalnaker
221deb1f98
Fix test logging ( #1194 )
2020-09-13 21:13:11 -07:00
Jakub Wach
7080bdb9a4
spring mvc3 - proper span name in case of sec fail ( #718 ) ( #1122 )
2020-09-09 10:08:28 +03:00
Mateusz Rzeszutek
70a06ef086
Fix a bug when FieldBackedProvider uses a map and value is set to null ( #1177 )
2020-09-09 14:10:17 +09:00
Anuraag Agrawal
5c86bcc20d
Update SDK dependency to released 0.8.0 ( #1162 )
...
* Update SDK dependency to released 0.8.0
* Update exporter
* Fix fake-backend proto reference
2020-09-03 17:09:51 +09:00
Tyler Benson
e2aca0f378
Add muzzle reference detection for invokedynamic calls. ( DataDog/dd-trace-java#1712 )
2020-09-01 10:31:24 -07:00
Tyler Benson
d7d46b2ef9
Add instrumentation for Guava ListenableFutures context propagation ( DataDog/dd-trace-java#1665 )
2020-09-01 10:31:23 -07:00
Mateusz Rzeszutek
2203a37771
Log current thread id and name as span attribute ( #1093 )
2020-08-27 10:12:51 -07:00
Nikita Salnikov-Tarnovski
bc98955176
Update to latest otel-java snapshot ( #1057 )
...
* Update to latest otel-java snapshot
* Upgrade to working otel-java snapshot
* Update to latest otel-java snapshot
* Update to latest otel-java snapshot
2020-08-26 22:03:28 +03:00
Mateusz Rzeszutek
5fbc316cfc
Add missing RESTEasy (and Jersey) unit tests ( #1058 )
...
* Add missing RESTEasy (and Jersey) unit tests
* Standard HTTP server test (extending HttpServerTest)
* AsyncResponse tests
* Error handling in JAX-RS HTTP client
* HTTP client JDK proxies (this one is RESTEasy only)
2020-08-21 10:17:49 -07:00
Trask Stalnaker
7159d04b8d
Change groovy import order ( #1013 )
...
* Update docs
* Format all groovy code
* Organize imports
2020-08-15 23:19:27 -07:00
Trask Stalnaker
414213f2d1
Remove final from parameters ( #1003 )
2020-08-15 22:35:51 -07:00
Trask Stalnaker
f893ca540b
Scripted package renaming ( #988 )
2020-08-15 21:55:01 -07:00
Helen Y
bb235a0aa3
Update package name for tracers ( #991 )
2020-08-14 21:07:18 -07:00
Helen Y
888ebe17a2
Delete HttpClientDecorator ( #967 )
2020-08-14 13:10:56 -07:00
Trask Stalnaker
f46ba88c29
Rename library-api artifact to instrumentation-api ( #969 )
2020-08-13 22:43:39 -07:00
Trask Stalnaker
72cfac20dc
Expand retry of HttpServerTest.setupSpec ( #966 )
2020-08-14 07:14:46 +03:00
Trask Stalnaker
f940b2d2de
Use OpenTelemetry.getTracer() shortcut ( #965 )
2020-08-14 07:11:06 +03:00
Trask Stalnaker
bf9c160570
Rename javaagent modules ( #952 )
2020-08-12 22:50:14 -07:00
Trask Stalnaker
1816eb9cbe
Rename annotations module to external-annotations ( #951 )
2020-08-12 22:49:50 -07:00
Anuraag Agrawal
0eafc28608
Run tests using JUnit5 platform and remove SpockRunner ( #770 )
...
* Run tests with JUnit platform
* Matcher
* Restore
* Don't mix JUnit4 with JUunit5 in spring tests
* Separate out tests that need custom class loader.
* Separate out test for a couple classes that need it, try to remove SpockRunner, but Grizzly?
* Remove SpockRunner
* Fix grizzly
* Remove assumeTrue workaround.
* Comments
2020-08-12 11:05:26 +09:00
Trask Stalnaker
b5fbf90977
Extract instrumentation api module ( #884 )
2020-08-09 22:52:33 -07:00
Trask Stalnaker
2c786ab1a1
Fix WithSpan annotation instrumentation ( #929 )
2020-08-09 21:46:50 -07:00
Trask Stalnaker
d85cce0f62
Remove annotation instrumentation vertx dependency ( #917 )
...
* Remove annotation instrumentation vertx dependency
* Remove annotation testing dependency
2020-08-08 20:36:27 -07:00
Nikita Salnikov-Tarnovski
46dfa263af
Remove HttpServerTestAdvice ( #897 )
...
* Remove HttpServerTestAdvice
* Trying to fix
2020-08-06 13:05:55 +03:00
Trask Stalnaker
4fd062c656
Add thread propagation debugger ( #860 )
2020-08-02 12:03:21 -07:00
Anuraag Agrawal
ad3963303d
Merge integration tests back into test. ( #871 )
2020-08-02 15:41:47 +09:00
Anuraag Agrawal
87bf97da70
Generate bootstrap jar with gradle instead of when running tests. ( #840 )
...
* Generate bootstrap jar with gradle instead of when running tests.
* kill all semicolons
* docs
* docs
* ByteCodeTest
* Use latestDepTest classpath for its bootstrap jar
* Rename package
* Reformat comment
* Bootstrap jar absolute path
* Save bootstrap jar to reports dir.
* Debug
* Debug
* Use project.getBuildDir
* Restore
* Revert
* testFieldInjection is instrumentation test too.
* Split out bytecode tests for testing-common
* Apply jacoco configuration to all tests.
* Add note that jacoco may be causing frustration.
* YOLO alert - Hope my guess at the reason is correct
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-02 10:17:52 +09:00
Trask Stalnaker
5dc2ca350a
Update config property prefix from ota to otel ( #841 )
...
* Update config property prefix from ota to otel
* more
* format
* more
2020-07-31 08:29:29 +03:00
Frank Spitulski
adab0efcd6
feat(tags): http ( #827 )
...
flavour, user agent, client ip
2020-07-29 23:57:12 -07:00
Giovanni Liva
dcbfecd2c6
Add Database Typed Spans ( #781 )
2020-07-28 12:08:57 -07:00
Anuraag Agrawal
f6594e1a67
Use Span.recordException for logging throwable ( #813 )
...
* Use Span.recordException
* Fix tests
* Cleanup
* Update instrumentation/jsp-2.3/src/test/groovy/JSPInstrumentationBasicTests.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Spotless (IntelliJ acts weird with groovy files for me :()
* Update for merge
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-28 14:44:42 +09:00
Anuraag Agrawal
c3299fac30
Add instrumentation for Armeria (server) ( #756 )
...
* Add instrumentation for Armeria (server)
* Spotless
* Use end timestamp too and fix auto test by not using ClassRule
* Reduce number of less useful lambdas and add reference to useful lambda.
* Cleanup
* README
* Move package to v1_0
* No storage
2020-07-27 15:54:07 +09:00
Anuraag Agrawal
688733ad43
Update OTel snapshot to 723 for recordException ( #786 )
...
* Update OTel snapshot to 723 for recordException
* Fix various servlet issues
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-27 14:32:05 +09:00
Nikita Salnikov-Tarnovski
91fde9a915
Update server span ( #774 )
...
* Change name on SERVER spans
* Change name on SERVER spans
* Fixes
* Fixes
* Update instrumentation/spring-webmvc-3.1/src/main/java/io/opentelemetry/auto/instrumentation/springwebmvc/DispatcherServletInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-24 07:46:50 +03:00
Lev Priima
ad1941528c
MDC ThreadLocal initValue should be modifiable for SLF4j's copy-on-write thread context map ( DataDog/dd-trace-java#1645 )
2020-07-23 13:34:12 -07:00
Nikita Salnikov-Tarnovski
fcf4319aac
Faster tests ( #725 )
...
🎉
2020-07-22 10:10:34 -07:00
Frank Spitulski
d6e39f89e6
feat(servlet): content length ( #726 )
2020-07-21 20:24:32 -07:00
Helen Y
86c438b154
Remove final from local variables ( #732 )
...
* Remove final from local variables
2020-07-20 13:53:34 +09:00
Anuraag Agrawal
d8355c672d
Docs for writing new instrumentation... ( #652 )
...
* Docs for writing new instrumentation
2020-07-19 14:21:19 +09:00