Trask Stalnaker
0d32150059
Assert on instrumentation version ( #6773 )
...
To catch issues like #6770
2022-09-29 10:53:10 +03:00
Trask Stalnaker
5e2df2b81f
Run integration tests against Java 19 ( #6690 )
...
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-09-24 12:31:15 -07:00
Mateusz Rzeszutek
714ba9189e
Remove deprecated `http.host` and `http.server_name` attributes ( #6709 )
...
... and make sure the `TemporaryMetricsView` follows the current spec
2022-09-24 11:02:21 -07:00
Trask Stalnaker
429ecfc713
Update error prone ( #6646 )
...
(note that change from BDDMockito is due to
https://github.com/google/error-prone/issues/3396 )
2022-09-23 11:24:40 -07:00
Mateusz Rzeszutek
e994f8f840
Add classLoaderMatcher() for the spring-boot-actuator-autoconfigure i… ( #6695 )
...
…nstrumentation
See #6636
2022-09-22 09:53:19 -07:00
Trask Stalnaker
5224194740
Move versions to dependencyManagement ( #6648 )
...
Part of #6645
2022-09-19 12:05:06 +03:00
Trask Stalnaker
2f344d3689
Fix new properties ( #6633 )
...
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-09-18 13:59:51 +03:00
jason plumb
e51eda26b6
Mitigates GHSA-9w3m-gqgf-c4p9 ( #6642 )
2022-09-18 12:34:32 +03:00
Liudmila Molkova
97bc4a4fda
Reactor instrumentation: do not make root context current ( #6593 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-09-14 11:23:18 -07:00
Lauri Tulmin
5afd6b346b
Fix spring boot @WithSpan handling ( #6619 )
2022-09-14 09:29:13 -07:00
Trask Stalnaker
d5c6453636
Remove external usages of ClassNames (and move it to internal) ( #6584 )
...
* Reduce dependency on simpleName
* Move ClassNames to internal
* Javadoc
* Updates
* Fix
* Spotless
* Rename
* Add test
2022-09-13 13:58:19 -07:00
Trask Stalnaker
e8e573c2ee
Add experimental span attribute job.system ( #6586 )
...
* Add experimental span attribute job.system
* spring-batch
2022-09-13 07:22:43 -07:00
Mateusz Rzeszutek
9081ced1ea
Use ConditionalResourceProvider in the Spring Boot service name provider ( #6587 )
...
* Use ConditionalResourceProvider in the Spring Boot service name provider
* make it a bit simpler
* add order=100
* add comment
* spellcheck
2022-09-13 07:20:09 -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
Mateusz Rzeszutek
cfdbe758f2
Net attributes getters changes (in preparation for HTTP spec impl) ( #6503 )
...
* Net attributes getters changes: instrumentation-api-semconv changes
* Net attributes getters changes: getter implementations
* Net attributes getters changes: test fixes
* Remove net.sock.host.name
* code review comments
* default getter methods & getPeerSocketAddress() method name
* set authority in grpc earlier
2022-09-12 09:20:27 -07:00
Trask Stalnaker
ae209d9289
Rename ErrorCauseExtractor.jdk() to getDefault() ( #6580 )
...
* Rename ErrorCauseExtractor.jdk() to ErrorCauseExtractor.getDefault()
* jApiCmp
2022-09-12 17:36:34 +03:00
Trask Stalnaker
af61a8b578
Update to otel 1.18.0 ( #6575 )
2022-09-11 10:35:05 -07:00
Mateusz Rzeszutek
f63eae5ad0
Add gradle plugin for SDK extensions ( #6558 )
2022-09-08 15:06:32 -07:00
jack-berg
6d22758ac2
Use micrometer library instrumentation in agent ( #6560 )
...
* Use micrometer library instrumentation in agent
* PR feedback
2022-09-08 09:34:20 -07:00
mingchuno
61fd14fde1
Fix spring webmvc instrumentation name ( #6557 )
2022-09-08 11:15:48 +02:00
jason plumb
56f4e52a64
Add Spring Boot service name guesser / ResourceProvider ( #6516 )
...
* Add spring boot service name guesser.
* add encoding
* improve commandline handling
* move guesser to own module
* use readAllBytes which exists in java 8
* spotless
* add note and link to spring docs
* group for readability
* repackage
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* code review comments
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-09-07 08:15:47 -07:00
Mateusz Rzeszutek
abf601c678
Refactor RestTemplate tests to Java ( #6485 )
2022-08-22 09:48:16 +02: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
Mateusz Rzeszutek
6cd79b2a94
Deprecate the 2-arg variant of HttpCommonAttributesGeter#statusCode() ( #6466 )
...
* Deprecate the 2-arg variant of HttpCommonAttributesGeter#statusCode()
* fix liberty
2022-08-12 17:11:11 -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
Lauri Tulmin
07d7cfd551
Capture messaging header value as span attribute ( #6454 )
...
* Capture messaging header value as span attribute
* add comment
2022-08-11 17:28:04 -07: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
Trask Stalnaker
5d6465fe0f
Simplify a couple of type matchers ( #6438 )
2022-08-08 08:30:11 -07:00
Mateusz Rzeszutek
b2c90c79b5
Extract HTTP request & response content length from headers ( #6415 )
...
* Extract HTTP request & response content length from headers
* remove unused method
* fix camel tests
* fix google http client tests
* fix HttpUrlConnection tests
* fix k8s and jaxrs tests
* fix aws tests
* actually fix aws tests 🤞
* fix elasticsearch tests
* fix ratpack tests
* fix spring webflux tests
* fix vertx tests
* fix reactor netty tests
2022-08-05 10:55:47 -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
cf313eb361
Bump Spring Boot version for autoconfigure and starters ( #6379 )
2022-07-29 13:25:57 +02:00
Mateusz Rzeszutek
5a152cd289
Deprecate uncompressed content length HTTP attributes ( #6383 )
2022-07-29 06:17:38 +02: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
Lauri Tulmin
8be51b3dde
Fix spring kafka latest dep tests ( #6339 )
2022-07-19 08:04:08 -07:00
Mateusz Rzeszutek
b917b3bf9c
Use ConfigProperties instead of Config in the agent code ( #6322 )
...
* Use ConfigProperties instead of Config in the agent code
* Fix merge conflict
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-18 19:04:48 -07:00
Mateusz Rzeszutek
5bc7abf178
Spring Kafka library instrumentation ( #6283 )
...
* Spring Kafka library instrumentation
* Merge and fix prior merge
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-18 14:38:44 -07:00
Mateusz Rzeszutek
3af56e7d22
InstrumentationConfig part 3: HTTP headers and peer service mappings ( #6302 )
2022-07-15 14:52:52 -07:00
Trask Stalnaker
2a59d0faee
Add (more) Spring JMS support ( #6308 )
...
* Add (more) Spring JMS support
* Remove duplication
* Better advice matcher
2022-07-13 15:37:26 -07:00
Mateusz Rzeszutek
b23db97a28
Use ConfigProperties in javaagent SPIs ( #6285 )
...
* Use ConfigProperties in javaagent SPIs
* remove deprecated
* errorprone
* fix javaagent build
* fix javaagent-tooling tests
* spotless
2022-07-12 08:41:01 +02:00
Mateusz Rzeszutek
7bbe918008
InstrumentationConfig part 2 ( #6292 )
2022-07-11 09:47:19 +02:00