Commit Graph

86 Commits

Author SHA1 Message Date
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