Commit Graph

4479 Commits

Author SHA1 Message Date
Trask Stalnaker 6142b7a2a4
Fix tracer names to match others (#249) 2020-03-19 14:10:17 -07:00
Trask Stalnaker a8f86d154f
Follow common childOf verification convention (#251) 2020-03-19 14:09:47 -07:00
Trask Stalnaker f35d64941b
Make editorconfig windows friendly (#250) 2020-03-19 14:09:20 -07:00
Trask Stalnaker 18d74daf34
Remove unused code (#252) 2020-03-19 14:08:55 -07:00
Trask Stalnaker 23d0b63836
Add missing package statement (#253) 2020-03-19 14:08:19 -07:00
Trask Stalnaker d4740894d1
Follow static import convention (#254)
* Follow static import convention

* Follow decorator static field name convention
2020-03-19 13:52:20 -07:00
Trask Stalnaker 07c5923f20
Better span names for cassandra (#237) 2020-03-19 10:33:39 -07:00
Trask Stalnaker 56a1227afe
Better span names for kafka (#241) 2020-03-18 15:55:27 -07:00
Trask Stalnaker f88dabedee
Better span names for spring-scheduling (#244) 2020-03-18 15:17:33 -07:00
Laplie Anderson 0678396999 Automatically add assets to release 2020-03-18 17:36:14 -04:00
Tyler Benson 42e3086190
Merge pull request #1319 from DataDog/tyler/fix-array-out-of-bounds
Add check to ensure value isn't empty
2020-03-18 09:52:11 -07:00
John Bley d759f846bb
Rename a temp directory from datadog- to opentelemetry-. (#236) 2020-03-18 09:17:52 -07:00
Tyler Benson 10355d1054
Merge pull request #1322 from DataDog/tyler/ci-pipelines
Change circleci config to version 2.1
2020-03-17 16:23:41 -07:00
John Bley 630afcd7d3
Update thread names (#231)
As threads are visible to users, use 'opentelemetry-' prefix to ensure that it's immediately
obvious that we created the threads when using profilers, thread dumps, etc.

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-03-16 14:12:53 -07:00
Tyler Benson 23f4e057cf
Merge pull request #232 from trask/dd-merge
Merge changes from dd-trace-java 0.46.0
2020-03-16 13:33:15 -07:00
Tyler Benson d45682427b Change circleci config to version 2.1 2020-03-16 12:29:49 -07:00
Tyler Benson 7e6cb44ec6 More fixes 2020-03-16 12:26:36 -07:00
Trask Stalnaker 2298885678 Merge tag 'v0.46.0' into dd-merge 2020-03-16 11:25:27 -07:00
Tyler Benson d86cb51aaa Fix more tests and extract timeout values to constant 2020-03-16 09:10:06 -07:00
Tyler Benson 25464456d3 Add tests for http clients
- dropped request
- non-routable request
- https request

Unfortunately I wasn't able to figure out a clean way to test some of these scenarios without making a remote request.
I was also not able to configure everything consistently, so I had to disable that test for several integrations.
2020-03-13 15:05:16 -07:00
Tyler Benson a7b327e72e Add check to ensure value isn't empty
Otherwise split on an empty string will return an empty array.
2020-03-13 14:56:45 -07:00
Tyler Benson a1fdfa51a6
Merge pull request #1316 from aarya123/hostAndPort
Remove hostname and port from HttpClientDecorator
2020-03-13 11:27:25 -07:00
Tyler Benson 17d2fb287d
Merge pull request #1318 from DataDog/landerson/jms-lib-java7
Fix JMS test library for Java 7
2020-03-13 11:20:04 -07:00
Anubhaw Arya 0069c101b3 oops 2020-03-13 11:06:00 -07:00
Anubhaw Arya 0344cff386 Remove hostname and port from HttpClientDecorator 2020-03-13 10:47:10 -07:00
Laplie Anderson 5ba4a947e5
Merge pull request #1317 from DataDog/landerson/release-plugin-update
Fix release plugin auth with new version
2020-03-13 13:12:55 -04:00
Laplie Anderson 9868c230cf Fix JMS test library for Java 7 2020-03-13 13:10:47 -04:00
Laplie Anderson 7805f844f4
Merge pull request #1315 from DataDog/landerson/threadpoolexecutor-helper
Move ThreadPoolExecutor helper to bootstrap
2020-03-13 12:10:58 -04:00
Laplie Anderson 25bf74c999 Fix release plugin auth with new version 2020-03-13 12:07:12 -04:00
Laplie Anderson 4975e336dd
Merge pull request #1313 from DataDog/landerson/decorate-ot-removal
Replace OT tags with api tags in decorators
2020-03-13 11:08:56 -04:00
Laplie Anderson 4d892a2141
Merge pull request #1314 from DataDog/landerson/jms-jdk11-test
Fix jms tests with JDK11+
2020-03-13 11:08:39 -04:00
Trask Stalnaker cecabe522a
Make tests pass on Windows (#217) 2020-03-12 19:42:21 -07:00
Han Zhang 5b1218cdb8
Update instrumentation to be compliant with HTTP semantic conventions (#227)
* Update HTTP client-side span names

* Add query and fragment to  http.url for HTTP client spans

* Add query and fragment to http.url for HTTP server spans

* Update HTTP server span names to be the matched route or resource

* Use net.peer.* instead of peer.* attributes
2020-03-12 18:49:52 -07:00
Tyler Benson f5c5e57020
Proof of Concept of "Typed Spans" (#195)
Primary goal is to maintain a simple and semantic interface for the code using it. See `HttpClientTracerDemonstration` for example usage.

* Add additional startSpan methods and restructure to allow tracer.extract at build time.

* Move classes into a different package structure to enable less visibility.

And move setter method to tracer.

* Add deprecation warnings to unused end methods
2020-03-12 18:33:49 -07:00
Laplie Anderson 7cd76ed68b Move ThreadPoolExecutor helper to bootstrap 2020-03-12 18:20:03 -04:00
Laplie Anderson 994dc89672 Fix jms tests with JDK11+ 2020-03-12 17:59:57 -04:00
John Bley 1e1f3b57bb
Fix open-telemetry/opentelemetry-auto-instr-java#226 (#228) 2020-03-12 14:00:05 -07:00
Laplie Anderson 68f279f8fd Replace OT tags with api tags 2020-03-12 16:49:03 -04:00
Brian Devins-Suresh 3575e7b41c
Merge pull request #1312 from DataDog/devinsba/spring-ignores
Rework test logic for ignores. Add spring proxy to global ignore list
2020-03-12 16:46:06 -04:00
Brian Devins-Suresh a3fbcd6192 They need to fix the suggestions workflow... 2020-03-12 14:47:47 -04:00
Brian Devins-Suresh 9fe9be3f7c
Apply suggestions from code review
Co-Authored-By: Laplie Anderson <randomanderson@users.noreply.github.com>
2020-03-12 14:43:13 -04:00
Brian Devins-Suresh 98f58dbea9 Rework test logic for ignores. Add spring proxy to global ignore list 2020-03-12 14:33:02 -04:00
Laplie Anderson 7df5cfe3e3
Merge pull request #1311 from DataDog/landerson/helpers-to-bootstrap
Move common helper classes to bootstrap
2020-03-12 13:50:57 -04:00
Tyler Benson 060c05671e
Merge pull request #1160 from DataDog/tyler/stacktrace
Add config to capture stacktrace when a span duration exceeds threshold
2020-03-12 10:45:20 -07:00
Laplie Anderson 6411ee358f Remove Http*Decorators from method signatures in tests 2020-03-12 13:13:17 -04:00
Laplie Anderson 8332e177c2 Move decorator tests to bootstrap 2020-03-11 18:41:29 -04:00
Laplie Anderson 6cd530a541 Move decorators to bootstrap 2020-03-11 18:41:29 -04:00
Laplie Anderson 97b0e7a21f Move concurrent helpers to bootstrap 2020-03-11 18:37:03 -04:00
Laplie Anderson 0d6328a76e Add toString() for bootstrap placeholder 2020-03-11 18:37:03 -04:00
Tyler Benson e4ca33d487
Merge pull request #1307 from DataDog/tyler/onmethodexit
Improve consistency of `@Advice.OnMethodExit` params
2020-03-11 15:29:58 -07:00