Commit Graph

18 Commits

Author SHA1 Message Date
Trask Stalnaker da6dd00ea1
Update SDK to 1.17.0 (#420)
* Update SDK to 1.17.0

* Fix
2022-08-19 10:42:42 -07:00
Jean Bisutti ca6187a177
Prevent the runtime attachment from launching multiple times (#409) 2022-07-26 07:18:23 +02:00
Trask Stalnaker 46ac85edd7
Remove hardcoded agent version (#392) 2022-07-12 09:14:15 -07:00
Jean Bisutti 5bef441779
Improve exception handling and documentation of runtime attachment (#388) 2022-07-12 09:13:25 -07:00
Trask Stalnaker 7d19e674f3
Add @jeanbisutti as a runtime attach component owner (#391)
* Add @jeanbisutti as a runtime attach component owner

* Fix link

* Fix link
2022-07-11 10:22:46 -07:00
Trask Stalnaker 1f959cdd7f
Move runtime attach modules under single top-level directory (#385)
* Move runtime attach modules under single top-level directory

* Fix link

* Fix link
2022-07-11 08:43:01 -07:00
Jean Bisutti 4645beca88
Fix "Class path contains multiple SLF4J bindings" during runtime atta… (#380)
* Fix "Class path contains multiple SLF4J bindings" during runtime attachment

* Update runtime-attach/build.gradle.kts

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

* Renaming

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-08 10:44:40 -07:00
Jean Bisutti bdfa232a04
Remove logger from runtime attachment (#371)
* Remove logger from runtime attachment

* Update runtime-attach/src/main/java/io/opentelemetry/contrib/attach/RuntimeAttach.java

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-06-21 10:56:59 -07:00
Jean Bisutti f925f74f9d
Fix "URI is not hierarchical" during runtime attachment (#359)
* Fix "java.lang.IllegalArgumentException: URI is not hierarchical" during runtime attachment

* Fix build issue

* Fiw file creation and deletion

* Add null checks

* Only delete jar file on JVM exit

* Fix merge

* Fix spotless

* Remove null checks

* Spotless

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-06-17 15:34:26 -07:00
Jean Bisutti 658daade55
Runtime attachment additions (#354)
* Add tests on runtime attachment

* Add log when agent is disabled with otel.javaagent.enabled property or OTEL_JAVAAGENT_ENABLED environment variable

* Do not try to attach if agent is already attached

* Do not try to attach if attachment is not asked for the main thread

* Add log if an unexpected issue has happened during attachment

* Add javadoc

* Add information to the Readme

* Format javadoc

* Fix mistake in Readme

* Update runtime-attach/build.gradle.kts

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

* Update runtime-attach/README.md

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

* Update runtime-attach/src/main/java/io/opentelemetry/contrib/attach/RuntimeAttach.java

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

* Update runtime-attach/src/main/java/io/opentelemetry/contrib/attach/RuntimeAttach.java

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

* Update runtime-attach/src/main/java/io/opentelemetry/contrib/attach/RuntimeAttach.java

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

* Update runtime-attach/build.gradle.kts

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

* Replace triple ``` by single `

* Log at debug level in shouldAttach() method

* Log at warn level if the runtime attachment is not requested from main thread

* Logger name in lower case as in OTel agent

* Add space in class Javadoc

* Add space in Readme

* Update Javadoc of method

* Update runtime-attach/src/main/java/io/opentelemetry/contrib/attach/RuntimeAttach.java

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

* Don't attach if attachment is not requested from the main method

* Inline local variable

* Move opentelemetry-javaagent to dependency management

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-06-17 13:13:17 -07:00
Trask Stalnaker e345310597
Sync github actions, including release workflow (#274)
* Sync github actions, other than release actions

* Add release workflow

* Remove nebula

* fix

* Add missing workflow

* Fix link

* more

* Updates

* Sentence case

* more
2022-03-29 10:21:24 -07:00
Trask Stalnaker 36eae59bce
Use relative links (#273) 2022-03-25 14:11:19 +09:00
Trask Stalnaker 383582cfa6
Add more component owners (#172)
* Add more component owners

* Fix the build
2022-01-07 14:18:25 -08:00
Anuraag Agrawal 6ed9ba70d1
Fail build on warnings (#170)
* Fail build on warnings

* Update dependencyManagement/build.gradle.kts

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-07 16:15:27 +09:00
Anuraag Agrawal 85c6cf0429
Fix errorprone warnings (#158) 2021-12-23 15:23:02 +09:00
Nikita Salnikov-Tarnovski 858dbae93b
Controlling programmatic attach of the javaagent with configuration (#110)
* Controlling programmatic attach of the javaagent with configuration

* Spotless
2021-10-11 16:37:33 +09:00
Trask Stalnaker b5d88e223c
Update spotless config and add .editorconfig (#100)
* Update spotless config and add .editorconfig

* spotlessApply
2021-09-27 17:16:23 +09:00
Nikita Salnikov-Tarnovski 69f9a20bc3
Allowing programmatic attach of Javaagent (#95) 2021-09-24 13:26:29 -07:00