Commit Graph

421 Commits

Author SHA1 Message Date
Mateusz Rzeszutek 3dff44874f
Fix RestTemplateInterceptor so that it calls endExceptionally() on exception (#2516) 2021-03-08 09:36:47 -08:00
Anuraag Agrawal 2adb1e080c
Use new version of publish / staging plugin which has merged the two projects. (#2519) 2021-03-08 20:18:28 +09:00
Anuraag Agrawal 94872b1ced
Move DB helpers to instrumentation-api (#2511)
* Move DB helpers to instrumentation-api

* Fix gradle config

* Remove legacy
2021-03-08 12:32:36 +09:00
Trask Stalnaker 5162c023bc
Updates to thread propagation debug property (#2500) 2021-03-05 11:02:36 -08:00
Anuraag Agrawal d7f8967ff6
Add a caching API based on caffeine for use from instrumentation, not just javaagent (#2477)
* Add caching API

* Finish

* javadoc

* Extract dep

* git add

* Drift

* Spotbugs

* checkstyle

* Fix package

* Test Caffeine patch
2021-03-05 17:57:23 +09:00
Anuraag Agrawal 35e415c7d1
Add shadowJar as input to test task. (#2504) 2021-03-05 12:18:17 +09:00
Jakub Wach 9a5bc66329
AWS SDK - SNS to SQS tracing propagation test (#2483) 2021-03-04 13:33:22 -08:00
Trask Stalnaker 0abc492bc3
Rename more properties (#2486)
* Rename more props to experimental

* Rename more properties

* Rename .internal to .testing

* Revert changes to examples distro

* Move chunk.new-trace to experimental

* Fix unrelated build issue
2021-03-04 11:20:47 -08:00
Trask Stalnaker 475830789c
Update to otel-java 1.0.0 (#2431)
* Update to otel-java 1.0.0

* Fix test

* Fix another test

* Fix another test

* Fix hibernate tests

* Fix spring-data tests

* Spotless
2021-02-28 11:15:27 -08:00
Mateusz Rzeszutek 90350ba6d5
Remove unnecessary muzzle log configuration in tests (#2411) 2021-02-25 18:57:35 +01:00
Anuraag Agrawal 000df967ce
Update to SDK 0.17.0 (#2338)
* Update to SDK 0.17.0

* Finish

* ottrace
2021-02-19 15:51:55 +09:00
Anuraag Agrawal cf9bfa2373
Publish a BOM (#2339) 2021-02-19 15:29:07 +09:00
Trask Stalnaker 59c9b544d1
Bring back debug logging under class file transform (#2236)
* Bring back debug logging under class file transform

* spotless

* Feedback

* Rename to TransformSafeLogger
2021-02-16 12:37:17 +09:00
Anuraag Agrawal 66f5554a2b
Mark all non-javaagent artifacts as -alpha version. (#2286) 2021-02-15 16:49:37 -08:00
Mateusz Rzeszutek a74f60b3f8
Add JUnit 5 extensions for instrumentation testing (#2241)
* Add JUnit 5 extensions for instrumentation testing

* Fix kafka tests

* RepeatedTest
2021-02-12 12:57:08 +01:00
Trask Stalnaker c91bff41cb
Add comment about extension shading (#2235) 2021-02-10 09:39:33 +02:00
Mateusz Rzeszutek 49206212cf
Refactor AgentTestRunner: extract a common interface, convert to Java class (#2223) 2021-02-09 09:21:05 -08:00
Anuraag Agrawal fc410706d0
Update to Sdk 0.16.0 (#2221)
* Update to 0.16.0-SNAPSHOT

* Finish

* Finish

* Update to 0.16.0

* Finish
2021-02-09 18:00:54 +09:00
Mateusz Rzeszutek e51692b3fd
Move setting test properties to instrumentation.gradle (from AgentTestRunner) (#2205)
I think that they might have been not noticed by the javaagent when set in the AgentTestRunner
2021-02-06 13:17:00 +09:00
Anuraag Agrawal e2d0dd7d4c
Filter out library jar from tests since it's shadowed into the agent … (#2179)
* Filter out library jar from tests since it's shadowed into the agent / agent-testing jar.

* More precision
2021-02-04 15:23:35 +09:00
Gábor Lipták 5bf9f34caa
Bring org.testcontainers to 1.15.1 (#2178)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2021-02-03 08:01:04 +02:00
Anuraag Agrawal 49194ff444
Don't hardcode agent-for-testing archive filename so it can be publis… (#2146)
* Don't hardcode agent-for-testing archive filename so it can be published.

* Fix accidental

* afterEvaluate
2021-02-01 14:33:27 +09:00
Anuraag Agrawal 1ebb58a596
Update to SDK 0.15.0 (#2137)
* Update to SDK 0.15.0

* Fix lightstep test
2021-01-29 21:30:22 +09:00
Mateusz Rzeszutek 328c6832a2
Publish agent-for-testing and testing-common (#2133) 2021-01-29 08:39:30 +01:00
Mateusz Rzeszutek 20dadc1b6d
Replace two JavaCC lexers with a single JFlex one (#2113) 2021-01-26 14:03:11 -08:00
Nikita Salnikov-Tarnovski 2d683d4289
No more gradle warnings (#2103) 2021-01-26 08:24:18 +02:00
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 c6cc263c6e
Use SDK Autoconfigure module (#2077)
* Use sdk autoconfigure

* Finish

* Finish

* Group exporters

* Update smoke-tests/src/test/groovy/io/opentelemetry/smoketest/SpringBootWithSamplingSmokeTest.groovy

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-20 14:31:49 +09:00
Anuraag Agrawal 97b8712e3b
Remove jaeger-thrift from agent distribution (#2073)
* Remove jaeger-thrift from agent distribution

* Update test
2021-01-19 16:08:01 +09:00
Mateusz Rzeszutek 660f0e5225
Remove testing-common dependency on guava (#2062)
* Remove testing-common dependency on guava

* Use nano time

* Add guava dep to opentelemetry-api-metrics
2021-01-19 12:07:27 +09:00
Anuraag Agrawal 999f3112a4
Disable shadowPublish for instrumentation projects (#2068) 2021-01-18 15:29:25 +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
jason plumb 7957293038
update auto-service from rc3 to rc7 (a 3 year difference!) (#2053) 2021-01-15 08:52:49 +09:00
Trask Stalnaker b97135725c
Change gitter links to github discussions (#1977) 2021-01-05 08:58:06 +09: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
Anuraag Agrawal 76d1f07423
Update to released SDK 0.13.1 (#1936) 2020-12-18 14:12:30 +09:00
Anuraag Agrawal 4da56b4746
Don't compare requested version to current version since we always want to override our default of Java 11 (#1934) 2020-12-18 13:17:50 +09:00
Anuraag Agrawal f0a6c6d772
Update SDK dependency to 0.13.0-SNAPSHOT. (#1924)
* Update SDK dependency to 0.13.0-SNAPSHOT.

* Update smoke tests

* Fix formatting

* Spot
2020-12-17 18:20:59 +09:00
jason plumb 4c8b8a77fb
Add exporter factory for JaegerThriftSpanExporter (#1868)
* add exporter factory for JaegerThriftSpanExporter

* add smoke test
2020-12-14 13:02:51 -08:00
Anuraag Agrawal 993c5808e2
Ignore Implementation-Version for runtime up-to-date checks like tests. (#1879) 2020-12-10 19:02:13 +09:00
Anuraag Agrawal a2842dc4dc
Tweak publishing settings (#1877) 2020-12-10 17:06:52 +09:00
Anuraag Agrawal 5f942d874e
Actually set POM description. (#1861) 2020-12-09 17:35:42 +09:00
Anuraag Agrawal d7183ebbdc
Add a simple description to POM. (#1857)
* Add a simple description to POM.

* Update build.gradle
2020-12-09 14:08:57 +09:00
Anuraag Agrawal 78f1899735
Create nexus staging repo in beginning of build instead of relying on auto routing. (#1854) 2020-12-09 10:11:24 +09:00
Anuraag Agrawal 3b8827b8ab
Update to SDK 0.12.0 (#1830)
* Update to SDK 0.12.0

* Update error message to the current world.

* Bump referenced smoke test versions

* fixes

* dependency hell

* Suppress unused call

* Bump missed smoke tests

* Bump image, bump smoke tests gRPC version
2020-12-07 17:16:47 +09:00
Anuraag Agrawal f9df981b2e
Switch publishing release target to sonatype. (#1823)
* Switch publishing targets to sonatype.

* Continue with jfrog

* typo
2020-12-04 12:41:01 +09:00
Mateusz Rzeszutek 3c1a09109f
Use sdk-extensions/resources in the agent (#1809)
* Use sdk-extensions/resources in the agent

* Add smoke test, fix dropwizard test
2020-12-01 16:03:51 -08:00
Trask Stalnaker a3d11c0262
Rename auto annotations to ext annotations (#1799) 2020-11-29 21:04:55 -08:00
Trask Stalnaker 26f254b10d
Create javaagent dirs for all instrumentations, part 2 (#1794) 2020-11-28 22:26:49 -08:00
Anuraag Agrawal cc07597ef4
Configure maven-publish for uploading to bintray instead of bintray p… (#1789)
* Configure maven-publish for uploading to bintray instead of bintray plugin.

* Snapshots too
2020-11-28 17:23:02 +09:00