Commit Graph

87 Commits

Author SHA1 Message Date
Anuraag Agrawal 3d21c26632
Update to SDK 0.10.0 (#1564) 2020-11-05 13:17:47 -08:00
Anuraag Agrawal d3b60a5e33
Rename TRACER to tracer() (#1540) 2020-11-02 20:49:51 -08:00
Anuraag Agrawal c6eee70660
Update to latest snapshot. (#1524) 2020-10-29 18:54:09 -07:00
Anuraag Agrawal dfda406fee
Migrates to using a context when span is started (#1525)
* Return Context when starting span to preserve baggage.

Co-authored-by: Marcin Grzejszczak <marcin.grzejszczak@gmail.com>

* Use bridge

Co-authored-by: Marcin Grzejszczak <marcin.grzejszczak@gmail.com>
2020-10-29 13:50:54 +02:00
Trask Stalnaker f046e598c6
Add context root to the front of the route in the span name (#1418)
* Add application root to span name

* Reduce duplicate context lookups

* Use servlet path as route

* Test against jetty instrumentation

* Add JAX-RS context path test

* Fix JAX-RS 1.0 span names
2020-10-27 14:21:10 -07: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
Trask Stalnaker 9e37231662
Remove MoreAttributes (#1417) 2020-10-19 14:38:26 +09:00
Trask Stalnaker 57301e3fe7
Rename "integration" to "instrumentation" (#1412)
* Rename integration to instrumentation

* Revert doc changes, need to wait for release

* spotless
2020-10-19 14:36:30 +09:00
Trask Stalnaker 7ecc9bb37b
Rename "auto" to "javaagent" in modules (#1370) 2020-10-13 12:32:13 -07:00
Trask Stalnaker 1b51d4a6b1
Rename packages (#1367) 2020-10-11 13:54:35 -07:00
Ioannis Mavroukakis f2de47a150
SpanAssert method names should reflect underlying Span method names (#1307) 2020-10-05 16:04:08 +09:00
Anuraag Agrawal dadaac9a8c
Use 2-line license header to match SDK repo (#1321)
* Use 2-line license header to match SDK repo

* Apply change
2020-10-05 14:29:56 +09:00
Nikita Salnikov-Tarnovski e74ffe2e52
Remove support for java7 from buildscripts (#1229)
* Remove support for java7 from buildscripts

* Remove support for java7 from buildscripts
2020-09-23 15:40:21 +03:00
Pavol Loffay 22e2bdd34c
Fix typo in readme (#1240)
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-23 15:28:29 +03:00
Nikita Salnikov-Tarnovski 7e41b516ee
Review semantic convention for Http Server spans (#1207)
* Review semantic convention for Http Server spans

* Polish
2020-09-16 09:52:11 +03:00
Anuraag Agrawal 912a159c19
Update to latest SDK snapshot. (#1202) 2020-09-15 17:49:10 +09:00
Nikita Salnikov-Tarnovski fd07525744
Reactor bugs (#1189)
* Demonstrating bugs with Project Reactor and Reactor Netty support

* Intermediate kinda working state

* Seems to work

* Format

* Always use context active during subscription

* Fix muzzle

* Format

* Test fix

* Ignore failing test for now

* Add attribution and links to borrowed code

* Fix hook reset

* Polish

* Revert "Ignore failing test for now"

This reverts commit 1867995a

* Polish

* Fixes #1103
2020-09-15 09:57:03 +09:00
dengliming 037949633f
Update README.md in instrumentation-core (#1126) 2020-08-29 22:05:18 -07:00
Nikita Salnikov-Tarnovski bc98955176
Update to latest otel-java snapshot (#1057)
* Update to latest otel-java snapshot

* Upgrade to working otel-java snapshot

* Update to latest otel-java snapshot

* Update to latest otel-java snapshot
2020-08-26 22:03:28 +03:00
Munir Abdinur d58eca23f8
move instrumentation-core:spring project to instrumentation (#1092) 2020-08-25 15:32:01 +09:00
Munir Abdinur b8c58894b4
update tracer name (#1091) 2020-08-24 21:25:32 +03:00
Munir Abdinur 51a6e8b1e7
Add documentation for spring starters (#1035) 2020-08-21 10:13:14 -07:00
Trask Stalnaker 5d2ae07797
Use startScope() on all HttpClientTracers (#971) 2020-08-18 16:59:30 -07:00
Anuraag Agrawal bbfdbb39c0
Create abstraction for library dependencies for instrumentation. (#977)
* Create abstraction for library dependencies for instrumentation.

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-19 08:57:31 +09:00
Trask Stalnaker d9dca25402
Remove unused javaSubPackage config (#1020) 2020-08-16 21:18:10 -07:00
Trask Stalnaker 5bce79df36
Remove unnecessary getVersion overrides (#1004) 2020-08-16 10:13:35 -07:00
Trask Stalnaker 7159d04b8d
Change groovy import order (#1013)
* Update docs

* Format all groovy code

* Organize imports
2020-08-15 23:19:27 -07:00
Trask Stalnaker 414213f2d1
Remove final from parameters (#1003) 2020-08-15 22:35:51 -07:00
Helen Y bb235a0aa3
Update package name for tracers (#991) 2020-08-14 21:07:18 -07:00
Trask Stalnaker f940b2d2de
Use OpenTelemetry.getTracer() shortcut (#965) 2020-08-14 07:11:06 +03:00
Helen Y 09c597e8e0
Change the rest of decorators to tracers (#922) 2020-08-13 11:55:08 -07:00
Anuraag Agrawal 0eafc28608
Run tests using JUnit5 platform and remove SpockRunner (#770)
* Run tests with JUnit platform

* Matcher

* Restore

* Don't mix JUnit4 with JUunit5 in spring tests

* Separate out tests that need custom class loader.

* Separate out test for a couple classes that need it, try to remove SpockRunner, but Grizzly?

* Remove SpockRunner

* Fix grizzly

* Remove assumeTrue workaround.

* Comments
2020-08-12 11:05:26 +09:00
Munir Abdinur 56e1549378
Add spring webflux documentation (#916)
* add readme and rename springwebflux package

* add readme and rename springwebflux package

* fix bean type

* fix readme

* format

* fix gradle

* fix gradle

* fix gradle

* updated package name

* clean up readme

* Update README.md

* Update instrumentation-core/spring/spring-webflux-5.0/README.md

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

* Update instrumentation-core/spring/spring-webflux-5.0/README.md

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

* format, clean up comments

* clean ups

* Update README.md

* fix conflict

* fix helper class names

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-12 09:27:17 +09:00
Munir Abdinur fe45515536
Add spring webmvc documentation (#915)
* add readme and rename WebMvcFilter

* Update README.md

* format

* clean up readme

* clean up readme

* clean up readme

* Update README.md

* fix web mvc naming

* format, clean up comments

* format, clean up comments
2020-08-11 11:53:18 +09:00
Trask Stalnaker b5fbf90977
Extract instrumentation api module (#884) 2020-08-09 22:52:33 -07:00
Trask Stalnaker 2c786ab1a1
Fix WithSpan annotation instrumentation (#929) 2020-08-09 21:46:50 -07:00
Trask Stalnaker f9f6d1f6b3
Change library shading approach (#930) 2020-08-09 11:16:34 -07:00
Munir Abdinur 1d80e19812
Add @Withspan functionality using spring-aop (#902) 2020-08-07 20:22:30 -07:00
Munir Abdinur bbd63f7485
Add spring web documentation (#914)
* instrumentation-core spring-web-3.1 README first draft

* clean up formatting

* more clean ups

* fix incorrect reference

* Update README.md

* format

* clean up readme

* Update instrumentation-core/spring/spring-web-3.1/README.md

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-08 10:45:00 +09:00
Munir Abdinur 138128e251
Fix instrumentation core artifact names (#885) 2020-08-03 23:12:14 -07:00
Anuraag Agrawal 515fdac34c
Don't mix JUnit4 with JUunit5 in spring tests (#888) 2020-08-04 14:58:08 +09:00
Munir Abdinur 906d80be12
clean up spring dependencies (#878) 2020-08-03 19:07:36 -07:00
Trask Stalnaker 303d8f427f
Add response generic parameter to HttpServerTracer (#870) 2020-08-03 12:52:55 -07:00
Munir Abdinur 49017cf864
Use assertJ in tests (#876) 2020-08-03 12:09:42 -07:00
Munir Abdinur 6a61bc824d
Bug fix for tracer reference in try block (#877) 2020-08-03 12:04:27 -07:00
Trask Stalnaker bb65682798
Simplify Spring Boot starter auto config (#868)
* Simplify Spring Boot starter auto config

* spotless
2020-08-02 10:18:51 +09:00
dengliming d362691100
Use new exporter public constants in spring boot starters (#863) 2020-08-01 10:01:09 -07:00
Munir Abdinur d8ba6e3d51
Tests for spring-boot-autoconfigure (#825) 2020-07-31 11:52:17 -07:00
Frank Spitulski adab0efcd6
feat(tags): http (#827)
flavour, user agent, client ip
2020-07-29 23:57:12 -07:00
Trask Stalnaker d107fe5016
Fix build (#824) 2020-07-28 16:49:46 -07:00