Commit Graph

5485 Commits

Author SHA1 Message Date
Anuraag Agrawal 2fe89587e2
Revert "Release build can rely on master build checks instead of testing again. (#1792)" (#1846)
This reverts commit 6d046bf52a.
2020-12-08 13:44:25 +09:00
Nikita Salnikov-Tarnovski 6281583770
Fix smoke tests to use new images (#1845) 2020-12-07 16:21:22 +02:00
Nikita Salnikov-Tarnovski 04217319ad
Let smoke test use non-default servlet context (#1844) 2020-12-07 14:39:23 +02:00
Anuraag Agrawal 3b8827b8ab
Update to SDK 0.12.0 (#1830)
* Update to SDK 0.12.0

* Update error message to the current world.

* Bump referenced smoke test versions

* fixes

* dependency hell

* Suppress unused call

* Bump missed smoke tests

* Bump image, bump smoke tests gRPC version
2020-12-07 17:16:47 +09:00
Anuraag Agrawal c5a257619a
Make sure AWS SDK spans suppress client spans all the time. (#1837)
* Make sure AWS SDK spans suppress client spans all the time.

* Make more consistent with other instrumentation

* Update instrumentation/netty/netty-4.1/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/netty/v4_1/client/NettyHttpClientTracer.java

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

* more dragons

* Grammar

* README

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-12-07 17:10:43 +09:00
Anuraag Agrawal 7199595730
Switch gRPC instrumentation to instrument public ServerBuilder class. (#1839)
* Switch gRPC instrumentation to instrument public ServerBuilder class.

* A bit more readability (hopefully)

* hack

* Remove library dedupe for now since we need a better story.
2020-12-07 16:24:10 +09:00
Trask Stalnaker 4cbfb361e1
Use Context more in DatabaseClientTracer (#1836) 2020-12-07 09:15:15 +02:00
Trask Stalnaker 1ca562ca9c
Make twilio instrumentation consistent with others (#1835) 2020-12-07 08:42:19 +02:00
Anuraag Agrawal b2f2c96904
Bump gRPC version in smoke test (#1838) 2020-12-07 11:34:46 +09:00
Mateusz Rzeszutek f520c2cd33
Remove deprecated SpanWithScope class (#1834) 2020-12-05 09:48:28 -08:00
Nikita Salnikov-Tarnovski ef02da9090
Bootstrap prefix fix (#1833)
* Proper classloading test for WildFly and GlassFish

* Fix using BootstrapPackagePrefixesHolder

* Polish

* Format
2020-12-05 10:41:00 +02:00
Trask Stalnaker fe16a93b8a
Update exporter module names to match sdk repo (#1828) 2020-12-04 16:47:36 +02:00
Anuraag Agrawal 32cfc26cfc
Bump smoke tests to SDK 0.12.0 (#1832) 2020-12-04 22:02:27 +09:00
Trask Stalnaker fa09451aea
Prefix custom attributes with instrumentation name (#1784) 2020-12-03 20:56:31 -08:00
Anuraag Agrawal f9df981b2e
Switch publishing release target to sonatype. (#1823)
* Switch publishing targets to sonatype.

* Continue with jfrog

* typo
2020-12-04 12:41:01 +09:00
Trask Stalnaker 6154538d08
Fix matrix smoke test package name (#1827) 2020-12-03 17:24:57 -08:00
Trask Stalnaker 65f54e450b
Use Context more in HttpClientTracer (#1811)
* Use Context more in HttpClientTracer

* Better http-url-connection response object

* Follow database semantic conv for elasticsearch-rest

* Remove unnecessary CallDepth tracking
2020-12-03 11:47:08 -08:00
Nikita Salnikov-Tarnovski 54e3df3cd4
Add jsp to test matrix application (#1825)
* Add jsp to test matrix application

* Trying to fix sudden muzzle failure
2020-12-03 19:40:31 +02:00
Mateusz Rzeszutek fff6eb7004
Add HTTP attributes support for AWS lambda function wrapper (#1780) 2020-12-03 18:20:04 +02:00
Nikita Salnikov-Tarnovski 71f1a79100
Introduce test matrix (#1821)
* Introduce test matrix and proper WildFly test

* Restore test to old version until matrix is merged

* Add workflow to publish test matrix

* Satisfy checkstyle

* Polish

* Use docker build args instead of replacing tokens
2020-12-03 12:34:45 +02:00
Anuraag Agrawal 6d046bf52a
Release build can rely on master build checks instead of testing again. (#1792) 2020-12-02 13:57:21 +09:00
Nikita Salnikov-Tarnovski 41fc96d1a6
Test span context propagation (#1808) 2020-12-02 13:56:44 +09:00
Trask Stalnaker a04a0586a5
Fix mongo-common testLatestDeps (#1818) 2020-12-01 20:18:17 -08:00
Trask Stalnaker a2770c311e
Don't use ConfigUtils outside of AgentTestRunner tests (#1796)
* NetPeerUtilsTest

* RedisCommandNormalizerTest

* InstrumentationModuleTest

* HttpClientTracerTest

* Normalize test config properties

* Create ConfigBuilder in instrumentation-api

* Keep config properties compatible with SDK
2020-12-01 16:52:08 -08:00
Mateusz Rzeszutek 3c1a09109f
Use sdk-extensions/resources in the agent (#1809)
* Use sdk-extensions/resources in the agent

* Add smoke test, fix dropwizard test
2020-12-01 16:03:51 -08:00
Trask Stalnaker 0bd85d7b7f
Pass around context more instead of span (HttpServerTracer) (#1810) 2020-12-01 14:49:01 -08:00
Trask Stalnaker 01b4345742
Move MongoClientTracerTest to same module as MongoClientTracer (#1804)
* Move MongoClientTracerTest to mongo-common

* Remove multi-version support

* Use library dependency
2020-12-01 14:45:45 -08:00
Trask Stalnaker c07da390c0
Update WithSpan instrumentation to prevent multiple SERVER and CLIENT spans (#1801)
* Make WithSpan instrumentation SERVER aware

* Also CLIENT aware

* Spotless

* Don't put invalid span into scope

* Return Context from startSpan
2020-12-01 08:05:34 +02:00
Nikita Salnikov-Tarnovski 483d477e67
Fix port used for self-call (#1807) 2020-11-30 16:21:39 +02: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 ca76c80820
Hardcode expected values in tests (#1803)
* DEFAULT_SPAN_NAME

* TEMP_DESTINATION_NAME

* LoggingContextConstants

* Remove unnecessary dependencies

* Hardcode expected normalized queries in tests

* Spotless
2020-11-30 09:16:59 +02:00
Anuraag Agrawal 3475cbd77d
Migrate test docker images to GHCR. (#1790) 2020-11-30 09:15:42 +02:00
Trask Stalnaker e92bdb46f8
Don't dynamically change config mid-Kafka test (#1797)
* Don't dynamically change config mid-Kafka test

* Codenarc

* Spotless
2020-11-30 09:14:11 +02:00
Trask Stalnaker 573cd0b4e9
Propagate context even when no span (#1802)
* Propagate context even when no span

* Don't propagate root context
2020-11-30 08:26:50 +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
Trask Stalnaker a3d11c0262
Rename auto annotations to ext annotations (#1799) 2020-11-29 21:04:55 -08:00
Trask Stalnaker 61d0af0bd5
Format scala files (#1800) 2020-11-29 21:04:34 -08:00
Trask Stalnaker 26f254b10d
Create javaagent dirs for all instrumentations, part 2 (#1794) 2020-11-28 22:26:49 -08:00
Trask Stalnaker 41bd489a77
Format groovy files (#1793) 2020-11-28 21:22:14 -08:00
Trask Stalnaker 5f263644da
Create javaagent dirs for all instrumentations (#1668)
* Create javaagent dirs for all instrumentation

* Add note about kotlin coroutine library instrumentation

* Feedback
2020-11-28 21:04:16 -08:00
Trask Stalnaker f2bb2f3e30
Split out methods and opentelemetry-annotations modules (#1787) 2020-11-28 12:25:09 -08:00
Trask Stalnaker 2b2ffa87ed
Rename defaultEnabled property to default-enabled (#1788) 2020-11-28 10:50:59 -08:00
Trask Stalnaker 083651acef
Update more config property names (#1786) 2020-11-28 10:50:51 -08:00
Trask Stalnaker b683c2ff05
Convert the last two decorators to tracers and delete BaseDecorator (#1785) 2020-11-28 10:50:41 -08:00
Trask Stalnaker 66b4088450
Remove servlet.context span attribute (#1783) 2020-11-28 10:50:26 -08:00
Anuraag Agrawal cc07597ef4
Configure maven-publish for uploading to bintray instead of bintray p… (#1789)
* Configure maven-publish for uploading to bintray instead of bintray plugin.

* Snapshots too
2020-11-28 17:23:02 +09:00
Anuraag Agrawal f9671e70af
Sign artifacts in build instead of in bintray. (#1778) 2020-11-28 15:39:52 +09:00
Nikita Salnikov-Tarnovski 2222905aa2
Preparation for e2e propagators test (#1781) 2020-11-27 21:57:21 +02:00
Nikita Salnikov-Tarnovski 56acd99cfb
Update build status badge (#1782) 2020-11-27 11:50:36 -08:00
Jakub Wach 2689653ee7
open AWS lambda wrapper for extensions (#1777) 2020-11-27 11:12:52 +09:00