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