Commit Graph

168 Commits

Author SHA1 Message Date
Anuraag Agrawal 97b8712e3b
Remove jaeger-thrift from agent distribution (#2073)
* Remove jaeger-thrift from agent distribution

* Update test
2021-01-19 16:08:01 +09:00
Maxime Petazzoni 1e553ab97a
Clarify README.md instructions for manual instrumentation (#2007)
See discussion #1945 [1] for the background behind this change. The aim
is to make this repository's README easier to grok when trying to get
started instrumenting a Java application with OpenTelemetry.

[1] https://github.com/open-telemetry/opentelemetry-java-instrumentation/discussions/1945
2021-01-13 15:42:11 -08:00
Anuraag Agrawal 62bd2c03eb
Update Armeria instrumentation to match latest decorator order and re… (#2021)
* Update Armeria instrumentation to match latest decorator order and remove dedupe logic for now.

* git add

* Revert unused
2021-01-12 17:01:41 +09:00
Brian Ashby 2b73f9f3b6
add table for supported application servers (#2020) 2021-01-12 14:33:35 +09:00
Trask Stalnaker b97135725c
Change gitter links to github discussions (#1977) 2021-01-05 08:58:06 +09:00
Mateusz Rzeszutek b37f580c79
Add Spring Batch to README (#1928) 2020-12-18 17:48:49 +09:00
Anuraag Agrawal ca9b25d867
Revert "Revert "Update README to mention jaeger-thrift exporter support. (#1882)" (#1913)" (#1914)
This reverts commit d02318b5eb.
2020-12-18 17:46:23 +09:00
Anuraag Agrawal d02318b5eb
Revert "Update README to mention jaeger-thrift exporter support. (#1882)" (#1913)
This reverts commit 4af2655fa2.
2020-12-15 15:35:04 +09:00
jason plumb 4af2655fa2
Update README to mention jaeger-thrift exporter support. (#1882) 2020-12-15 13:28:33 +09:00
jason plumb 67371ecfc9
Fix import for @WithSpan in docs. (#1900) 2020-12-14 13:03:53 -08:00
Trask Stalnaker 8bcd5f1229
Simplify Apache HttpAsyncClient instrumentation (#1894)
* Simplify Apache HttpAsyncClient instrumentation

* Bump baseline version to 4.1

* Remove all the Intellij auto-formatting of README
2020-12-14 15:16:06 +09:00
Vladimir Šor 9f40f193e3
Added Struts2 to the main README. (#1636)
* Added Struts2 to the main README.

* Added Struts2 to the main README.
2020-11-30 09:38:59 +02:00
Trask Stalnaker 0c8d7fe73f
Miscellaneous cleanup (#1805)
* Remove outdated doc

* Remove unnecessary dependencies

* Formatting

* Rename TRACER to tracer

* Move WrappedFuture to top-level class

* Add missing shadow config

* Use simpler type

* Use simpler base class
2020-11-29 21:05:53 -08:00
Nikita Salnikov-Tarnovski 56acd99cfb
Update build status badge (#1782) 2020-11-27 11:50:36 -08:00
Mateusz Rzeszutek 90ecff512a
Muzzle mismatch logs should be warnings in tests (#1754) 2020-11-26 11:21:17 -08:00
Trask Stalnaker 081e142718
Rename grizzly-client instrumentation (#1709)
* Rename grizzly-client instrumentation
2020-11-21 10:51:45 -08:00
Sergei Malafeev 4b3bbf6612
add baggage propagator to default propagators (#1545) 2020-11-20 09:56:01 -08:00
Anuraag Agrawal 7bfb6b6dbd
Update to SDK 0.11.0 (#1690) 2020-11-19 19:37:49 -08:00
Trask Stalnaker e092e87d6b
Remove disabled by default servlet instrumentation (#1684) 2020-11-19 11:22:02 -08:00
Sergei Malafeev da9502ce84
add b3multi propagator (#1647)
* revert support for b3_single and b3 (multi) propagator

Signed-off-by: Sergei Malafeev <sergei@malafeev.org>

* add b3multi, default for b3 is single

Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-11-18 09:47:43 +02:00
Nikita Salnikov-Tarnovski f0a4049b52
Add support for Reactor Netty's HttpClient (#1601)
* Add support for Reactor Netty's HttpClient

* Format

* Update instrumentation/reactor-netty-0.9/src/main/java/io/opentelemetry/javaagent/instrumentation/reactor_netty/ReactorHttpClientInstrumentation.java

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

* Convert to InstrumentationModule

* Cleanup

* Rename module

* Polish

* Format

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2020-11-16 12:07:51 +02: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
David Denton d4d5cf8ad4
Add http4k to list of supported libraries (#1605)
* Add http4k to list of supported libraries

* Update with suggestions for link/note
2020-11-11 08:26:08 +02:00
TeeVenDick 6acce7c6df
Fix README.md link (#1590) 2020-11-09 15:04:08 +02:00
snyder114 f4448b56ee
Update README.md (#1568)
* Update README.md

Basic formatting and wording enhancements for readability and accessibility.

* Update README.md

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

* Run ./gradlew spotlessApply

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-11-08 17:35:07 +09:00
Anuraag Agrawal c6eee70660
Update to latest snapshot. (#1524) 2020-10-29 18:54:09 -07:00
dengliming 05830654d3
Update README.md (#1445) 2020-10-22 10:10:41 +03:00
Trask Stalnaker 6a4d3fca58
Update exporter property names to reflect 0.9.0 release (#1399) 2020-10-16 10:52:59 -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
Trask Stalnaker 515fd58bc1
Update to Java 8 and remove duplicate info (#1341) 2020-10-07 21:49:43 +03:00
Steve Flanders 17d0519235
Update README (#1340)
* Update README

- Add a fancy header
- Add contributing information

* Fix badges

* Fix badges

* Make contributors alphabetic
2020-10-07 19:11:44 +03:00
Nikita Salnikov-Tarnovski a654262f33
Exclude just released and supported Lettuce 6 (#1308) 2020-10-02 16:17:16 +03:00
Trask Stalnaker 378843f673
Limit twilio muzzle range (#1280) 2020-09-28 21:41:27 -07:00
Pavol Loffay a2fac7fdc1
Support multiple exporters via OTLP_EXPORTER config (#1242)
* Support multiple exporters via OTLP_EXPORTER config

Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-23 15:17:52 -07:00
Mateusz Rzeszutek d89ce818ef
Implement MDC auto-instrumentation for log4j2 (#1200)
* Implement MDC auto-instrumentation for log4j2

* Implement MDC auto-instrumentation for log4j2 2.7

* Implement MDC auto-instrumentation for log4j2

* Implement MDC auto-instrumentation for log4j2

* Implement MDC auto-instrumentation for log4j2

* Implement MDC auto-instrumentation for log4j1

* Implement MDC auto-instrumentation for log4j2
2020-09-18 17:53:43 +03:00
Anuraag Agrawal 01ec2ad6a7
Add initial baseline instrumentation for AWS lambda runtime. (#1192)
* Add initial baseline instrumentation for AWS lambda runtime.

* narc

* Cleanup

* docs

* Remove sentence which is redundant with every manual instrumentation we provide.
2020-09-14 12:57:51 +09:00
Anuraag Agrawal a1802946fb
Update README for new release (#1188) 2020-09-10 18:56:54 +03:00
Anuraag Agrawal 7202d105ba
Auto instrumentation for logback event wrapping. (#1180) 2020-09-09 14:10:02 +09:00
Trask Stalnaker 7969a83dde
Fix README to reflect current release not snapshot (#1100) 2020-08-26 19:59:55 -07:00
Anuraag Agrawal d636364d39
Remove elasticsearch-transport-2.0 (#1024) 2020-08-17 10:51:28 -07:00
John Bley 969a7c6c51
Add maven/gradle documentation to manual instrumentation instructions. (#1034)
* Add maven/gradle documentation to manual instrumentation instructions.

* Run :spotlessApply on the README

* Also add dependency description about the auto annotation
2020-08-17 18:33:01 +03:00
Trask Stalnaker f893ca540b
Scripted package renaming (#988) 2020-08-15 21:55:01 -07:00
Trask Stalnaker 2c786ab1a1
Fix WithSpan annotation instrumentation (#929) 2020-08-09 21:46:50 -07:00
Anuraag Agrawal e66a50d5b4
Document endpoint peer mapping (#909)
* Document endpoint peer mapping

* Better doc
2020-08-07 10:24:56 +09:00
Trask Stalnaker 227bde87ce
Update README config settings (#830)
* Update README config settings

* Fix Jaeger env var names

* Rename ota prefix to otel

* Add multi-propagator doc

* Include multi-propagator explanation
2020-08-04 16:57:42 +03:00
Trask Stalnaker 2af43dbf26
Rename trace.methods.exclude config (#842) 2020-07-31 12:30:08 -07:00
Austin Parker e61c2cd115
Update README.md (#843) 2020-07-30 15:33:35 -07:00
Trask Stalnaker 4293327c2e
Add propagator config to README (#834) 2020-07-29 11:19:07 -07:00
Trask Stalnaker 6508ffc889
Remove logging instrumentation (#803) 2020-07-27 18:56:25 +03:00
Anuraag Agrawal c3299fac30
Add instrumentation for Armeria (server) (#756)
* Add instrumentation for Armeria (server)

* Spotless

* Use end timestamp too and fix auto test by not using ClassRule

* Reduce number of less useful lambdas and add reference to useful lambda.

* Cleanup

* README

* Move package to v1_0

* No storage
2020-07-27 15:54:07 +09:00
Trask Stalnaker 4cbfef8f68
A couple updates to supported libraries on README (#802) 2020-07-26 22:06:30 -07:00
Trask Stalnaker 5e7a81e7ba
Document OTEL_RESOURCE_ATTRIBUTES (#783) 2020-07-25 13:55:22 +03:00
Trask Stalnaker d84549e351
Trim down a P1 GA requirement and link from README (#773) 2020-07-23 21:11:58 +03:00
Nikita Salnikov-Tarnovski 9b6b5e621f
Remove http server decorator (#701)
* Ratpack migrated from ServerDecorator

* Finatra migrated from ServerDecorator

* Play 2.3 migrated from ServerDecorator

* Play 2.4 migrated from ServerDecorator

* Play 2.6 migrated from ServerDecorator

* Polish

* Polish

* Organize imports

* Relax muzzle checks

* Ratpack version 1.4 is now supported

* Fix muzzle failures on Play
2020-07-17 20:14:19 +03:00
Sergei Malafeev 14b8a8dfab
Document how to specify external exporter jar (#721)
* #713 Document how to specify external exporter jar

Signed-off-by: Sergei Malafeev <sergei@malafeev.org>

* #713 fix format

Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-07-17 16:16:12 +03:00
Trask Stalnaker e58dd71b74
Remove ota.exporter.jar from OTLP config (#710) 2020-07-16 11:04:27 +03:00
Trask Stalnaker c8bac67ee7
Add otel-java version interop warning (#687)
* Add otel-java version interop warning

* Two fixes

* Improvements
2020-07-14 07:55:08 +03:00
Trask Stalnaker 95593c9ddc
Document more config properties from otel-java (#685) 2020-07-14 07:54:12 +03:00
Nikita Salnikov-Tarnovski 285d4b0f0e
Update docs for 0.6.0 release (#682)
* Update docs for 0.6.0 release

* Format
2020-07-13 19:50:53 +03:00
Sergei Malafeev c2ef6ebd2d
Zipkin, Jaeger: use standard exporter configuration from OpenTelemetry Java SDK (#674)
* #531 Zipkin, Jaeger: use standard exporter configuration from OpenTelemetry Java SDK

Signed-off-by: Sergei Malafeev <sergei@malafeev.org>

* #531 remove unused import

Signed-off-by: Sergei Malafeev <sergei@malafeev.org>

* #531 use OkHttpSender for zipkin exporter

Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-07-13 08:38:11 +03:00
Sergei Malafeev acb5712055
#564 #531 OTLP exporetr: use standard exporter configuration from OpenTelemetry Java SDK (#671)
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-07-12 13:42:19 +03:00
Min Kim ce14b394f7
Kubernetes java client instrumenting (#651)
* kubernetes java client support

* addressing review comments
2020-07-10 21:24:39 +03:00
Nikita Salnikov-Tarnovski 763779e08a
Move servlet instrumentations around (#601) 2020-07-08 16:43:36 -07:00
Trask Stalnaker e2a0504bb2
Simplify grizzly instrumentation, Part 1 (#604) 2020-06-30 17:44:11 -07:00
Tyler Benson 4a943c8411 Use Spotless for formatting (DataDog/dd-trace-java#1619) 2020-06-30 11:15:48 -07:00
Trask Stalnaker 2b674dba57
Update Spring Web MVC name in README.md (#607) 2020-06-29 08:21:14 +03:00
Trask Stalnaker 64e39f064d
Simplify getting started (#533) 2020-06-16 11:44:07 -07:00
Nikita Salnikov-Tarnovski 58a2a3b0b4
Update documentation to point to new snapshot and release repositories (#516) 2020-06-15 17:45:37 -07:00
Trask Stalnaker e2338ab4fc
Add discussion locations to top of README (#521)
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-06-15 07:47:44 +03:00
Nikita Salnikov-Tarnovski e61ff5bac2
Rename auto-exporters' artifacts names (#514) 2020-06-14 10:53:51 -07:00
Nikita Salnikov-Tarnovski c11835963f
Vert.x instrumentation improvements (#503)
* Support for Vert.x rx-java async tasks

* Use Vert.x route for server span name

* Move reactive Vert.x instrumentation into separate module

* Test fixes

* Format fixes

* Polish

* Fix license header

* Add Vert.x to README
2020-06-13 23:18:30 +03:00
Anuraag Agrawal 5792ec3ada
Allow specifying a JAR to control OTel SDK SPI. (#449)
* Allow specifying a JAR to control OTel SDK SPI.

* Update README.md

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-06-08 19:33:27 +03:00
Trask Stalnaker dff7907666
Add roadmap (#468) 2020-06-03 11:20:54 -07:00
jeffalder 15ef21f40d
Minor typo fix (#467) 2020-06-01 12:26:40 -07:00
Trask Stalnaker 359eb07445
Updates to reflect new repo name (#454) 2020-05-30 11:56:12 -07:00
Sergei Malafeev 7ea2da3d0b
Add Zipkin exporter support (#411)
* #375 Add Zipkin exporter support

Signed-off-by: Sergei Malafeev <sergeymalafeev@gmail.com>

* #375 use OkHttpSender for Zipkin exporter

Signed-off-by: Sergei Malafeev <sergeymalafeev@gmail.com>

* #375 add Zipkin exporter to README

Signed-off-by: Sergei Malafeev <sergeymalafeev@gmail.com>

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-05-19 15:58:41 -07:00
Steve Flanders abcaa7acc6
Update the README (#414)
* Move build and configure to top as getting started section
* Add manual instrumentation section
* Document `@WithSpan` annotation
* Move developer specific information to CONTRIBUTING.md
* Cleanup formatting and use consistent spacing
2020-05-18 21:03:39 -07:00
Nikita Salnikov-Tarnovski fe8819fb8f
Support for khttp library (#401) 2020-05-17 10:41:41 -07:00
Nikita Salnikov-Tarnovski 6d0d3f54ce
Enable the following instrumentation by default: grizzly, jetty, spark-java (#407) 2020-05-17 10:19:35 -07:00
Trask Stalnaker f964725d96
Add troubleshooting section to README (#382) 2020-05-05 19:19:04 -07:00
Trask Stalnaker 6d1a58d151 Merge tag 'v0.50.0' into correct-history 2020-05-05 12:41:08 -07:00
Trask Stalnaker 212b80d877
Update supported Ratpack version in README (#364) 2020-04-29 16:35:59 -07:00
Andrew Hsu cc3f39b6b2
added instructions for getting snapshot builds (#330) 2020-04-16 20:15:16 -07:00
Trask Stalnaker 2b500788f4
A few README updates (#292)
* A few README updates

* Add OTLP exporter to README
2020-03-29 21:23:14 -07:00
Trask Stalnaker f885f3f645
A few exporter improvements (#288) 2020-03-29 08:13:20 -07:00
Trask Stalnaker b60c161015
Add instrumented libraries/frameworks to README (#284) 2020-03-28 15:52:41 -07:00
Fabien POMEROL f1202daa60
Replace wrong ota.jaeger.service by ota.service in documentation (#187) 2020-02-26 09:04:33 -08:00
Pontus Rydin 239eb53a44
Removed statically loaded exporters and added more tests (#171)
* Classloader done. Still needs shading

* First working version

* Made the dummy exporter slightly less stupid

* Use SPI pattern for loading. Added runtime shader

* Changed to do shading on binary stream instead of loading the class first

* Protected the runtime shader from having its internals shaded

* Cleaned up code and naming

* Cleaned up

* Cleaned up and fixed test issues

* Minor fixes from code review

* Added exporter smoke tests

* Finalized exporter smoke tests

* Reenabled springboot test

* Fixed some copy-paste issues

* Initial work on exporter bridges

* Implemented dynamically loaded exporter adapters

* Added some more files

* Added exporter-adapters for well-known exporters

Moved dummy-exporter to exporter adapters

Removed -Dota.exporter option in favor of ota.exporter.jar

Added basic exporter tests to smoketest

Increased timeout for Finatra server start to help with parallel test execution

* Cleaned up tests, removed dead code and updated README

* Update README.md

* Update README.md

* Removed references to gRPC dependencies needed by Jaeger

* Fixed incorrect use of ServiceLoader in test

* Fixed test dependencies

* Adjusted exporter tests

* Fixed codeNarc issues

* Fixed CircleCI issues

* Added tests to check what CircleCI is doing

* Added missing logging directory

* Removed deadline() from Jaeger factory

* Another attempt to make it pass CircleCI

* Fixed some minor codeNarc issues

* Wrapped test config in doFirst

* Change forEach -> each

* Removed README section about commercial exporters

* Reduced number of changes to Config

* Fixed field reordering issue

* Removed references to dummy exporter

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-02-21 15:12:48 -08:00
Trask Stalnaker f75eb3be33
Update README (#138) 2020-02-06 16:16:33 -08:00
Pontus Rydin 49e6309cf9
Experimental Jaeger integration (#115)
* Added simple exporter

* Updated config prefix
2020-02-01 12:22:25 -08:00
Trask Stalnaker 5820452c51
Update README.md (#18) 2019-11-19 09:46:40 -08:00
Andrew Kent 64fbaba3fe Remove documentation from readme and point to official docs 2018-01-31 16:31:25 -08:00
Tyler Benson fa3fb6e883
Merge pull request #197 from DataDog/tyler/docs
Fix some docs.
2018-01-22 15:50:15 -05:00
Andrew Kent 28a674ec11 Remove sampling from config and add prioritySampling config 2018-01-22 11:35:36 -08:00
Tyler Benson d9384b1685 Fix some docs. 2018-01-22 14:08:02 -05:00
Tyler Benson b2b61e0c8c Changes required for supporting OT 0.31.0
Also updates all the contrib versions that we currently depend on to their 0.31.0 supporting versions.
2018-01-16 09:52:28 -05:00
Tyler Benson 6d3d88987b Rename dd-trace-annotations to dd-trace-api
And move DDTags over to it.
Move some `datadog.trace.api` classes over to `datadog.trace.common`.
Other misc renaming.
2018-01-09 10:07:36 +10:00
Tyler Benson becf2a5862 Lots of renaming
Module:
dd-trace -> dd-trace-ot

Packages:
Standardize on `datadog.trace` and `datadog.opentracing` as the package prefixes.
2018-01-09 10:02:06 +10:00
Tyler Benson 4822c19c5d Remove legacy config references. 2017-12-21 16:28:18 -08:00
Andrew Kent f44b50f6d4 Fix maven doc. 2017-11-14 15:02:59 -05:00