Commit Graph

314 Commits

Author SHA1 Message Date
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
Lauri Tulmin 79433966fb
Liberty server span handling (#1929)
* Liberty server span handling

* review fixes

* review fixes

* add doc about using compile stubs

* Update instrumentation/liberty/liberty/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/liberty/LibertyInstrumentationModule.java

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

* Update instrumentation/liberty/liberty/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/liberty/ThreadLocalContext.java

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

* add links to advice classes

* add commnet, remove unneeded dependency

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-12-22 15:00:58 +02:00
Pavol Loffay f69217e2a4
Add ComponentInstaller SPI and use it for OpenTelemetry SDK (#1848)
* Add component installer SPI

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Move more code to agent installer

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2020-12-18 08:55:24 +02:00
Anuraag Agrawal 49fdaee2ee
Add document outlining safety mechanisms of java agent. (#1925)
* Add document outlining safety mechanisms of java agent.

* smoke tests

* Cleanup
2020-12-17 17:27:32 +09:00
jason plumb c800c0dc87
Document advice class name hard coding (#1881) 2020-12-14 13:14:57 -08:00
Anuraag Agrawal 91a9e1885e
Replace java test version rule with property. (#1769)
* Replace java test version rule with property.

* Fix enabled check

* Update java.gradle
2020-11-26 16:53:20 +09:00
Trask Stalnaker 325238f128
Rename otel.trace.classes.excludes to otel.javaagent.exclude-classes (#1747)
* Rename otel.trace.classes.excludes

* Spotless
2020-11-25 16:53:49 +02:00
Mateusz Rzeszutek 13c405c174
Make muzzle generate helperClassNames() method (#1714) 2020-11-24 10:07:22 -08:00
Trask Stalnaker 3b480f5e50
Rename otel trace properties (#1740)
* Rename otel.trace.enabled

* Rename otel.trace.debug

* Rename otel.trace.config

* Rename otel.trace.runtime.context.field.injection

* Rename otel.instrumentations.enabled

* Document otel.javaagent.enabled
2020-11-23 14:53:18 -08:00
Trask Stalnaker 516242af70
Add doc about calling default methods from advice (#1737) 2020-11-23 15:50:12 +02:00
Mateusz Rzeszutek 1a23ac3027
Standardize instrumentation names in InstrumentationModules (#1648)
* Standardize instrumentation names in InstrumentationModules

* rename gradle modules:
  * vertx-3.0 to vertx-web-3.0
  * spark-web-framework-2.3 to spark-2.3
* add JavaDoc describing the naming rules to InstrumentationModule
2020-11-17 13:30:28 -08:00
Trask Stalnaker 6d5ec329d6
Enable checkstyle for google style guide (#1641) 2020-11-16 18:46:59 -08:00
Anuraag Agrawal d435da4638
Update to Gradle 6.7 and use new toolchains feature for testing on Ja… (#1627)
* Update to Gradle 6.7 and use new toolchains feature for testing on Java versions.

* Update docs

* Add back sum

* Use GitHub test JDK for toolchain.

* Use maxJavaVersionForTests for default test version when set.

* Fix RMI

* Fix configs

* Go back to rule

* Extract variable for default Java version.
2020-11-16 10:29:36 +02:00
Trask Stalnaker 8e48aa2025
Add problem statement (#1639) 2020-11-14 22:56:07 -08:00
Pavol Loffay 5e568e6d06
Add classloading diagram to contributing docs (#1612) 2020-11-12 21:12:49 -08:00
Trask Stalnaker efe4110e27
Doc changes associated with PR #1412 (#1413)
Since doc change should wait until the next release is made.
2020-11-12 10:43:29 +02:00
Mateusz Rzeszutek 402a0a1639
Remove Instrumenter.Default (#1610) 2020-11-10 12:42:29 -08:00
Trask Stalnaker 27ee234596
Add interoperability design doc (#1597) 2020-11-09 15:00:21 +02:00
Nikita Salnikov-Tarnovski 7b64184701
Smoke tests using Jaeger and Zipkin exporters (#1543) 2020-11-02 20:50:14 -08:00
Nikita Salnikov-Tarnovski 947a316bb6
Add links to some issues (#1542) 2020-11-02 20:48:23 +02:00
Pavol Loffay bdf2a91290
Rename printReferences gradle task to printMuzzleReferences (#1517)
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2020-10-29 15:37:38 +09:00
Anuraag Agrawal f6ad05b8e3
Update to latest SDK snapshot (#1384)
* Update to latest SDK snapshot

* Use published snapshot

* Fixes

* Cleans

* spotless

* Most

* Clean

* Merge

* Temporarily remove context interop

* WIP

* Prepare for intercepting propagated span

* Bump SDK

* IDE updates

* Lots

* compileJava

* Done?

* bar

* Spot

* drugs

* Groovy--

* green for me

* Spot

* Remove grpc import

* Scrub
2020-10-25 15:14:32 +09:00
Mateusz Rzeszutek ee0e0a9697
Muzzle improvements: docs, javadocs, renamings and minor refactoring (#1379) 2020-10-14 16:49:51 -07:00
Trask Stalnaker 7ecc9bb37b
Rename "auto" to "javaagent" in modules (#1370) 2020-10-13 12:32:13 -07:00
Nikita Salnikov-Tarnovski 34d6cc5f60
Update ga-requirements.md (#1378)
Check off already done things.
2020-10-13 10:09:15 +03:00
Nikita Salnikov-Tarnovski f23ad29187
Messaging convention reviewed (#1297)
* Kafka reviewed

* Kafka Streams reviewed

* JMS reviewed

* RabbitMQ reviewed

* Format

* Format

* Polish

* Add comments

* Update parents as per spec proposal

* Cleanup

* Remove Operation enum

* muzzle

* Fix build

* Polish

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-10-13 09:16:58 +03:00
Trask Stalnaker 480147307a
Revert broken png file (#1377) 2020-10-12 20:13:37 -07:00
Trask Stalnaker 1b51d4a6b1
Rename packages (#1367) 2020-10-11 13:54:35 -07:00
Bill O'Neil c79c235fe4
Update suppressing-instrumentation.md (#1361) 2020-10-09 13:12:52 -07:00
Mateusz Rzeszutek ce4414e9dd
Logging instrumentation: always log sampled flag value (#1347) 2020-10-08 10:58:57 -07:00
Mateusz Rzeszutek aa3bbae200
Document traceId/spanId injection into logs (#1339)
* Document traceId/spanId injection into logs

* Document traceId/spanId injection into logs
2020-10-08 15:41:07 +03:00
Nikita Salnikov-Tarnovski 88707c3bb0
Review DB semantic conventions (#1284) 2020-10-01 11:17:09 -07:00
Trask Stalnaker c8c8eb8c0b
Update debugging doc (#1296) 2020-10-01 11:13:31 -07:00
Pavol Loffay f48579a84f
Add high level Muzzle docs (#1270) 2020-09-29 12:46:08 -07:00
Pavol Loffay 2794d469cf
Fix typo (#1272)
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-28 16:23:37 +09:00
Pavol Loffay 42c9ee53a4
Add debugging docs (#1263) 2020-09-27 12:52:54 -07:00
Pavol Loffay 91b177165c
Bump Java from 14 to 15 in CI (#1252)
* Bump Java from 14 to 15 in CI

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Review comments

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* adjust comment

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Bump jacoco to 0.8.6

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* maxJavaVersionForTests

Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-24 15:27:33 +03:00
Trask Stalnaker b9bbcd85a9
Update testLatestDeps doc (#1238) 2020-09-23 07:37:05 +03:00
Jamal Fanaian 5598544318
Add otel prefix to excluded classes properties (#1231)
The documentation doesn't include the property prefix that is required to use this. The change just adds `otel.` and `OTEL_` prefix to the property table.
2020-09-21 19:53:24 -07:00
Nikita Salnikov-Tarnovski b240cf95e7
Review semantic convention for RPC spans (#1219)
* Review gRPC semantic conventions

* Review RMI semantic conventions

* Muzzle fix

* Update compliance table

* Update compliance table
2020-09-20 12:13:47 +03:00
Nikita Salnikov-Tarnovski beb1901f5f
Review semantic convention for Http Client spans (#1214)
* Review semantic convention for Http Client spans

* Polish

* Update instrumentation/google-http-client-1.19/src/test/groovy/AbstractGoogleHttpClientTest.groovy

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-18 17:52:08 +03:00
Nikita Salnikov-Tarnovski 7e41b516ee
Review semantic convention for Http Server spans (#1207)
* Review semantic convention for Http Server spans

* Polish
2020-09-16 09:52:11 +03:00
Jakub Wach 7080bdb9a4
spring mvc3 - proper span name in case of sec fail (#718) (#1122) 2020-09-09 10:08:28 +03:00
dengliming 95ad352d77
Fix doc link. (#1088) 2020-08-23 23:04:22 +03:00
Trask Stalnaker 87170b16d1
Rationale for not supporting Java 7 (#1068) 2020-08-21 17:42:40 -07:00
Trask Stalnaker 6df6e6f7c3
Instrumentation prioritization (#1037) 2020-08-18 15:58:30 -07:00
Trask Stalnaker d9dca25402
Remove unused javaSubPackage config (#1020) 2020-08-16 21:18:10 -07:00
Trask Stalnaker ac5f041fb9
Rename javaagent-bootstrap's Agent class to AgentInitializer (#1018)
* Rename bootstrap Agent class

* Rename start method to initialize
2020-08-16 22:05:02 +03:00
Trask Stalnaker 7159d04b8d
Change groovy import order (#1013)
* Update docs

* Format all groovy code

* Organize imports
2020-08-15 23:19:27 -07:00
Trask Stalnaker f893ca540b
Scripted package renaming (#988) 2020-08-15 21:55:01 -07:00
Anuraag Agrawal c845a5308d
To suppress, should set enabled to false (#978) 2020-08-14 13:34:49 +03:00
Trask Stalnaker 7818e33178
Package renaming (#970) 2020-08-13 20:14:46 -07:00
Trask Stalnaker a0dc9ba19c
Rename Pre-Main class (#955) 2020-08-13 10:58:33 -07:00
Trask Stalnaker bf9c160570
Rename javaagent modules (#952) 2020-08-12 22:50:14 -07:00
Nikita Salnikov-Tarnovski e26801482c
Add document describing current problem with context propagation (#910)
* Add document describing current problem with context propagation

* Update docs/contributing/inter-thread-context-propagation.md

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

* Update docs/contributing/inter-thread-context-propagation.md

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

* More clarifications

* More clarifications

* Better example

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-12 20:33:07 +03:00
Anuraag Agrawal 0eafc28608
Run tests using JUnit5 platform and remove SpockRunner (#770)
* Run tests with JUnit platform

* Matcher

* Restore

* Don't mix JUnit4 with JUunit5 in spring tests

* Separate out tests that need custom class loader.

* Separate out test for a couple classes that need it, try to remove SpockRunner, but Grizzly?

* Remove SpockRunner

* Fix grizzly

* Remove assumeTrue workaround.

* Comments
2020-08-12 11:05:26 +09:00
Trask Stalnaker b5fbf90977
Extract instrumentation api module (#884) 2020-08-09 22:52:33 -07:00
Trask Stalnaker ae4c133220
Remove save actions setting from contributing doc (#886) 2020-08-03 21:53:28 -07:00
Trask Stalnaker b9748e06b7
Define the repository scope (#751) 2020-08-02 12:07:08 -07:00
Trask Stalnaker 2af43dbf26
Rename trace.methods.exclude config (#842) 2020-07-31 12:30:08 -07:00
Nikita Salnikov-Tarnovski 9eb8ba7f86
Update ga-requirements.md (#808)
Add link to smoke tests improving issue #298
2020-07-27 21:59:54 +03:00
Trask Stalnaker 7418143f5e
Split up the CONTRIBUTING doc (#784)
* Split up the CONTRIBUTING doc

* spotless
2020-07-25 13:54:14 +03:00
Trask Stalnaker d84549e351
Trim down a P1 GA requirement and link from README (#773) 2020-07-23 21:11:58 +03:00
Trask Stalnaker 3b58151579
Add GA requirements doc (#734)
* Add GA requirements doc

* Address feedback

* Update docs/ga-requirements.md

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* Address feedback

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2020-07-23 17:26:58 +03:00
Trask Stalnaker 6bb31f5c54
Update save actions (#520)
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-06-15 07:46:12 +03:00