Commit Graph

430 Commits

Author SHA1 Message Date
kaibocai bbb6482979
Update contributing doc for instrumentationModule (#7803)
As `helperResourceNames()` method is replaced by
`registerHelperResources(HelperResourceBuilder)` method, replacing it to
use `registerHelperResources(HelperResourceBuilder)` in
[writing-instrumentation-module.md](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/contributing/writing-instrumentation-module.md#inject-additional-resources-using-the-helperresourcenames-method)
2023-02-11 12:43:06 -08:00
Gregor Zeitlinger dcc9795a2e
modules must be public (#7744)
modules must be public
2023-02-06 14:45:42 -08:00
Lauri Tulmin 2e599633df
Update link to restlet framework website (#7617)
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7614
2023-01-19 10:43:54 +01:00
Trask Stalnaker 8090ec124d
Post release steps (#7563) 2023-01-13 10:09:28 +01:00
Trask Stalnaker 72f8b94342
Update change log for 1.22 (#7556) 2023-01-12 16:32:49 +00:00
Trask Stalnaker 09b63d2294
Use new reactor contextWrite when available (from reactor 3.4.0) (#7538)
Related to #7107 and #7202

Support WebFlux 6. 

Supporting reactor 3.5 seems pretty straightforward, the
`subscriberContext()` was deprecated in 3.4 in favor of
`contextWrite()`. In 3.5, `subscriberContext()` was removed.

This PR doesn't bump `latestDepTestLibrary` to 3.5 yet because there are
a couple of tests that succeed in 3.4 using `contextWrite()` but fail in
3.5 using `contextWrite()`.

My proposal is to review/merge this PR, and then I can ping our resident
reactor experts to see if they have thoughts on the failing tests in
3.5.
2023-01-11 20:26:12 -08:00
Mateusz Rzeszutek ca310b4ddb
Support Spring Web MVC in library instrumentation (#7552)
Part of
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7312

This is pretty much a copy of the `spring-webvmc-5.3:library` module
with `s/javax/jakarta/` applied. I'm planning on removing the 5.3
instrumentation after #7312 is done.
2023-01-11 17:22:55 -08:00
Trask Stalnaker 05e5316b84
Update supported versions doc (#7549) 2023-01-11 17:12:17 +00:00
sodared b18a250250
Update intellij-setup-and-troubleshooting.md (#7504)
fix wrong spell **'due ot'** in the doc
2023-01-03 12:05:31 +01:00
Lauri Tulmin d38bc4d2a4
Correct link to OpenTelemetry schemas (#7453)
was moved in
https://github.com/open-telemetry/opentelemetry-specification/pull/3046
2022-12-20 16:51:02 +01:00
Trask Stalnaker 386856cf5f
Post release updates (#7420) 2022-12-15 20:15:10 +00:00
Trask Stalnaker 02fb579470
Fix markdown lint error (#7371) 2022-12-08 13:32:26 -08:00
jack-berg 1dfec3b928
Semconv docs (#7272)
More documentation about the semantic conventions implemented by
instrumentation.

Resolves #6735.
2022-12-08 09:27:48 -08:00
Trask Stalnaker 66a112de30
Move repository-settings.md file (#7352)
I think this is a better location (and I'm going to suggest this as a
general practice for other repos where maintainers have admin rights)
2022-12-01 15:04:03 -08:00
Mateusz Rzeszutek 17b3fdb04a
Make preparations for Spring Web & WebMVC 6 instrumentations (#7343)
Just moving things around, extracting parent dir for `spring-web` and
`spring-webmvc`
2022-12-01 13:08:32 +01:00
Felix Wong d0158c4bff
Rename WebSphere Liberty Profile to Open Liberty (#7349)
fixes #7346 

Rename "WebSphere Liberty Profile" to "Open Liberty" and updated the
link.
2022-12-01 12:03:22 +01:00
Trask Stalnaker a4740264c2
Use windows-latest (#7299) 2022-11-29 07:54:03 -08:00
Trask Stalnaker b0fb249a65
Post release updates (#7213)
fyi I added topic for SIG meeting in 2 weeks b/c I'd like to automate
this but have some questions:

* What is the purpose of keeping around old diffs?
* If we need them, what about not including the empty ones?
* Do we diff minor versions against patches (if any), or only against
last minor?
2022-11-18 10:55:57 +01:00
Aaron Ai 2d7395c44b
Introduce markdown lint check (#7175)
Fixes #7129
2022-11-16 20:48:42 -08:00
Aaron Ai 97773819c8
Add RocketMQ gRPC/Protobuf-based Client into supported-libraries.md (#7198)
Add RocketMQ gRPC/Protobuf-based Client into supported-libraries.md

related issue: #6764
2022-11-16 09:35:32 +01:00
Trask Stalnaker 19ce0f87b9
GitHub action sync (#7150) 2022-11-15 09:35:30 -08:00
Trask Stalnaker d9c4784952
Stabilize annotations (#7046)
Resolves #6494
2022-11-08 08:46:11 -08:00
jack-berg 78e6744463
Add semantic conventions column to supported libraries doc (#6974)
Related to #6735.

Want to get buy in on the approach before going further.
2022-11-01 11:26:41 -07:00
Trask Stalnaker d7df94ad5b
Fix branch protection rules (#6973)
(in particular it was the dependabot rule that was not matching and so
dependabot was failing)
2022-10-26 11:22:16 -07:00
Trask Stalnaker 71b3e3e027
Library doc cleanup (#6948)
Related to #6947, but just cleans up the library module doc that already
existed (mostly for uniformity). Does not introduce any new doc.
2022-10-24 10:26:21 -07:00
Aaron Ai 3911cacfdc
Fix typos (#6961) 2022-10-24 09:06:01 -07:00
Trask Stalnaker c3f61e9d8d
Update supported libraries listing (#6959) 2022-10-24 08:49:32 -07:00
Trask Stalnaker d18a05b5a2
Add section to coding guidelines on Optional usage (#6894)
This was discussed a long while back, but never documented (and recently
came up in #6889)

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
2022-10-22 18:07:00 -07:00
Trask Stalnaker 9ce68fb937
Fix metric units (#6931)
Follow-up to #6930
2022-10-22 10:00:48 -07:00
Trask Stalnaker 222cbb9c30
Add api diffs for 1.19.0 (#6921)
Following post-release instructions at
https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/RELEASING.md#update-release-versions-in-documentations

Will automate later once I understand this better.
2022-10-20 13:07:57 +03:00
Trask Stalnaker 3601a84b3d
Update repo settings doc (#6877)
Added new "Restrict pushes that create matching branches: UNCHECKED",
which I discovered is needed during contrib release.

Removed the old `v*` branch protections since we don't need to make any
more patch releases from those old branch names anymore.
2022-10-14 08:53:42 -07:00
Trask Stalnaker 9621ea08cf
Update repo settings (#6862)
it seems that github recently tightened up the branch protection
restrictions (in a way that makes more sense than the prior behavior)
2022-10-13 20:07:36 -07:00
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 f4c5719c99
Allow auto-merge on PRs (#6812)
This seems nice for after pushing `spotlessApply` on an otherwise
approved and passing PR. I just enabled it and tried it on #6774.

(somewhat related to #6743)

Btw, I thought this was helpful explanation

> After you enable auto-merge for a pull request, if someone who does
not have write permissions to the repository pushes new changes to the
head branch or switches the base branch of the pull request, auto-merge
will be disabled. For example, if a maintainer enables auto-merge for a
pull request from a fork, auto-merge will be disabled after a
contributor pushes new changes to the pull request.


https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request#about-auto-merge
2022-10-06 16:02:27 -07:00
Aaron Ai 4e59f10687
Rearrange the file structure of RocketMQ instrumentation (#6762)
Fixes #6761
2022-09-28 13:45:59 -07:00
Trask Stalnaker 32d7febed5
Update repository settings for dependabot (#6715) 2022-09-22 16:03:36 -07:00
Trask Stalnaker 2d79f7903c
Branch protection rules for dependabot (#6674) 2022-09-20 08:39:07 -07:00
Trask Stalnaker fc0d94ce4a
Update squash merge message setting (#6649)
Resolves #6624

I've updated the setting already
2022-09-19 08:39:11 -07:00
Mateusz Rzeszutek c88dda4699
Fix jApiCmp files (#6641) 2022-09-16 13:19:03 +03: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
Lauri Tulmin 7d01a221a6
Update websphere link (#6602) 2022-09-13 12:44:25 +02:00
Trask Stalnaker 91b513dd5a
Fix CI (#6594) 2022-09-12 12:14:46 -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
Mateusz Rzeszutek edf421ede5
Stabilize instrumentation-api and introduce jApiCmp checks (#6566)
* Stabilize instrumentation-api and introduce jApiCmp checks

* Update

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-09-09 15:26:39 -07:00
Trask Stalnaker 906f31f56e
Update Intellij doc (#6451) 2022-08-10 11:40:37 +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 13305532bf
Document docker disk space (#6435) 2022-08-09 12:13:34 +02:00
Trask Stalnaker 9fe3761731
Document upper version limits (#6436) 2022-08-08 10:08:40 -07:00
Will Li c0cacb8544
add missing jboss-logmanager to supported libraries list (#6369)
* add missing jboss-logmanager to supported libraries list

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* Update docs/supported-libraries.md

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2022-07-25 11:38:13 -07:00
Mateusz Rzeszutek db1250d8c9
Add a dropwizard-metrics -> OTel metrics bridge (#6259)
* Add a dropwizard-metrics -> OTel metrics bridge

* disable by default

* enable metrics for test
2022-07-15 14:48:52 -07:00
Trask Stalnaker 177f0aec7c
Rename instrumentation-api-annotation-support (#6288) 2022-07-08 17:07:41 -07:00
Lauri Tulmin ae2a908256
Run tests with dubbo3 (#6247)
* Run tests with dubbo3

* remove muzzle limit

* fill peer name on dubbo 3
2022-07-01 08:14:23 -07:00
Trask Stalnaker 701ed54311
Use "class loader" instead of "classloader" consistently in docs and comments (#6236)
* Use "class loader" consistently instead of classloader

* Java comments too

* Fix bad merge
2022-06-30 14:57:07 -07:00
Mateusz Rzeszutek c978ce22f5
Update (rewrite) the javaagent structure doc; document bootstrap modules (#6227) 2022-06-28 20:23:27 -07:00
Lauri Tulmin b992e894bc
Run tests with latest play mvc (#6157)
* Run tests with latest play mvc

* restart build

* spotless
2022-06-13 13:02:15 -07:00
Lauri Tulmin 157ab7f754
Implement Oracle UCP connection pool metrics (#6099)
* Implement Oracle UCP connection pool metrics

* add additional instrumentation name

* change asserting no metrics reported after shutdown
2022-06-02 22:47:04 -07:00
jason plumb f1a746dca5
Add tomcat-jdbc connection pool metrics instrumentation (#6102)
* add tomcat-jdbc connection pool metrics instrumentation

* use duration

* code review comments

* remove unnecessary awaits

* udpate supported-libraries.md

* add comment about weakmap

* add sleeps for safety
2022-06-02 16:18:07 -07:00
Lauri Tulmin b95b64ba88
Implement Vibur DBCP connection pool metrics (#6092)
* Implement Vibur DBCP connection pool metrics

* Apply suggestions from code review

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* address review comments

* don't check for metircs that aren't reported

* rework library test setup

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-05-26 11:26:02 +03:00
Lauri Tulmin a1626ccc8c
Add OSHI to supported libraries (#6073) 2022-05-20 09:11:33 -07:00
Mateusz Rzeszutek 512a040025
Remove TimeExtractor and use internal API for setting start/end timestamps (#6051)
* Remove TimeExtractor and use internal API for setting start/end timestamps

* code review comments
2022-05-19 09:03:11 -07:00
Lauri Tulmin 6c44340f1c
Enable grizzly instrumentation by default (#6049) 2022-05-17 14:18:29 -07:00
Trask Stalnaker 59618783a2
Remove tag protection rule (#6048) 2022-05-17 09:53:32 +03:00
Trask Stalnaker 18367e72a0
Doc tag protections (#6026) 2022-05-16 11:58:32 +03:00
Mateusz Rzeszutek dd5e30defd
Implement HikariCP library instrumentation (#6023) 2022-05-13 10:22:35 -07:00
Mateusz Rzeszutek 5bcab32379
Implement HikariCP connection pool metrics (#6003)
* Implement HikariCP connection pool metrics

* rebase after SDK update

* fix muzzle

* code review comments
2022-05-12 18:48:07 -07:00
Mateusz Rzeszutek 87b412fb40
Instrumentation API changes: OperationMetrics, OperationListener (#6016)
* Instrumentation API changes: OperationMetrics, OperationListener

* errorprone
2022-05-12 11:16:46 -07:00
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