Commit Graph

2155 Commits

Author SHA1 Message Date
Tyler Benson 03bcdc97cc Move awaitGC to common utility package 2019-01-25 10:32:09 -08:00
Nikolay Martynov b3ad700b34
Merge pull request #666 from DataDog/mar-kolya/aws-sdk2
Initial AWS2 SDK instrumentation
2019-01-25 13:01:32 -05:00
Nikolay Martynov a0dee2cd88
Merge pull request #674 from DataDog/mar-kolya/catch-exception-in-servlet-context-getter
Catch exception in servlet context getter.
2019-01-25 12:55:32 -05:00
Nikolay Martynov 4fb94b8368 AWS2 SDK: Remove class loader matcher that is no longer needed 2019-01-25 12:53:00 -05:00
Tyler Benson 58b67071e5
Merge pull request #673 from DataDog/tyler/fix-jmx-script
Makedir before creating file, Fail build if script errors
2019-01-25 09:51:13 -08:00
Nikolay Martynov 6563a711c2
Merge pull request #671 from DataDog/osgi-fix
Improve OSGi class loader instrumentation
2019-01-25 12:48:45 -05:00
Tyler Benson b7509140d0
Merge pull request #668 from DataDog/tyler/upgrade-wlf
Upgrade weak-lock-free to 0.15
2019-01-25 09:29:42 -08:00
Tyler Benson fb1b0dc5b8
Merge pull request #669 from DataDog/revert-663-tyler/test-sets-update
Revert "Update test-sets plugin to 2.1.1"
2019-01-25 09:29:30 -08:00
Nikolay Martynov 4ba0adfab3 Catch exception in servlet context getter.
Request may finish after check has been perform but before context has
been read leading to exception in some implementations.
2019-01-25 12:28:58 -05:00
Tyler Benson 020fe44ea6 Makedir before creating file, Fail build if script errors 2019-01-25 09:27:40 -08:00
Nikolay Martynov 62402a6426 AWS SDK2 instrumentation 2019-01-25 12:02:31 -05:00
Nikolay Martynov 04fbb5085f Improve OSGi class loader instrumentation
It turns out that Eclipse's OSGi implementation has two problems:
* It doesn't respect system properties by default
* It has tricky classloader implementation that loads bootstrap
  classes from the classloader-has-delegation-to-bootstrap check but
  doesn't load bootstrap classes from 'normal' code.

