Commit Graph

6762 Commits

Author SHA1 Message Date
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
Trask Stalnaker cfdc4ac7e5
Change the default javaagent artifact to have exporters (#4106)
* Change default javaagent to all, introduce slim

* Update release builds

* Update examples build

* Update benchmark-overhead

* Update benchmark-e2e

* Update docs where ok pre-release

* Update misc

* Fix references to fullJavaagentJar

* Fix it

* Delete doc for pre-1.0 releases

* Attach backwards compatible "all" artifact to releases

* Comment

* Comment

* guessing

* fix

* Update version

* Add otlp/grpc exporter to slim artifact

* Fix comment
2021-10-02 11:28:11 -07:00
Aleš Justin ff0bf0a8f3
Add support for Kafka consumer and producer interceptors. (#4065)
* Add support for Kafka consumer and producer interceptors, move common Kafka code to library module.

* Apply feedback

* Apply feedback, #3.

* Apply feedback, #4.

* Add producer / consumer wrappers.

* Move to kafka-clients-2.6.

* Apply feedback #5.

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-02 11:27:57 -07:00
Lauri Tulmin 033c20a3d9
Fix flaky StatementSanitizationConfigTest (#4264) 2021-10-02 10:52:03 -07:00
jack-berg 54e3cd9af0
Sync otlp exporter grpc-netty-shaded version with opentelemetry-java (#4261) 2021-10-02 10:50:13 -07:00
Nikita Salnikov-Tarnovski bfeb482465
Convert Elasticsearch Transport to Instrumenter API (#4252)
* Convert Elasticsearch Transport to Instrumenter API

* Don't set duplicate attributes

* Code review comments
2021-10-01 13:45:29 +03:00
Mateusz Rzeszutek c11b96e4d0
Make it possible to use InstrumentationContext (now VirtualField) fro… (#4218)
* Make it possible to use InstrumentationContext (now VirtualField) from library instrumentation

* fix tests

* fix javadocs

* fix some more tests

* code review comments

* setIfNull, computeIfNull
2021-10-01 11:13:11 +02:00
Nikita Salnikov-Tarnovski d55eee2ebf
Convert jsp integration to Instrumenter API (#4257)
* Convert jsp integration to Instrumenter API

* Code review comments
2021-10-01 10:53:42 +03:00
Trask Stalnaker 1841200e91
Verify example extension during release build (#4247) 2021-09-30 10:00:45 -07:00
Martin 95099144ab
add test for StatementSanitizationConfig (#4211)
* add test for StatementSanitizationConfig

* adjust code style
2021-09-30 09:59:16 -07:00
Nikita Salnikov-Tarnovski 2eadca8c83
Move AgentExtension to the tooling module (#4253) 2021-09-30 18:57:39 +03:00
Trask Stalnaker d82c9396ed
Faster patch release build (#4249) 2021-09-30 15:44:57 +03:00
Lauri Tulmin 1049f0ead1
Convert undertow instrumentation to instrumenter api (#4239) 2021-09-30 14:09:57 +03:00
Lauri Tulmin 3f1ec4d034
Delete unused servlet tracer code (#4243) 2021-09-30 14:09:44 +03:00
Trask Stalnaker 11b37e4826
Update change log for 1.6.1 (#4242) 2021-09-30 13:40:35 +03: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
Trask Stalnaker 635acd41f4
Update tomcat smoke tests to run against Java 17 (#4233)
* Update tomcat smoke tests

* Fix

* Tomcat 10 on Java 8 is failing

* Fix wildfly

* Hopefully last fix
2021-09-29 12:50:19 -07:00
Trask Stalnaker be090e431a
Update patch release doc (#4229)
* Update patch release doc

* Updates

* Minor updates
2021-09-29 10:02:04 -07:00
Nikita Salnikov-Tarnovski 5e6bc60dae
Resolve some Gradle warnings (#4234)
* Resolve some Gradle warnings

* spotless
2021-09-29 10:01:48 -07:00
Trask Stalnaker 43926071c3
Update error message based on new findings (#4228) 2021-09-29 10:01:06 -07:00
Nikita Salnikov-Tarnovski ba332a970a
Remove deprecated method helperResourceNames from InstrumentationModule (#4221)
* Remove deprecated method helperResourceNames from InstrumentationModule

* Restore test
2021-09-29 15:25:19 +03:00
Nikita Salnikov-Tarnovski 07871686ea
Hide InstrumentationContextBuilder from public API (#4216)
* Introduce muzzle-specific interface to InstrumentationModule

* Moved more methods to the InstrumentationModuleMuzzle interface

* Fixing tests

* More logs

* Fix log name

* Hide InstrumentationContextBuilder from public API
2021-09-29 11:26:39 +03:00
Trask Stalnaker 49df789752
Fix sporadic build failure (#4231) 2021-09-29 10:40:20 +03:00
Trask Stalnaker bbd1925b00
Bump version in examples (#4226)
* Bump version in examples

* Update examples to latest muzzle
2021-09-28 22:03:57 -07:00
Trask Stalnaker 1aa005c1a8
Update tomcat smoke test to Java 17 (#4232)
* Update tomcat smoke test to Java 17

* Update tomcat versions and add more java 17
2021-09-28 20:19:59 -07:00
dependabot[bot] 4d57fc26b8
Bump JasonEtco/create-an-issue from 2.5.0 to 2.6 (#4225)
Bumps [JasonEtco/create-an-issue](https://github.com/JasonEtco/create-an-issue) from 2.5.0 to 2.6.
- [Release notes](https://github.com/JasonEtco/create-an-issue/releases)
- [Commits](https://github.com/JasonEtco/create-an-issue/compare/v2.5.0...v2.6)

---
updated-dependencies:
- dependency-name: JasonEtco/create-an-issue
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 16:30:53 -07:00
Trask Stalnaker 9ea33edf08
Remove attrs from http client attributes extractor (#4210)
* Remove scheme/host/target from HttpClientAttributesExtractor

* And jaxrs-client

* Remove unused methods
2021-09-28 12:58:42 -07:00
Nikita Salnikov-Tarnovski 19ce45bfc7
Remove deprecated ExporterClassLoader and exporter factories (#4217) 2021-09-28 09:42:40 -07:00
Lauri Tulmin 8e54d540bb
Convert liberty instrumentation to instrumenter api (#4205)
* Convert liberty instrumentation to instrumenter api

* review comment
2021-09-28 09:22:55 -07:00
Trask Stalnaker 0b08391413
Sync linux and windows smoke test images (#4214) 2021-09-28 09:10:12 -07:00
Trask Stalnaker 48e42be821
Support suppress-messaging-receive-span in JMS (#4204)
* Support suppress-messaging-receive-span in JMS

* Spotless
2021-09-28 09:04:30 -07:00
Trask Stalnaker c7a7b4515c
Suppress snapshot publishing on forks (#4202) 2021-09-28 09:04:13 -07:00
Nikita Salnikov-Tarnovski 5dffeef4aa
Introduce muzzle-specific interface to InstrumentationModule (#4207)
* Introduce muzzle-specific interface to InstrumentationModule
* Moved more methods to the InstrumentationModuleMuzzle interface
2021-09-28 12:15:33 +03:00
Trask Stalnaker d6f6c7a087
Move servlet images to repo-scoped ghcr packages (#4213) 2021-09-28 12:07:19 +03:00
Trask Stalnaker 6aaf5ef9e6
Remove dynamo db.name attribute (#4208) 2021-09-27 21:58:26 -07:00
Anna Nosek 8c522a176e
Refine 404 handling in Restlet instrumentation (#4206)
* introduce 404 handling

* review
2021-09-27 12:28:57 -07:00
Trask Stalnaker 330f66a7bc
Remove problem files from META-INF (#4203) 2021-09-27 10:09:54 -07:00
Lauri Tulmin ba3370e054
Build servlet mapping resolver only when needed (#4197)
* Build servlet mapping resolver only when needed

* move factory interface to boot loader to ensure that everybody has the same class for it

* spotless

* Helper classes should not look up ContextStore on each access
2021-09-27 18:04:22 +03:00
Trask Stalnaker f55d218ad6
Document patch release criteria (#4198) 2021-09-27 16:59:56 +09:00
Lauri Tulmin 335d1cd784
Fix latest dep test failures (#4201) 2021-09-25 12:31:55 -07:00
Mateusz Rzeszutek a277a8b636
Separate HTTP client/server AttributesExtractors (#4195) 2021-09-24 10:06:23 -07:00
Lauri Tulmin 559cdcbbee
Transform lambda classes (#4182)
* Transform lambda classes

* improve comment
2021-09-24 09:52:15 -07: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
Nikita Salnikov-Tarnovski f788d84e35
Remove muzzle from gradleplugins (#4183)
* Include gradle-plugins as a composite build

* Make gradle-plugins project independent from the main one

* Delete old ClassRef and friends

* Fixes

* Polish

* Polish

* Simplify
2021-09-24 15:59:03 +03:00
Anuraag Agrawal 9d5cf4e0b3
Add logback.xml to testing-common (#3726)
* Add logback.xml to testing-common

* showStandardStreams

* Remove showStandardStreams due to verbosity

* Fix javaagent-tooling tests

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-24 10:09:42 +09:00
Trask Stalnaker 9a48e3fbbe
Add contributing doc for troubleshooting PR build failures (#4193) 2021-09-23 08:52:20 -07:00
Trask Stalnaker abfcfb9dc7
Fix JDBC instrumentation deadlock (#4191) 2021-09-23 08:52:01 -07:00
Mateusz Rzeszutek 2e74363bcd
Bump ByteBuddy's version to the latest one (#4194) 2021-09-23 17:37:27 +02:00
Trask Stalnaker 3ce940548c
Experimental option to suppress messaging receive spans (#4187)
* Experimental option to suppress messaging receive spans

* Kafka streams too

* Better conditionals

* Remove oops

* Extract base class for kafka streams tests

* Spotless
2021-09-22 21:50:05 -07:00
Lauri Tulmin 0f3d0cb05b
Generate our own sun.misc.Unsafe if it is not available (#4124)
* Generate our own sun.misc.Unsafe if it is not available

* skip generating invokeCleaner method

* grpc isn't shaded so setting system property doesn't affect only our bundled copy

* generate invokeCleaner when it is present in internal unsafe
2021-09-22 20:18:20 -07:00