Commit Graph

198 Commits

Author SHA1 Message Date
Guillaume Polaert e830e1b7e6 fix the operation name 2017-07-28 09:20:40 +02:00
Guillaume Polaert f20ed93741 formatting 2017-07-28 09:20:40 +02:00
Guillaume Polaert b652c25242 some stuff needed 2017-07-28 09:20:38 +02:00
Guillaume Polaert 864db966f1 Close span when exception exit (#66) 2017-07-27 21:09:25 +02:00
Guillaume Polaert 9d9fdc32d9 Fix wrong date calculation (#69) 2017-07-27 21:08:54 +02:00
Kent Shultz f3e55d2d69 Update documentation (#67) 2017-07-27 21:08:35 +02:00
Guillaume Polaert 4ed46cec39 use millis precision + javadoc 2017-07-27 10:48:35 +02:00
Guillaume Polaert ebb3cde32c centralize all clock methods 2017-07-26 14:45:03 +02:00
Guillaume Polaert e8c980de20 coverage 2017-07-26 12:55:51 +02:00
Guillaume Polaert e5c119b857 formatting 2017-07-26 12:52:09 +02:00
Guillaume Polaert d3260243f5 make thread safe for nanoTime() 2017-07-26 12:47:16 +02:00
Guillaume Polaert 3239680d4a remove useless decorators 2017-07-24 16:31:30 +02:00
Guillaume Polaert 802fe8b65d By default report the db.type instead of the component for jdbc and databases 2017-07-24 16:29:55 +02:00
Guillaume Polaert 7c5fd24a14 Moving decorators config to the dd-trace project + default service name 2017-07-24 13:36:44 +02:00
Tyler Benson 8e4e9fe0ac Clean up version and include git sha in reported number
Exclude lombok from being included in the shadow jar.
2017-07-21 08:52:17 -07:00
Tyler Benson b2347f1170 Report the java vm name as the interpreter 2017-07-20 15:42:16 -07:00
Tyler Benson 8f794f8364 Merge pull request #59 from DataDog/tyler/shadow-artifacts
Fix jar uploading to use shadow jar instead of unbundled jar
2017-07-20 10:11:12 -07:00
Guillaume Polaert 861e0a7cac Format and renaming issues 2017-07-20 10:09:59 -07:00
Tyler Benson 02d8f153a6 Fix jar uploading to use shadow jar instead of default
Rename default jar to be explicit that no dependencies are embedded.
2017-07-20 09:58:22 -07:00
Guillaume Polaert de9c45f5d2 Fixing format 2017-07-20 16:47:05 +02:00
Guillaume Polaert 41ff677f4d Fixing format 2017-07-20 16:45:32 +02:00
Guillaume Polaert f67810e729 Fixing issue with the tracer factory (decorators aren't loaded) 2017-07-20 16:42:41 +02:00
Tyler Benson d6271d866e Use lombok @Slf4j annotation for declaring loggers 2017-07-19 11:24:41 -07:00
Tyler Benson 00c582acc9 use a queue 2017-07-19 08:14:13 -07:00
Tyler Benson 787fd418a4 Add JMH tooling for dd-trace 2017-07-19 08:14:13 -07:00
Tyler Benson 8420855deb Apply some additional inspections and quick-fixs 2017-07-19 08:09:19 -07:00
Tyler Benson e8dbc34bea Apply consistent formatting to other files 2017-07-19 08:09:19 -07:00
Tyler Benson fedde1541b Merge pull request #51 from DataDog/tyler/download-link
Add link to snapshot repo for beta.
2017-07-19 07:20:20 -07:00
Tyler Benson e1696aeee0 Update link that will automatically download the latest version 2017-07-18 15:53:53 -07:00
Matthieu Hauglustaine c568eb7af7 [dependencies] We shouldn't relocate slf4j, and ch.qos.logback is not included anyways. 2017-07-18 19:26:00 +02:00
Tyler Benson f48f2bbc53 Add link to snapshot repo for beta. 2017-07-18 09:21:45 -07:00
Tyler Benson 9868144455 Merge pull request #49 from DataDog/gpolaert/deprecated
Fixing deprecated methods
2017-07-17 12:27:13 -07:00
Tyler Benson b811a33717 Fix formatting 2017-07-17 12:06:13 -07:00
Tyler Benson 05fc670063 Fix concurrency problem with DDSpanContext
Also apply Java 1.8 compatability to async-tracing example.
2017-07-17 11:07:54 -07:00
Guillaume Polaert acaf9e5116 Adding async examples 2017-07-17 14:14:47 +02:00
Guillaume Polaert 78236331eb Fixing deprecated methods 2017-07-17 13:52:27 +02:00
Tyler Benson c61da7f5fc Use ThreadLocalActiveSpanSource instead of DDActiveSpan
This resolves several bugs and allows us to delete unecessary code.
2017-07-13 22:56:00 -07:00
Tyler Benson 2c4480b45a Fix typo 2017-07-13 08:21:09 -07:00
Albert Wang fc43738e81 Update README.md 2017-07-13 13:48:19 +02:00
Albert Wang 7d1035c7eb clarify span/trace docs 2017-07-13 13:46:34 +02:00
Tyler Benson 6c29e2f658 Add more to the opentracing quick start guide 2017-07-12 16:28:10 -07:00
Tyler Benson 232801ab62 Another pass on improving the docs 2017-07-12 14:30:08 -07:00
Tyler Benson 71ab8b2be1 Fix codenarc errors 2017-07-12 07:47:19 -07:00
Tyler Benson 2d89ee0d54 Apply automatic formatting
via `./gradlew googleJavaFormat`
2017-07-12 07:47:19 -07:00
Tyler Benson 840ada4650 Enable uploading to local artifactory. 2017-07-11 17:12:27 -07:00
Tyler Benson 78969ce6f0 Merge pull request #41 from DataDog/tyler/rename-build.gradle
Rename build.gradle scripts to match project name.
2017-07-11 07:27:11 -07:00
Tyler Benson bc1b71d054 Merge pull request #40 from DataDog/tyler/code-coverage
Apply minimum code coverage assertions
2017-07-11 07:26:50 -07:00
Tyler Benson 8d9bdef4b7 Rename build.gradle scripts to match project name.
This will help in finding build scripts inside the IDE.
2017-07-10 16:12:15 -07:00
Tyler Benson b422ec7663 Apply minimum code coverage assertions
Improved the test coverage slightly in the process.
2017-07-10 14:24:11 -07:00
Tyler Benson b5949495d3 Merge pull request #29 from DataDog/gpolaert/documentation
Documentation
2017-07-10 10:36:39 -07:00
Guillaume Polaert b4739fe57d Opentracing API documentation 2017-07-10 15:58:23 +02:00
Tyler Benson dcdf6deb64 Ensure headers are never null
Null tracer version results in the request being rejected by the agent.

Also make the DDSpanBuilderTest.shouldBuildSpanTimestampInNano more reliable.
2017-07-07 16:42:27 -07:00
Tyler Benson 95c7a5ac08 Finish updating gradle and remove maven pom's. 2017-07-06 15:56:32 -07:00
Tyler Benson ca36e9fbc1 Exclude java 9 compiled files from shadow jar. 2017-07-06 12:10:14 -07:00
Tyler Benson e69c9d25dc Allow serviceName, resourceName, and spanType to be set via tags. 2017-07-06 12:05:37 -07:00
Tyler Benson 23b0b7e7db Merge pull request #26 from DataDog/gpolaert/new-shading
New shading
2017-07-05 09:01:18 -07:00
Guillaume Polaert a0b7517b43 WIP - adding gradle string 2017-07-04 16:40:31 +02:00
Guillaume Polaert 5e9cb89692 WIP - refactor config file 2017-07-04 15:53:14 +02:00
Guillaume Polaert 09b4b254b0 WIP - manual initialisation of the tracer 2017-07-04 15:42:07 +02:00
Guillaume Polaert 6655369dfe WIP - adding minimal stuff for DD Java agent 2017-07-04 15:30:47 +02:00
Guillaume Polaert 478e032927 WIP - according the PR comments 2017-07-04 11:18:42 +02:00
Guillaume Polaert 73ab3d36ab Keep sync Maven and Gradle 2017-07-04 10:57:47 +02:00
Guillaume Polaert 399c4cab80 Merge branch 'master' into gpolaert/new-shading 2017-07-04 10:15:51 +02:00
Tyler Benson b521276b08 Add deeper tests for DDApi using ratpack as a mock http server.
See https://danhyun.github.io/2016-gr8confus-testing-ratpack-apps/ for more examples with this style of testing.
2017-07-03 11:40:12 -07:00
Guillaume Polaert 58c9cba624 Documentation 2017-07-03 10:46:33 -07:00
Tyler Benson 07b23249d7 Merge pull request #27 from DataDog/tyler/add-gradle
Add gradle build scripts.
2017-07-03 10:40:05 -07:00
Guillaume Polaert 5a582842ff fix shapping issues and pom refactoring 2017-07-03 10:34:34 -07:00
Guillaume Polaert 6bff68be6d shading all stuff and removing from the scope all libs which can crash the app 2017-07-03 10:34:16 -07:00
Guillaume Polaert 359c0879f0 fix shapping issues and pom refactoring 2017-07-03 10:33:05 -07:00
Guillaume Polaert d3ce6b1a3e shading all stuff and removing from the scope all libs which can crash the app 2017-07-03 10:33:05 -07:00
Guillaume Polaert 78aaed7a4b adding meta support 2017-07-03 17:25:43 +02:00
Tyler Benson 5a6bd2d002 Add gradle build scripts.
Currently has issues with shadow jar due to Java 9 compiled classes inside byteman used by dd-java-agent.
2017-06-30 11:35:57 -07:00
Tyler Benson cee31b4067 Rename packages for consistency 2017-06-27 16:34:32 -04:00
Tyler Benson e77b8dd90a Merge pull request #22 from DataDog/tyler/circle-ci
Add circleci config file
2017-06-27 16:00:27 -04:00
Tyler Benson b9690f9db8 Add circleci config file 2017-06-27 15:54:40 -04:00
Guillaume Polaert 43065257ca Improving test coverage + minor fix 2017-06-26 17:10:48 -04:00
Tyler Benson 79e0d3c027 Add thread name and id to each span as additional tags. 2017-06-22 17:54:43 -04:00
Guillaume Polaert 947b900e23 Add lang meta to the span context 2017-06-20 11:52:24 -04:00
Guillaume Polaert ccb7904ccb [maven-release-plugin] prepare for next development iteration 2017-06-20 10:29:08 -04:00
Guillaume Polaert 40bb03fb96 [maven-release-plugin] prepare release v0.1.1 2017-06-20 10:29:03 -04:00
Guillaume Polaert 634ada7dfa Reshaden some deps to avoid conflicts 2017-06-20 09:15:24 -04:00
Guillaume Polaert 1a0df4c907 [maven-release-plugin] prepare for next development iteration 2017-06-15 17:51:12 +02:00
Guillaume Polaert 003bfa1eb2 [maven-release-plugin] prepare release v0.1.0 2017-06-15 17:51:05 +02:00
Guillaume Polaert 9e6ea73e4c [maven-release-plugin] prepare for next development iteration 2017-06-13 17:28:34 +02:00
Guillaume Polaert fdf4b7af28 [maven-release-plugin] prepare release v0.0.7 2017-06-13 17:28:28 +02:00
renaudboutet a957fc77d8 Restored cross process propagation (BUG) + additional test 2017-06-09 23:13:01 +02:00
renaudboutet 953c32b05c DDActiveSpan made closeable + Improvements & tests of the TracedClient 2017-06-09 22:51:53 +02:00
renaudboutet b12dcb53b4 Loaded new contribution versions + migration of instrumentation rules 2017-06-09 22:19:50 +02:00
renaudboutet b56196dcf2 Merge branch 'dev' into activespans-migration 2017-06-09 19:02:34 +02:00
renaudboutet 1618e4f006 [maven-release-plugin] prepare for next development iteration 2017-06-09 16:20:09 +02:00
renaudboutet 9500b9fe2e [maven-release-plugin] prepare release v0.0.6 2017-06-09 16:19:58 +02:00
renaudboutet dfafb50bbd Hide snakeyaml behind shade 2017-06-08 19:07:19 +02:00
renaudboutet ed2685a0c2 Added unit tests for ActiveSpans + fixes + remove async tests about to get rebuilt 2017-06-08 15:44:01 +02:00
renaudboutet d4925f8494 [maven-release-plugin] prepare for next development iteration 2017-06-07 19:05:01 +02:00
renaudboutet c5dd057312 [maven-release-plugin] prepare release v0.0.5 2017-06-07 19:04:55 +02:00
renaudboutet 4080943234 Migration against OT-0.30.0 2017-06-07 16:58:55 +02:00
renaudboutet 2e0e6de196 Move annotations to a dedicated Jar + change the doc to depend on it 2017-06-07 11:26:48 +02:00
renaudboutet e1b43837bb [maven-release-plugin] prepare for next development iteration 2017-06-06 18:59:37 +02:00
renaudboutet 07fc589595 [maven-release-plugin] prepare release v0.0.4 2017-06-06 18:51:19 +02:00
renaudboutet e48c2b8f63 Prepare release 0.0.4 + move to a global.version unique parameter for all projects 2017-06-06 18:31:21 +02:00