This should address second problem and make Eclipse's OSGi
implementation 'safe' by default.
2019-01-25 08:52:07 -05:00
Tyler Benson 29070caa68
Revert "Update test-sets plugin to 2.1.1" 2019-01-24 17:15:50 -08:00
Nikolay Martynov 76999fc9f9 Improve AWS1.x SDK integration
For AWS11.x SDK make sure that http client span is actually a child of
aws span.
2019-01-24 17:28:03 -05:00
Nikolay Martynov 7b0e3ffd1c netty 4.1: consolidate netty config names 2019-01-24 17:28:03 -05:00
Nikolay Martynov cb1313ea9a netty 4.1: do not modify headers in aws request 2019-01-24 17:28:03 -05:00
Nikolay Martynov 07d10e2374 netty 4.1: improve request uri parsing 2019-01-24 17:28:03 -05:00
Nikolay Martynov 6ab5b121f5 Handle ForkJoinTask in concurrent instrumentation 2019-01-24 17:28:00 -05:00
Tyler Benson 146a16df25 Upgrade weak-lock-free to 0.15 2019-01-24 11:44:28 -08:00
Nikolay Martynov 6471a1a81e Add $ separate to state field name 2019-01-23 22:32:00 -05:00
Nikolay Martynov af15b17f1c Remove unnecessary helper from FutureInstrumentation 2019-01-23 22:31:59 -05:00
Nikolay Martynov e9745e6775 Log active span in test assert 2019-01-23 22:31:59 -05:00
Tyler Benson 63779c7816
Merge pull request #639 from DataDog/tyler/jmxfetch
Embedding existing jmx integrations with git submodule
2019-01-23 15:58:13 -08:00
Tyler Benson 1df20cf52c Upgrade to latest version of jmxfetch
This includes the ability to load config from resources.
2019-01-23 13:29:32 -08:00
Tyler Benson f76002a5d2 Begin 0.23.0 2019-01-23 12:04:52 -08:00
Tyler Benson eaa11dbf30 Version 0.22.0 2019-01-23 11:21:31 -08:00
Tyler Benson 4aa3b6b42d
Merge pull request #664 from DataDog/tyler/shadow-upgrade
Update shadow plugin to 4.0.4
2019-01-23 08:12:44 -08:00
Nikolay Martynov 62998ff006
Merge pull request #655 from DataDog/mar-kolya/new-api-agent-writer
Mar kolya/new api agent writer
2019-01-22 17:12:37 -05:00
Tyler Benson 4b9ad7e072
Merge pull request #663 from DataDog/tyler/test-sets-update
Update test-sets plugin to 2.1.1
2019-01-22 11:16:51 -08:00
Tyler Benson c93d146965 Update shadow plugin to 4.0.4 2019-01-22 11:13:18 -08:00
Tyler Benson 0a89074f60
Merge pull request #653 from marcoferrer/instrument-kt-coroutine-scheduler
Add support for instrumenting kotlin coroutine schedulers
2019-01-22 10:31:32 -08:00
Tyler Benson 7977d34e57 Update test-sets plugin to 2.1.1 2019-01-22 09:12:22 -08:00
Marco Ferrer cd75bbecd1
Update test-with-kotlin.gradle 2019-01-22 11:38:46 -05:00
Tyler Benson 68d93ce969
Merge pull request #640 from DataDog/tyler/event-sampling
Initial support for setting Event Sample Rate via tags
2019-01-22 08:22:46 -08:00
Nikolay Martynov 28e1749c2a
Merge pull request #662 from DataDog/mar-kolya/partial-trace-flush
Add support for partial trace flush
2019-01-22 10:16:43 -05:00
Marco Ferrer 5096ac35b6 address ci errors 2019-01-21 14:12:44 -05:00
Marco Ferrer 7819430620 add mavenCentral to plugin repos 2019-01-21 12:26:46 -05:00
Marco Ferrer d7319cd76d add tests for kt cancellation and channels 2019-01-21 11:59:54 -05:00
Andrew Kent 5f70ebfec5
Merge pull request #657 from DataDog/ark/fix-log-manager-test-race-condition
Play nice with Java's LogManager across all JVMs
2019-01-18 19:50:12 +00:00
Andrew Kent af306f376b Comments explaining jmxfetch delay 2019-01-18 10:56:21 -08:00
Nikolay Martynov 2a7cebc311 Add support for partial trace flush
Add a configuration option and logic to flush purtial traces to the
agent if ongoing trace becomes too large.
2019-01-17 09:09:50 -05:00
Tyler Benson 9a6f10f9a3
Merge pull request #658 from DataDog/tyler/jackson-upgrade
Upgrade jackson to 2.9.8
2019-01-16 15:46:27 -05:00
Andrew Kent 097c557651 Delay jmxfetch init when custom log manager is used by client's app 2019-01-16 12:18:29 -08:00
Tyler Benson a411f7cc5e Upgrade jackson-dataformat-msgpack to 0.8.16 2019-01-16 13:46:20 -05:00
Tyler Benson fe3ebceba9 Add jackson smile dep for old ES tests. 2019-01-16 13:27:04 -05:00
Andrew Kent 4c4b12e1d6 Expand custom logman tests to handle three different logman cases 2019-01-16 10:06:41 -08:00
Andrew Kent 6ffaa9e04f Remove jre logging integration 2019-01-16 08:59:10 -08:00
Andrew Kent 3295739e28 Fix race conditions in custom log manager test
Fix two race conditions in the custom log manager test.

- Remove possibility of false positives by blocking until jmx thread
  sends statsd metrics
- Disable logging in test to avoid deadlock in jmxfetch which can
  occur when the JVM shuts down too quickly
2019-01-16 08:57:59 -08:00
Andrew Kent 75e0862566 Begin 0.22.0 2019-01-15 15:46:22 -08:00
Andrew Kent 0e71b9d15b Version 0.21.1 2019-01-15 15:36:24 -08:00