Commit Graph

7687 Commits

Author SHA1 Message Date
Mateusz Rzeszutek ab587a927a
Implement "Prometheus mode" for better micrometer->OTel->Prometheus support (#5537)
* Implement "Prometheus mode" for better micrometer->OTel->Prometheus support

* code review comments

* forgot about README
2022-03-18 13:03:42 +01:00
Lauri Tulmin e20f29554b
Use otel.java-conventions instead of otel.javaagent-testing in module that don't test agent (#5625) 2022-03-18 11:40:16 +02:00
Lauri Tulmin daa17624f0
Add vm name to deadlock detector file name (#5597) 2022-03-18 10:33:51 +02:00
Trask Stalnaker 3fc684ade6
Document repository settings (#5614) 2022-03-18 10:32:39 +02:00
Trask Stalnaker 696f8ccd46
Fix patch release workflow (#5615) 2022-03-18 10:32:25 +02:00
Trask Stalnaker 4facb78c7a
Update docs to reflect Java 17 (#5610)
* Update docs to reflect Java 17

* Update JVM distros
2022-03-18 10:31:25 +02:00
Anuraag Agrawal 2c8b9ff1ce
Migrate akka http test to scala (#5586)
* Migrate akka http test to scala

* Don't use compat module

* Fix latest deps
2022-03-18 16:35:00 +09:00
Lauri Tulmin 737ab3b364
Run tests with openj9 (#5613) 2022-03-18 08:38:38 +02:00
Anuraag Agrawal 9f3ad23a9a
Migrate scala executor tests to Java (#5618) 2022-03-18 13:49:03 +09:00
Anuraag Agrawal 213057d057
Run check during testing and assemble during building (#5619) 2022-03-18 13:48:51 +09:00
Lauri Tulmin a563d6063c
Handle failed request in http server concurrency tests (#5605) 2022-03-17 19:44:51 -07:00
Anuraag Agrawal 75b75e7737
Migrate executors test to java (#5596) 2022-03-18 08:46:17 +09:00
Lauri Tulmin 76f7be4dee
Increase finatra startup timeout (#5604) 2022-03-18 08:45:54 +09:00
Lauri Tulmin 45bd419ec0
Run tests with jdk17 (#5598) 2022-03-17 13:25:16 -07:00
Lauri Tulmin 2ebe912fe4
GraphQL java instrumentation (#5583)
* GraphQL Java Initial Commit

* [WIP] First steps for GraphQL instrumentation, totally not ready

[skip ci]

* GraphQL Java instrumentation

* address review comments

* Apply suggestions from code review

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* review feedback

* scope handling

* Apply suggestions from code review

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

* use spotless:off

* trigger build

* review comments

Co-authored-by: Jordie <xd@jrdie.nl>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-03-17 08:55:45 -07:00
Trask Stalnaker 531f18f56b
Fix possible deadlock (#5585)
* Fix possible deadlock

* don't break java 8

* try @laurit's idea

* Update javaagent-bootstrap/src/main/java/io/opentelemetry/javaagent/bootstrap/AgentClassLoader.java

Co-authored-by: Lauri Tulmin <tulmin@gmail.com>

Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2022-03-17 12:39:56 +02:00
Lauri Tulmin 649779450b
Wait for rocketmq message to arrive before asserting spans (#5591)
* Wait for rocketmq message to arrive before asserting spans

* Apply suggestions from code review

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

* trigger build

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-03-17 12:38:58 +02:00
Mateusz Rzeszutek 1ee60aa6e6
Split out RpcAttributesGetter (#5548)
* Split out RpcAttributesGetter

* code review comments

* go back to RpcAttributesGetter
2022-03-17 11:14:19 +01:00
Lauri Tulmin 2ce764bd2a
Thread dump when smoke test container fails to start (#5593)
* Thread dump when smoke test contains fails to start

* trigger build
2022-03-16 19:53:52 -07:00
Anuraag Agrawal 928855b248
Migrate finatra test to scala (#5588)
* Migrate finatra test to scala

* Avoid compat
2022-03-16 10:19:43 -07:00
Lauri Tulmin c7e3177d50
Remove reference to collector configuration file (#5592) 2022-03-16 09:50:11 -07:00
Lauri Tulmin 3f87c2de10
Elasticsearch rest client low cardinality span name (#5584) 2022-03-16 09:01:22 +01:00
Anuraag Agrawal 47508330ba
Fix akka actors testLatestDeps (#5589)
* Fix akka actors testLatestDeps

* latest dep test scala version differs by module

* Don't bother with compat library since doesn't look good anyways
2022-03-16 15:36:01 +09:00
Anuraag Agrawal d2401e14a9
Migrate AkkaActorTest to scala (#5582) 2022-03-16 08:08:10 +09:00
Mateusz Rzeszutek b92bb41331
Change the way how SpanKeys are extracted in instrumentation-api (#5546)
* Change the way how SpanKeys are extracted in instrumentation-api

* fix tests

* code review comments
2022-03-15 09:59:11 -07:00
Trask Stalnaker 7cd3fa4c0a
Update links (#5579) 2022-03-15 09:17:14 -07:00
Anuraag Agrawal 3ebce5c90b
Migrate MethodTest to Java (#5581) 2022-03-15 19:20:07 +09:00
Mateusz Rzeszutek 309618845c
Update distro and extension examples to use AutoConfigurationCustomiz… (#5574)
* Update distro and extension examples to use AutoConfigurationCustomizerProvider

* Rename the SPI file too
2022-03-14 17:44:14 -07:00
Mateusz Rzeszutek b0d5fc6b99
Remove deprecated methods from instrumentation-api and library instrumentations (#5575) 2022-03-15 09:33:48 +09:00
dependabot[bot] 98759f4c01
Bump EndBug/add-and-commit from 8 to 9 (#5578)
Bumps [EndBug/add-and-commit](https://github.com/EndBug/add-and-commit) from 8 to 9.
- [Release notes](https://github.com/EndBug/add-and-commit/releases)
- [Changelog](https://github.com/EndBug/add-and-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/EndBug/add-and-commit/compare/v8...v9)

---
updated-dependencies:
- dependency-name: EndBug/add-and-commit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 17:11:46 -07:00
Trask Stalnaker ed6e4bc698
Remove spring boot autoconfigure resetForTest (#5566) 2022-03-14 11:43:28 -07:00
Trask Stalnaker bf4b5a5444
Bump muzzle retry interval (#5562) 2022-03-14 11:41:33 -07:00
Trask Stalnaker a3a3e9f869
Prefix opentelemetry-java-bot branch names (#5554) 2022-03-14 11:37:42 -07:00
Trask Stalnaker 17bbbe91f7
Fix release notes automation (#5569) 2022-03-14 11:37:22 -07:00
Anuraag Agrawal 90179a3441
Migrate ktor tests to kotlin (#5571) 2022-03-14 20:03:40 +09:00
Anuraag Agrawal 046e4374bf
Migrate Armeria server test to Java (#5570) 2022-03-14 18:30:25 +09:00
Trask Stalnaker 174f6129b5
Update netty attribute name (#5568) 2022-03-14 11:08:02 +02:00
Trask Stalnaker d47f5d952b
Suppress markdown link check on release branches (#5560) 2022-03-14 11:07:23 +02:00
Trask Stalnaker 4b43b6e1fb
Fix release notes automation (#5561)
* Fix release notes automation

* fix another
2022-03-13 12:59:38 -07:00
Trask Stalnaker d2bd06e384
Update release instructions (#5556)
after changing download link in `main` branch to `latest`
2022-03-11 23:56:06 -08:00
Trask Stalnaker 416f2228ca
Fix CI on release branch (#5553) 2022-03-11 21:08:03 -08:00
github-actions[bot] 7f92167b3f
Bump snapshot version (#5550)
Co-authored-by: opentelemetry-java-bot <97938252+opentelemetry-java-bot@users.noreply.github.com>
2022-03-11 19:01:33 -08:00
Trask Stalnaker ccf1dd1661
Last minute change log entry (#5549)
* Last minute change log entry

* Bump release date
2022-03-11 17:31:32 -08:00
Anuraag Agrawal 1d9c23bfb3
Do not propagate gRPC deadline when propagating OTel context via javaagent. (#5543)
* Add test for early return in gRPC pattern.

* Do not propagate gRPC deadline when propagating OTel context via javaagent.
2022-03-11 11:06:26 -08:00
Trask Stalnaker b25043c0e7
Update change log for 1.12.0 (#5542) 2022-03-11 10:19:37 -08:00
Trask Stalnaker 2462f47136
Simplify Azure SDK advice (#5541) 2022-03-11 10:19:10 -08:00
Lauri Tulmin 8d513f9099
Make tests provide expected exception instance instead of class (#5540)
* Make tests provide expected exception instance instead of class

* exception is optional
2022-03-11 14:24:03 +02:00
Trask Stalnaker 3cb9ec7edf
Update to gradle 7.4.1 (#5535) 2022-03-10 12:31:08 +02:00
Anuraag Agrawal 1a98a357b2
Update dependencies (#5530)
* Update dependencies

* Revert spring boot removal and try better cleanup later
2022-03-10 13:41:43 +09:00
Mateusz Rzeszutek 0ad07a10c2
Remove AsyncInstrumentRegistry after update to SDK 1.12 (#5525)
* Remove AsyncInstrumentRegistry after update to SDK 1.12

* added comments
2022-03-10 13:39:23 +09:00