jack-berg
aeac361816
Upgrade to otel java 1.19.0 ( #6757 )
...
Working PR to capture all the changes required to update to otel java
1.19.0. The new log API force allows
`:instrumentation-appender-api-internal` and
`:instrumentation-appender-sdk-internal`, but necessitates a decent
amount of refactoring as a result.
The PR points at the `1.19.0-SNAPSHOT`, which I'll update upon
publication.
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-10-12 09:19:37 -07:00
Trask Stalnaker
0d32150059
Assert on instrumentation version ( #6773 )
...
To catch issues like #6770
2022-09-29 10:53:10 +03:00
Trask Stalnaker
5224194740
Move versions to dependencyManagement ( #6648 )
...
Part of #6645
2022-09-19 12:05:06 +03:00
Lauri Tulmin
5afd6b346b
Fix spring boot @WithSpan handling ( #6619 )
2022-09-14 09:29:13 -07:00
Mateusz Rzeszutek
f50f1fed3b
Fix instrumentation-api-semconv packages ( #6590 )
...
* Fix instrumentation-api-semconv packages
* Move test
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-09-12 14:51:27 -07:00
Trask Stalnaker
af61a8b578
Update to otel 1.18.0 ( #6575 )
2022-09-11 10:35:05 -07:00
Trask Stalnaker
f1774cabe2
Update net semantic convention changes ( #6268 )
...
* New net conventions: option a
* Feedback + sock.family + sock.peer.name
* peer.service + tests
* server net attributes attempt 1
* server net attributes attempt 2
* Javadoc
* Revisions
* Apply to instrumentations
* Feedback
* One more default method
* Spotless
* Fix javadoc
2022-08-18 09:02:23 -07:00
Lauri Tulmin
4605be3241
Disable crashing tests on openj9 18 ( #6481 )
2022-08-17 09:21:18 -07:00
Mateusz Rzeszutek
5862ace233
Tweak naming of spring autoconfigure and starter modules ( #6453 )
2022-08-15 22:07:08 -07:00
Trask Stalnaker
faa99b2eeb
Update SDK to 1.17.0 ( #6467 )
...
* Update SDK to 1.17.0
* Fix
* Update licenses
* Spotless
* license
2022-08-12 17:10:46 -07:00
Mateusz Rzeszutek
08f013f9d6
Update gradle to 7.5.1 ( #6359 )
...
* Update gradle to 7.5
* Bump to 7.5.1
* gradle 7.5.1 with jdk17
* spotless
* one more --add-opens
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-08-12 12:03:43 +02:00
Trask Stalnaker
68a9f20eb3
Enable PrivateConstructorForUtilityClass errorprone check ( #6427 )
...
* PrivateConstructorForUtilityClass
* Advice
* More advice
* More
* More advice
* More
* Spotless
* Fix
* Fix
* Fix
* A better solution
* Revert
* More
* Fix
* Spotless
* Fix
2022-08-10 11:30:22 +03:00
Mateusz Rzeszutek
0d1cc8ea0a
Set http.route in spring-autoconfigure webmvc instrumentation ( #6414 )
...
* Set http.route in spring-autoconfigure webmvc instrumentation
* Bump spring-webmvc library instrumentation version to 5.3
* nit: protected -> private
* Remove duplicated test (already covered by HttpSpanStatusExtractorTest)
* Move the README to the correct module
* fix link
* fix more links
* liiiiiiinks
* fix tests
* remove not needed weakref
2022-08-09 09:36:28 -07:00
Mateusz Rzeszutek
faa367395f
Fix @WithSpan in spring autoconfigure ( #6398 )
2022-08-02 09:37:40 +02:00
Mateusz Rzeszutek
61aef2e413
Clean up spring-boot-autoconfigure exporter logic ( #6374 )
2022-08-02 09:35:19 +02:00
Trask Stalnaker
c3c4fb7101
Finish annotation move ( #6386 )
...
* Update tests with new annotation
* more
* Fix build
* More
2022-08-01 09:19:58 -07:00
Trask Stalnaker
9e460e28ef
Fix build ( #6389 )
2022-07-31 10:50:42 +03:00
Mateusz Rzeszutek
54b8b6af89
Add Kafka instrumentation to the Spring Boot starter ( #6371 )
2022-07-28 12:44:53 +02:00
Mateusz Rzeszutek
561ce5e3cc
Support new @WithSpan annotation in spring-boot-autoconfigure ( #6378 )
2022-07-28 11:48:59 +02:00
Mateusz Rzeszutek
6a24080fe9
Add code attributes to several instrumentations ( #6365 )
...
* Add code attributes to several instrumentations
* fix servlet tests
* fix tests
* fix elasticsearch tests
* fix context bridge test
* fix rxjava tests
* fix spring webmvc tests
2022-07-27 09:37:01 +02:00
Mateusz Rzeszutek
82b39b1012
Rename `newInstrumenter()` into `buildInstrumenter()` ( #6363 )
...
* Rename newInstrumenter() into buildInstrumenter()
* spotless
2022-07-25 12:02:46 -07:00
Trask Stalnaker
177f0aec7c
Rename instrumentation-api-annotation-support ( #6288 )
2022-07-08 17:07:41 -07:00
Mateusz Rzeszutek
9058ad6f40
Add metrics & micrometer support to spring-boot-autoconfigure ( #6270 )
...
* Add metrics & micrometer support to spring-boot-autoconfigure
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* code review comments
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-07 07:51:25 -07:00
jason plumb
f38939134c
Correct spelling of opentelemetry-exporter-logging ( #6253 )
2022-07-01 21:09:04 +03:00
Lauri Tulmin
30945cc85e
Remove unused SLF4J_VERSION ( #5964 )
2022-05-02 19:12:08 -07:00
Mateusz Rzeszutek
4e3f19d469
Enable span suppression by SpanKey by default ( #5779 )
...
* Enable span suppression by SpanKey by default
* fix HTTP tests (probably)
* add exception for camel
* remove suppression tests from @WithSpan instrumentations
* remove suppression tests from @WithSpan instrumentation; spring boot autoconfigure
* fix twilio tests
* fix netty-based HTTP clients, remove AWS SDK 1.11 unit test
* fix elasticsearch tests
* codenarc
* spotless
* fix AWS SDK 1.11 tests
* remove a TODO
* code review comments
* fix merge conflict
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-04-19 14:13:09 -07:00
Mateusz Rzeszutek
0ca127fe94
Move ClassNames & SpanNames to .util package ( #5746 )
...
* Move ClassNames & SpanNames to .util package
* errorprone
2022-04-04 11:17:54 -07:00
Andrei Chugunov
c5f677e962
Spring Boot Starter service-name is constant ( #5359 )
...
* Spring Boot Starter service-name is constant
Pattern-based resource configuration
* Add ResourceProvider beans for spring with ConfigProperties
2022-03-29 12:34:43 +02:00
Anuraag Agrawal
14372adb68
Migrate Guava tests to Java ( #5668 )
...
* Migrate Guava tests to Java
* Update instrumentation/guava-10.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/guava/ListenableFutureTest.java
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
* Workaround inline mock issue
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2022-03-24 14:14:09 +09:00
Mateusz Rzeszutek
56f65e4fab
Convert all logging statements from slf4j to jul - part 1 ( #5628 )
...
* Convert all logging statements from slf4j to jul - part 1
* fix tests
* use placeholders
* fixed all comments, added static imports for Level
2022-03-22 10:35:27 -07:00
Anuraag Agrawal
cd528e98fb
Rename library entrypoints to Telemetry ( #5624 )
...
* Rename library entrypoints to Telemetry
* Renames
2022-03-22 14:39:23 +09:00
Trask Stalnaker
7cd3fa4c0a
Update links ( #5579 )
2022-03-15 09:17:14 -07:00
Trask Stalnaker
ed6e4bc698
Remove spring boot autoconfigure resetForTest ( #5566 )
2022-03-14 11:43:28 -07:00
Trask Stalnaker
8d18e463ea
Add markdown link check ( #5449 )
...
* Add markdown link check
* Fix links
* update workflows
* move comment
2022-02-28 11:30:16 -08:00
Trask Stalnaker
3bee90a69b
Use BatchSpanProcessor ( #5275 )
2022-01-31 09:14:03 -08:00
Trask Stalnaker
d8a392210a
Remove unnecessary destroyMethod ( #5179 )
2022-01-20 11:39:34 +02:00
Christian Frommeyer
d017d5f18a
SdkTracerProvider auto closed as separate Context Bean ( #5124 ) ( #5125 )
2022-01-19 20:48:49 -08:00
Anuraag Agrawal
52394a2ff9
Remove deprecated tracer API ( #5175 )
...
* Remove deprecated tracer API
* Groovy too
2022-01-19 09:52:51 -08:00
Nikita Salnikov-Tarnovski
25550e0a63
Stop using deprecated constructor ( #5040 )
...
* Stop using deprecated constructor
* Try to fix the build
2022-01-07 11:47:54 -08:00
Trask Stalnaker
ea7588cd15
Update references to master branch ( #4706 )
2021-11-24 13:11:21 -08:00
Nikita Salnikov-Tarnovski
821a4b870b
Drop instrumentation-api-caching module and move weak cache implementation to instrumentation-api ( #4667 )
...
* Drop instrumentation-api-caching module and move weak cache implementation to instrumentation-api
* Some test fixes
* Some cleanup
* Temporary workaround for using weak values in FutureListenerWrappers
* Spotless
* Update ClassNames and SpanNames
* Compilation and comment
* Add bounded cache and clean interface
* Polish
* Add comment
* Vendor ConcurrentLinkedHashMap in
* Let errorprone ignore vendored CLHM for now
* Keep license in java files too
* Convert Netty wrapper cache to VirtualField
* Work around lambda instrumentation failure
Ideally we would ignore instrumenting helper classes...
* Revert "Work around lambda instrumentation failure"
This reverts commit 6d63815b44
.
* Revert "Convert Netty wrapper cache to VirtualField"
This reverts commit dac1522a3f
.
* Handle cleared weak values
* Fix comment
* Delete instrumentation-api-caching
* Copy in weak-lock-free
* Remove caffeine remnants
* Fix checkstyle
* Rename BoundedCache to MapBackedCached
* Remove duplicate LICENSE
* Remove outdated comment
* Sync with SDK copy of weaklockfree
* Enable checkstyle:off comment
* Re-generate license report
* Move NOTICE file to package-info.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-24 09:05:12 -08:00
Anuraag Agrawal
bcae1b11d3
Remove gRPC dependency for export ( #4674 )
2021-11-19 11:21:34 -08:00
Mateusz Rzeszutek
270c4b4e12
Migrate Spring Webflux HTTP client instrumentation to Instrumenter API ( #4517 )
...
* Migrate Spring Webflux HTTP client instrumentation to Instrumenter API
* Update instrumentation/spring/spring-webflux-5.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/client/SpringWebfluxHttpAttributesExtractor.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-27 12:52:02 -07:00
Martin
d314d76fce
rename `newBuilder()` to `builder()` ( #4475 )
...
* rename `newBuilder()` to `builder()`
* rename `newBuilder()` to `builder()`
2021-10-22 20:50:43 -07:00
Martin
ac91dc090a
Type annotation placement ( #4406 )
...
* switch annotation `org.checkerframework.checker.nullness.qual.Nullable` to `javax.annotation.Nullable`
* code format
2021-10-17 17:38:43 -07:00
Mateusz Rzeszutek
07ca690f8e
Convert Spring Web MVC library instrumentation to Instrumenter API ( #4258 )
...
* Convert Spring Web MVC library instrumentation to Instrumenter API
* Apply suggestions from code review
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
* improve the README a bit
* StatusCodeExtractor
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2021-10-02 11:41:27 -07:00
HyunGook-Kim
cf85fbb275
chore typo in gradle implementation package name ( #4250 )
...
change ```opentelemetry-exporters``` to ```opentelemetry-exporter```
2021-09-30 10:34:50 +09:00
Christian Frommeyer
ae7ad4b7e8
Fix spring context reload issue (open-telemetry#3841) ( #4051 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-24 15:59:48 +03:00
Lauri Tulmin
de6c9087fc
Remove reference to bintray in spring doc ( #4139 )
2021-09-16 10:18:20 -07:00
Trask Stalnaker
c13eb7932e
Update collector port ( #4071 )
2021-09-08 18:18:05 -07:00