Mateusz Rzeszutek
2fad192fc1
Implement vertx-kafka-client instrumentation; batch processing ( #5982 )
...
* Implement vertx-kafka-client instrumentation; batch processing
* try-finally just in case
* Add to supported libraries list
* Update instrumentation/vertx/vertx-kafka-client-3.6/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/vertx/kafka/v3_6/InstrumentedBatchRecordsHandler.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-05-10 12:00:54 +02:00
Mateusz Rzeszutek
802f5aa3ea
Instrumentation API and Javadoc cleanup ( #5954 )
2022-05-09 22:13:45 -07:00
Mateusz Rzeszutek
d919f84cf8
Merge javaagent-instrumentation-api into javaagent-extension-api ( #5936 )
...
* Merge javaagent-instrumentation-api into javaagent-extension-api
* remove some leftover references to javaagent-instrumentation-api
* add missing instrumentation-api to distro example
2022-04-28 20:11:15 -07:00
Trask Stalnaker
85061691fe
Bump log4j version for library instrumentation to 2.17 ( #5849 )
...
* Bump log4j library version to 2.17
* muzzle
2022-04-19 12:11:10 -07:00
Lauri Tulmin
91066a8073
Add library instrumentation for ktor 2 ( #5797 )
2022-04-11 13:05:00 +03:00
Mateusz Rzeszutek
2ce1162eac
Instrumenter instrumentation version and schema url ( #5752 )
...
* Instrumenter instrumentation version and schema url
* nullable instrumentation version
* Apply suggestions from code review
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
* reformat
* code review comments
* instrumentation properties files
* Apply suggestions from code review
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
* code review comments
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-04-11 10:29:58 +02:00
Mateusz Rzeszutek
50f91e6dee
Deprecate AttributesExtractor#set() method ( #5749 )
...
* Deprecate AttributesExtractor#set() method
* code review comments
2022-04-05 20:20:02 -07:00
Mateusz Rzeszutek
39e1fcb48e
Rename view and controller suppression config properties ( #5747 )
...
* Rename view and controller suppression config properties
* code review comments
2022-04-05 14:24:24 -07:00
Trask Stalnaker
5b0d9e31ce
Remove old status check ( #5750 )
2022-04-04 14:22:51 -07:00
Andreas Grub
e6be68d5c7
Use `logging.pattern.level` recommended by Spring ( #5726 )
...
* Use `logging.pattern.level` recommended by Spring
The Spring Boot documentation recommends using `logging.pattern.level` in a "Tip" section in https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.logging.custom-log-configuration
We should follow this best practice.
* Update docs/logger-mdc-instrumentation.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2022-04-04 11:17:11 -07:00
Patrice Chalin
2ccee759ef
Delete suppressing-instrumentation.md ( #5712 )
2022-03-30 13:32:50 -07:00
Patrice Chalin
32c3f45039
Delete docs/config directory ( #5707 )
...
- Contributes to https://github.com/open-telemetry/opentelemetry.io/issues/1229
- The content has been moved to the OTel website via https://github.com/open-telemetry/opentelemetry.io/pull/1246
2022-03-30 09:56:49 +02:00
Trask Stalnaker
da036f0b50
Move advanced config to separate page ( #5693 )
2022-03-28 10:00:23 -07:00
Patrice Chalin
e908b7fc71
docs: drop suppressing-instrumentation page and script ( #5694 )
2022-03-25 11:10:21 -07:00
Patrice Chalin
6eb15dbadc
Drop docs/agent-config.md and link to OTel.io version ( #5683 )
2022-03-25 09:59:06 -07:00
Trask Stalnaker
c73da76ec1
Document another repo setting ( #5654 )
2022-03-21 18:29:06 -07:00
Trask Stalnaker
38ad4136ee
Move update gradle doc to script ( #5642 )
2022-03-21 08:48:43 -07:00
Trask Stalnaker
9d445bd0b9
Fix markdown links ( #5638 )
2022-03-20 14:02:05 +02:00
Trask Stalnaker
3fc684ade6
Document repository settings ( #5614 )
2022-03-18 10:32:39 +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
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
Patrice Chalin
9904352ef6
Drop manual-instrumentation and redirect to otel website pages ( #5516 )
2022-03-08 09:53:49 +01:00
Mateusz Rzeszutek
4ef6d165a9
Disable the messaging receive span telemetry by default ( #5500 )
...
* Disable the messaging receive span telemetry by default
* fix spring-kafka tests
* remove no longer needed link from the kafka-clients library instrumentation
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-03-07 22:30:40 -08:00
Trask Stalnaker
ab9169cd25
Add Azure SDK instrumentation ( #5467 )
...
* Add Azure SDK instrumentation
* Add to supported libraries table
* Keep suppression for 1.19
2022-03-04 13:08:50 -08:00
Trask Stalnaker
3ab1b8516f
Add markdown spell check ( #5450 )
...
* Add markdown link check
* Fix links
* update workflows
* move comment
* Add misspell check
* Fix misspellings
* Fix more misspellings
* Run against all files
* Spotless
2022-03-01 19:18:53 -08:00
Trask Stalnaker
5133f99cca
Fix out-of-sync suppressing-instrumentation.md ( #5472 )
2022-03-01 11:25:55 +02: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
bd7bf94d71
Move http4k to library instrumentation docs ( #5426 )
...
* Move http4k to library instrumentation docs
* Update docs/standalone-library-instrumentation.md
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2022-02-22 21:12:38 -08:00
landrunner
97ae5da79a
Fix broken links ( #5423 )
...
* fix broken links
* Update docs/standalone-library-instrumentation.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-02-22 12:57:59 -08:00
Trask Stalnaker
022914139e
test latest deps cleanup ( #5269 )
...
* test latest deps cleanup
* Revert currently irrelevant change
* Update instrumentation/lettuce/lettuce-4.0/javaagent/build.gradle.kts
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2022-02-01 09:49:07 -08:00
Trask Stalnaker
aa2ac33b70
Rename scala-executors module ( #5273 )
2022-01-29 13:27:16 -08:00
Trask Stalnaker
1832772ccd
Update supported libraries ( #5092 )
...
* Update supported libraries
* One row per library
2022-01-13 18:02:08 -08:00
Trask Stalnaker
c3e0c258d7
Update style guide regarding final local vars ( #5055 )
2022-01-10 10:01:08 +02:00
Trask Stalnaker
1d453debe3
Update log4j instrumentation docs ( #4915 )
...
* Update log4j instrumentation docs for 1.10.0 release
* More log4j doc changes for 0.10.0
* Updates for #4937
* Fix log4j documentation
* Update instrumentation/log4j/log4j-2.16/library/README.md
Co-authored-by: jack-berg <jberg@newrelic.com>
2022-01-04 20:55:36 -08:00
Trask Stalnaker
d930971adf
Fix Quarkus correlation ( #4883 )
...
* Fix Quarkus correlation
* Add Quarkus smoke test image
* Add Quarkus smoke test
* Fix permission on gradlew
* Update to gradle 7.3.1
* Fix Jib build
* Bump compilation to Java 11
* Better comment
* Fix comment placement
* Fix
2021-12-13 09:26:44 -08:00
Lauri Tulmin
b4784c8432
Update supported frameworks and suppressing instrumentation docs ( #4818 )
...
* Update supported frameworks and suppressing instrumentation docs
* Update docs/suppressing-instrumentation.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-12-07 11:49:59 +02:00
Lauri Tulmin
61b0dd3698
Capture servlet request parameters ( #4703 )
...
* Capture servlet request parameters
* use concurrenthashmap for cache
2021-12-05 21:25:31 -08:00
Trask Stalnaker
f7efe07b06
Merge start and end time extractors ( #4692 )
2021-11-29 22:07:49 -08:00
Trask Stalnaker
09d5883fb8
Update supported application servers ( #4715 )
...
* Update naming to Payara
* Alphabetize
* Update supported application servers
* A little more clarity?
2021-11-25 08:15:35 -08:00
Trask Stalnaker
f9146bcf48
Update other gradle wrappers to 7.3 ( #4705 )
2021-11-24 13:19:53 -08:00
Trask Stalnaker
ea7588cd15
Update references to master branch ( #4706 )
2021-11-24 13:11:21 -08:00
Lauri Tulmin
db0d0c350a
Change supported websphere version from 8.5.x to 8.5.5.x ( #4668 )
2021-11-18 15:42:15 +02:00
Lauri Tulmin
4e39f1ad5a
Add smoke test for websphere, update smoke test server versions ( #4613 )
...
* Add smoke test for websphere, update smoke test server versions
* update workflows
* fix workflow
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* revert accidental change
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-10 13:43:30 -08:00
Lauri Tulmin
16728e2445
Add a ClassAndMethod class to Instrumentation API ( #4619 )
...
* Add a ClassAndMethod class to Instrumentation API
* remove sentence
* Update docs/contributing/writing-instrumentation.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* address review comment
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-10 13:33:11 -08:00
Trask Stalnaker
8b15b483b8
Update spring-integration instrumentation name ( #4601 )
2021-11-08 08:47:09 -08:00
Mateusz Rzeszutek
f3ec9a215b
Document Instrumenter API ( #4544 )
...
* Document Instrumenter API
* Apply suggestions from code review
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
* reformat and code review comments
* code review comments
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* formatting
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-05 15:15:48 +01:00
Trask Stalnaker
472fb5024e
Remove roadmap to 1.0 ( #4542 )
2021-10-29 10:16:17 +03:00
Fabrizio Ferri-Benedetti
114a1b455c
Review "writing-instrumentation-module.md" ( #4507 )
...
* Review "writing-instrumentation-module.md"
A peer review of "writing-instrumentation-module" for language and style, as requested by @mateuszrzeszutek .
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
* Update docs/contributing/writing-instrumentation-module.md
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update writing-instrumentation-module.md
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Apply suggestions from code review
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Spotless
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-27 21:07:22 -07:00
Mateusz Rzeszutek
23b95901f5
Update and extend the writing-instrumentation.md doc ( #4443 )
...
* Update and extend the writing-instrumentation.md doc
* Apply suggestions from code review
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
* Reformat; added a tiny bit of explanation about the classloader separation thing
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* fix that 'testing strategy' part
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-25 13:21:50 -07:00
Mateusz Rzeszutek
05a391459b
Stabilize HTTP headers capturing configuration property names ( #4459 )
...
* Stabilize HTTP headers capturing configuration property names
* code review comments
2021-10-21 21:56:20 -07:00
jason plumb
e1b4054e52
Update to latest version (from 1.0.0) ( #4361 )
...
Not sure how frequently we want to update the docs like this, but it seemed that quite some time had passed.
2021-10-19 15:24:11 -07:00
Mateusz Rzeszutek
be55b2aac6
Update muzzle and InstrumentationModule docs after latest changes ( #4412 )
...
* Update muzzle and InstrumentationModule docs after latest changes
* additional comment
2021-10-19 13:44:15 -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
5e7b5380cd
Remove mentions of http.url attribute in server instrumentations ( #4394 )
2021-10-15 11:00:50 -07:00
Trask Stalnaker
b0430f2b79
Minor doc update ( #4383 )
2021-10-14 19:27:32 -07:00
Mateusz Rzeszutek
2fbec93313
Document captured HTTP headers configuration options ( #4321 )
...
* Document captured HTTP headers configuration options
* Apply suggestions from code review
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
* Reformatting after applying comments
* Update docs/config/common.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-08 10:53:10 -07:00
Mateusz Rzeszutek
fd872b0d8a
Fix table in manual instrumentation doc ( #4322 )
2021-10-07 13:33:40 -07:00
Nikita Salnikov-Tarnovski
9bbd490288
Remove last muzzle generate method from InstrumentationModule ( #4281 )
...
* Remove last muzzle generate method from InstrumentationModule
2021-10-05 14:43:21 +03:00
Trask Stalnaker
9edb3fd4f5
Rename smoke test image modules ( #4295 )
...
* Move under images directory
* Update references
* More
* Rename matrix to servlet
* executable
* Missed rename
2021-10-05 15:47:01 +09:00
Mateusz Rzeszutek
9d6fb65b41
Remove ContextStore/InstrumentationContext mentions from internal age… ( #4267 )
...
* Remove ContextStore/InstrumentationContext mentions from internal agent classes
* Fix internal-reflection module
2021-10-04 09:24:25 -07:00
Trask Stalnaker
92394ad9ae
Remove url from HttpServerAttributesExtractor ( #4209 )
...
* Remove url from HttpServerAttributesExtractor
* Remove UriBuilder
* Tracers too
* apache-camel
* Finatra
* jsp
* Ratpack
* Ratpack library
* Ratpack
* Spark
* Feedback
* Fix Undertow
* Vertx
* vertx-web
* play-2.4
* webflux
* jaxrs
* Spotless
* Update semantic-conventions.md
* Update smoke tests
* More realistic target
* Remove outdated doc
* Wording
2021-10-03 09:17:23 -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
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
Akash Suresh
1c35e2adbb
Update doc on suppressing instrumentation ( #4143 )
...
* Update doc on suppressing instrumentation
* Review feedback
2021-09-17 09:40:40 -07:00
Trask Stalnaker
d2794fa231
Add Intellij troubleshooting tips ( #4117 )
...
* Add Intellij troubleshooting tips
* Rename doc and link?
2021-09-14 09:54:34 -07:00
Trask Stalnaker
1c3c3795dc
Update gradle wrapper doc ( #4119 )
2021-09-13 20:08:07 -07:00
Nikita Salnikov-Tarnovski
78a3ba0692
Expand documentation for client span suppression ( #4109 )
...
* Expand documentation for client span suppression
Added a little explanation of the use-cases when such suppression may be useful.
/cc @lmolkova
* Update docs/suppressing-instrumentation.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-13 11:40:37 -07:00
Trask Stalnaker
f964a13fc9
Update Intellij setup docs ( #4103 )
2021-09-13 09:27:15 -07:00
Trask Stalnaker
2d79e6a6ef
Upgrade all gradle wrappers ( #4107 )
...
* Upgrade all gradle wrappers
* Add doc
2021-09-13 16:16:10 +09:00
Matthew Ho
6967484a97
Update groovy import order to match default IntelliJ ( #1708 ) ( #4047 )
...
* Update groovy import order to match default IntelliJ (#1708 )
* organized imports for .groovy files to follow default IntelliJ import settings
* updated intellij-setup.md
* Spotless
* drift
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-11 11:53:08 -07:00
Trask Stalnaker
dee98a0a9d
Update google docs sources links ( #4079 )
2021-09-10 10:55:02 -07:00
Sunny Srivastava
50a94bfb73
Better ClassLoader State and initialization-sequence diagrams ( #4072 )
...
* update Classloader state Diagram for darkmode
* update diagram for better view in darkmode
* update initialization-sequence diagram for darkmode
2021-09-09 11:46:24 -07:00
Mateusz Rzeszutek
d6c8e3a1f2
Update supported libs list ( #4077 )
2021-09-09 08:07:04 -07:00
Liudmila Molkova
dc69d5fb56
Add documentation for suppression by type flag ( #3990 )
...
* Update suppressing-instrumentation.md
* lint
* better suppression strategy description
2021-09-08 15:05:12 -07:00
Dimitar Manev
d185377399
"./gradlew :instrumentation:google-http-client-1.19:muzzle" is failing ( #4043 )
...
I figured out there is missing string in between while running:
```
./gradlew help --task muzzle
...
:instrumentation:google-http-client-1.19:javaagent:muzzle
:instrumentation:grails-3.0:javaagent:muzzle
:instrumentation:grizzly-2.0:javaagent:muzzle
:instrumentation:grpc-1.6:javaagent:muzzle
...
```
2021-09-01 19:28:38 -07:00
Nikita Salnikov-Tarnovski
28db0c30cd
Deprecate old extensions ( #3825 )
...
* Introduce stable property for external extensions
* Update docs to use stable extension property.
Also log a warning if deprecated otel.javaagent.experimental.exporter.jar is used.
* Format
* Format
* Polish
2021-08-25 13:59:17 -07:00
Nikita Salnikov-Tarnovski
40490a8a0f
Remove khttp from the list of supported libraries ( #3769 )
2021-08-04 14:34:36 +03:00
Fabrizio Ferri-Benedetti
c24da7bdd7
Improve extension sample documentation and add it to the README file ( #3656 )
...
* First commit
* Update examples/extension/README.md
Co-authored-by: John Watson <jkwatson@gmail.com>
* Update README.md
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
* Update docs/agent-config.md
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
* Update examples/extension/README.md
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
* Update examples/extension/README.md
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
* Update examples/extension/README.md
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
* Edits
* Readme update
Co-authored-by: John Watson <jkwatson@gmail.com>
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2021-07-26 12:34:53 +03:00
Anna Nosek
409471543e
Test and document otel.javaagent.configuration-file ( #3585 )
...
* test and document configuration file property
* use TemporaryFolder rule, documentation changes after review
2021-07-15 22:37:17 -07:00
HaloFour
814239c8c0
Adds binding of attributes in methods annotated with @WithSpan ( #3188 )
...
* Add binding of span attributes for traced methods
* Spring Aspect support, memoization
* Test with attribute name from ParameterNameDiscoverer
* Refactorings, javadocs and tests
* Refactor out creating AttributeBinding to separate class
* Wrapped attribute bindings for array parameters
* Attribute binding for List and EnumSet
* Attribute binding for subclass of List with reflection helper class
* Fix test failures in JDK 8
* Attribute binding to Set<? extends Enum>
* Move attribute binding to instrumentation-annotation-support project
* Fix copypastaed missing imports in tests
* Simplify ParameterizedClass based on PR feedback and add javadocs
* Remove blank javadoc
* Switch to cache with weak keys for memoizing attribute bindings by method
* Remove binding support for EnumSet<?>
* Clean up javadoc
* Use SpanAttribute annotation from opentelemetry 1.4.0-SNAPSHOT
* Address some PR concerns
* Clean up
* Fix instrumentation dependency in Springboot
* Update documentation
* Switch javaagent dep to compileOnly per PR comment
* spotless
* Kick CI
* Rename annotation support module and packages
* Resolve SpanAttribute annotation at runtime with fallback for older OTel versions
* Remove unnecessary dependency
* Move reflection helper to annotation support module
* Remove unnecessary enum and fields from unit test
2021-07-14 13:32:07 -07:00
Nikita Salnikov-Tarnovski
cbfd7e1a02
Trying to extract codegen plugin ( #3521 )
...
* Muzzle code generation moved to a separate plugin
* Restored old MuzzleCodeGenerationPlugin to use until the new one is published
* The simplest dependency management possible
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-07-14 17:08:47 +03:00
Trask Stalnaker
d0cb08a37b
Rename javaagent-api artifact to javaagent-instrumentation-api ( #3513 )
...
* part 1
* part 2
* Undo change in examples
* Spotless
2021-07-12 21:53:49 -07:00
Anuraag Agrawal
1e57fd0f54
Enable smoke-tests iff specified on command line ( #3542 )
...
* Enable smoke-tests iff specified on command line
* README
2021-07-12 13:29:48 +03:00
Trask Stalnaker
da75a7a6c6
Style guide section for Nullable annotation usage ( #3499 )
...
* Style guide section for Nullable annotation usage
* Set default to non-null
* More doc
* Review feedback
2021-07-08 08:54:26 -07:00
Alexey Zhokhov
ed02aff7b5
OpenTelemetry JDBC instrumentation library ( #3367 )
...
* Added jdbc library with ported version of OpenTracing JDBC Instrumentation.
* Gradle 7.1.
* Revert "Gradle 7.1."
This reverts commit e3df35b0
* Code style fixes.
* Code style fixes.
* Moved some JDBC utilities classes to the library module.
* javax.annotation.Nullable -> org.checkerframework.checker.nullness.qual.Nullable
* Build fix.
* Spotless fixes.
* Cache prepared statements.
* Cache connection info.
* Tracing for JDBC statement and prepared statement.
* Added some API dependencies.
* Fixed ending the span.
* Removed proxy usage.
* Cleanup.
* Implemented datasource with tracing support.
* Renamed Tracing prefix with OpenTelemetry.
* Renamed Tracing prefix with OpenTelemetry.
* Moved utilities classes to io.opentelemetry.instrumentation.jdbc.internal subpackage.
* Build fix.
* Build fix.
* Cleanup.
* Moved some shared classes to instrumentation-api module.
* Code review fixes.
* Make OpenTelemetryDriver final.
* Spotless fixes.
* Moved test classes from javaagent-unit-tests module to library module.
* Removed javaagent-unit-tests module.
* Covered OpenTelemetryDriver with tests.
* Cleanup.
* Covered OpenTelemetryDataSource with tests.
* Covered OpenTelemetryConnection with tests.
* Revert TestPreparedStatement.
* Added README.
* Build fix.
* Checkstyle fixes.
* Spotless fixes.
* Rename to build.gradle
* Fix build.gradle format.
* INSTANCE package scope.
* Documented OpenTelemetryDataSource usage.
* Renamed CheckedCallable to ThrowingSupplier.
* Update instrumentation/jdbc/library/README.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/OpenTelemetryDriver.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/OpenTelemetryDriver.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/OpenTelemetryDriver.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation/jdbc/library/README.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation/jdbc/library/README.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation/jdbc/library/README.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Removed javaagent-api module usage.
* Removed useless checking.
* Moved javaagent test classes to testing module.
* Move common JDBC test classes to testing module.
* Spotless fixes.
* Code format.
* Moved PeerServiceAttributesExtractor back to javaagent-api module.
* Rename JavaAgentJdbcSingletons to JdbcSingletons.
* Fixed JdbcSingletons import.
* Cleanup.
* Codenarc fixes.
* Update instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/OpenTelemetryDriver.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/OpenTelemetryDriver.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Parse InstrumentationVersion.VERSION.
* Store major and minor version in private static fields.
* Make the datasource way a preferred way.
* Removed interceptor mode.
* Rename build.gradle -> build.gradle.kts.
* Switch to Gradle Kotlin DSL.
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-07-01 10:35:07 -07:00
Lauri Tulmin
82ea8dbc24
Small typo in doc ( #3433 )
2021-06-29 14:37:12 +03:00
Anuraag Agrawal
deb0e255cf
Use plugins block everywhere for applying plugins ( #3386 )
...
* Use plugins block everywhere for applying plugins
* Actually it's library instrumentation
2021-06-24 11:13:35 +09:00
Anuraag Agrawal
224dc51e93
Migrate java.gradle to conventions plugin ( #3289 )
...
* Migrate java.gradle to convention plugin.
* Switch to java-conventions
* Remove old file
* Fix
* Fix merge
* Missing paragraph
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-06-15 08:10:39 +09:00
Trask Stalnaker
f1beb2397f
Intellij cleanup of markdown and yaml ( #3284 )
...
* Intellij cleanup of markdown and yaml
* Revert required yaml param
2021-06-14 13:13:01 +03:00
Trask Stalnaker
b8b2760b44
Sync style guide with otel-java repo ( #3265 )
2021-06-14 10:02:24 +03:00
Trask Stalnaker
e9a8beb231
Document final keyword usage in code style ( #3287 )
...
* Document final keyword usage in code style
* Update docs/contributing/style-guideline.md
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-06-14 15:36:41 +09:00
Trask Stalnaker
e9c3df6dac
Static factory method ordering ( #3206 )
2021-06-07 15:29:30 -07:00
Trask Stalnaker
ac30b3c185
Add SuppressWarnings("unused") on Advice classes ( #3207 )
...
* Add SuppressWarnings unused on Advice classes
* And in doc
2021-06-07 16:00:21 +09:00
Trask Stalnaker
9a3c657291
Add library instrumentation docs ( #3176 )
2021-06-03 14:14:37 -07:00
Mateusz Rzeszutek
6fb3ec0501
Do not use arrays in InstrumentationModule ( #3057 )
...
* Do not use arrays in InstrumentationModule
* add missing cast
2021-05-24 13:51:07 +02:00
Jakub Wach
a360ea4ed3
agent config - small link fix ( #3035 )
2021-05-19 09:53:54 -07:00
Mateusz Rzeszutek
bb8f515083
Refactor TypeInstrumentation#transformers() method ( #3019 )
...
* Refactor TypeInstrumentation#transformers() method part 1
Add TypeInstrumentation and its implementations
* Refactor TypeInstrumentation#transformers() method part 2
Use the new method in all existing TypeInstrumentation implementations
* Drift
* Spotless
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-18 09:50:26 +02:00
Trask Stalnaker
500590e597
Add Java HttpClient to docs ( #3001 )
2021-05-17 12:13:30 -07:00
Anuraag Agrawal
95c16c4a3c
Start migrating Muzzle plugin to Java ( #2996 )
2021-05-15 16:22:05 +09:00
Mateusz Rzeszutek
a72a7838f0
Load InstrumentationModules using InstrumentationLoader ( #2971 )
...
* Load InstrumentationModules using InstrumentationLoader
* writing-instrumentation-module doc improvement
* spotless
2021-05-13 14:12:53 +02:00
Anuraag Agrawal
08c155add3
Update supported gRPC version ( #2952 )
2021-05-10 18:37:58 +03:00
Trask Stalnaker
9ff720431e
Consolidate misc docs ( #2939 )
2021-05-09 17:05:10 -07:00
Mateusz Rzeszutek
9c7fae3b04
Extract javaagent-extension-api from tooling & spi ( #2879 )
2021-05-06 23:30:25 -07:00
Lauri Tulmin
30b1f3df3b
Add supported jax-rs and jax-ws frameworks ( #2921 )
2021-05-06 22:19:25 +03:00
Mateusz Rzeszutek
169f99554d
Minor improvement in the writing-instrumentation-module.md doc ( #2871 )
2021-04-27 13:04:18 -07:00
YuDong Tang
334c6ec0b5
fix db.operation in semantic-conventions.md ( #2858 )
2021-04-23 17:52:04 -07:00
Trask Stalnaker
7381304e06
Rename java http client module ( #2856 )
2021-04-23 11:20:42 -07:00
Trask Stalnaker
e54eb2ca03
Add doc how to run smoke tests ( #2840 )
2021-04-22 11:37:18 -07:00
Jakub Wach
f956a58c0a
resolved TODO - instrumentation names in suppressing doc ( #2755 )
...
* resolved TODO - instrumentation names in suppressing doc
* changed to include only unversioned names
* Update docs/suppressing-instrumentation.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Added lib name to table
* Update docs/suppressing-instrumentation.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* review changes
* review changes
* Update docs/suppressing-instrumentation.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-04-21 13:26:13 -07:00
Mateusz Rzeszutek
95f8342558
Deprecate additionalHelperClassNames ( #2810 )
...
* Deprecate additionalHelperClassNames
* Deprecate additionalHelperClassNames
2021-04-16 10:11:11 +02:00
Mateusz Rzeszutek
2d59d25961
Writing InstrumentationModule line by line ( #2793 )
2021-04-14 10:52:31 -07:00
Trask Stalnaker
d741dc48b9
Minor rename of javaagent unit test modules ( #2784 )
2021-04-13 12:36:30 +03:00
Trask Stalnaker
eb81e8958c
Remove play-2.3 instrumentation and remove typesafe repo ( #2783 )
...
* Remove typesafe repo
* Use play 2.3.9 instead of 2.3.0
* Exclude missing optional dependency
* Remove play-2.3 module
* Update supported libraries doc
2021-04-13 11:50:29 +03:00
Trask Stalnaker
3dcb29d1ea
Update supported library versions ( #2766 )
...
* Update supported library versions
* Lettuce too
2021-04-11 13:04:03 +03:00
jack-berg
035b3f42f7
Fix build and documentation typos related to autoconfigure SPI. ( #2719 )
2021-04-05 18:22:34 -07:00
Nikita Salnikov-Tarnovski
8f4056ba03
Update supported-libraries.md ( #2717 )
...
Update TOC
2021-04-05 12:03:50 +03:00
Nikita Salnikov-Tarnovski
08bc71b3ec
Update semantic-conventions.md ( #2716 )
...
Cleanup of the removed attribute
2021-04-05 11:01:31 +03:00
Ago Allikmaa
19cf89ec1e
Document supported JVMs as a separate section ( #2704 )
2021-04-05 08:58:57 +03:00
Lauri Tulmin
3f5980f9b8
Add support for Tapestry web framework ( #2690 )
2021-04-01 17:56:55 -07:00
Mateusz Rzeszutek
1406855bb7
Revert "Prevent duplicate telemetry when using both library and auto instrumentation ( #2661 )" ( #2689 )
2021-04-01 16:11:15 -07:00
Mateusz Rzeszutek
30434696ae
Prevent duplicate telemetry when using both library and auto instrumentation ( #2661 )
...
* Prevent duplicate telemetry when using both library and auto instrumentation
* Add unit test
* Fix Oshi tests
* Fix couchbase 3.1 tests
2021-03-31 10:57:04 -07:00
Lauri Tulmin
3c11613aed
Add support for GWT ( #2652 )
...
* Add support for GWT
* formatting
* review fixes
2021-03-29 19:41:03 +03:00
Lauri Tulmin
b999e8a2f5
Add support for vaadin web framework ( #2619 )
...
* Add support for vaadin
* rename test
* review fixes
* rename module
* review fixes
* Trigger Build
* don't load advice classes
2021-03-29 11:35:22 +03:00
Nikita Salnikov-Tarnovski
bb5f2c5ece
Constaing latest support version of Apache Dubbo ( #2628 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-03-25 22:39:43 -07:00
addname
5bd148ca9b
Update supported libraries doc for rocketmq ( #2575 )
2021-03-15 13:27:11 +02:00
Lauri Tulmin
ff3542eff8
Fix prematurely ending server span on undertow ( #2560 )
...
* Fix permaturely ending server span on undertow
* Trigger Build
* Add undertow to supported frameworks
* Review fixes
* Update instrumentation/undertow/javaagent/src/test/groovy/UndertowServerTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update instrumentation/undertow/javaagent/src/test/groovy/UndertowServerTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Review fixes
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-03-12 16:52:33 +02:00
jason plumb
182574a672
give `service.name` additional visibility within the resource def. ( #2563 )
2021-03-12 08:47:01 +02:00
John Watson
5af8bef834
Update the agent-config docs. ( #2551 )
...
This provides more direct linking to the auto-instrumentation docs that people might need.
2021-03-11 11:25:37 -08:00
Lauri Tulmin
7013376030
Add support for Grails ( #2512 )
...
* Add support for Grails
* exclude bad version from muzzle
* Review fixes
* review fixes
* rebase
* Trigger Build
2021-03-09 08:56:33 +02:00
Trask Stalnaker
3d6da76962
Update doc for next release ( #2473 )
2021-03-07 12:17:13 -08:00
Lauri Tulmin
7df5579768
Add support for elasticsearch7 ( #2514 )
...
* Add support for elasticsearch7
* Fix formatting
2021-03-07 13:10:21 +02:00
Mateusz Rzeszutek
603bdf7155
Document DB statement sanitization ( #2451 )
2021-03-02 10:26:00 -08:00
Trask Stalnaker
475830789c
Update to otel-java 1.0.0 ( #2431 )
...
* Update to otel-java 1.0.0
* Fix test
* Fix another test
* Fix another test
* Fix hibernate tests
* Fix spring-data tests
* Spotless
2021-02-28 11:15:27 -08:00
Anuraag Agrawal
3ff8d0bcef
Link to autoconfigure docs. ( #2395 )
2021-02-24 15:58:39 +09:00
jason plumb
868af7b8e2
update version in docs ( #2391 )
2021-02-23 19:57:07 -08:00
Nikita Salnikov-Tarnovski
b43391fedf
Add proper integration for AsyncHttpClient 2+ ( #2348 )
...
* Reworking context propagation for Netty 4.0
* Spotless
* Add proper integration for AsyncHttpClient 2+
* Polish
* Polish
2021-02-23 08:09:31 +02:00
Mateusz Rzeszutek
efa99f0bbe
Update logger MDC docs (after #2312 ) ( #2313 )
2021-02-20 19:00:43 -08:00
Trask Stalnaker
54e9cd5d5f
Update MDC docs to reflect log spec naming ( #2303 )
2021-02-17 14:52:10 +02:00
Christian Neumüller
5d8464305e
writing-instrumentation.md: Fix section hierarchy ( #2287 )
2021-02-15 15:08:09 +02:00
Trask Stalnaker
723a08ac4f
Fix references of otel.trace. to otel.traces. ( #2269 )
2021-02-13 11:16:25 -08:00
Anuraag Agrawal
d3931912f2
Update README for env var rename in 0.16.0 ( #2258 )
...
* Update README for env var rename in 0.16.0
* moar
2021-02-12 12:41:41 +02:00
jason plumb
ca21955bd9
README and docs reorg ( #2226 )
2021-02-09 11:01:35 -08:00
Anuraag Agrawal
fc410706d0
Update to Sdk 0.16.0 ( #2221 )
...
* Update to 0.16.0-SNAPSHOT
* Finish
* Finish
* Update to 0.16.0
* Finish
2021-02-09 18:00:54 +09:00
Mateusz Rzeszutek
61f86a78b8
Improve muzzle docs: assertInverse, extraDependency ( #2158 )
2021-02-02 11:53:10 +09:00
jason plumb
66dc6c934f
Document the static imports (style guidelines) ( #2161 )
...
* document the static imports that we like
* spotless
* Update docs/contributing/style-guideline.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-02-02 11:04:56 +09:00
Mateusz Rzeszutek
93b3a3b289
testing-common refactoring: replace direct AgentTestRunner usage with… ( #2134 )
...
* testing-common refactoring: replace direct AgentTestRunner usage with spock spec
* Updated instrumentation docs
* Fix reactor-core library tests
ReactorCoreTest was getting a tracer from GlobalOpenTelemetry before LibraryTestTrait had a change to initialize the SDK
2021-02-01 11:32:25 +01:00
Anuraag Agrawal
3dc615eeca
Add a checklist of agent BCI features ( #2033 )
...
* Add a checklist of agent BCI features
* Disable / enable
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-14 10:10:49 +09:00
Sergei Malafeev
f3334c3990
document how to enable only manual instrumentation ( #2028 )
...
* #1994 document how to enable only manual instrumentation
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* Update docs/suppressing-instrumentation.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-13 12:59:47 +09:00
Lauri Tulmin
640a7d624b
Correct some spelling mistakes ( #2025 )
2021-01-12 11:10:45 -08:00
Anuraag Agrawal
8d74baa2e4
Run tests with javaagent. ( #1643 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-04 13:13:24 -08:00