Pavol Loffay
d197748bd9
Add package prefix to classloader ignore matcher ( #1813 )
...
* Add package prefix to classloader ignore matcher
OTEL agent already ignores other agent's classes by package prefix.
However agets also use non-shaded classes (usually present in agent classloader),
these classes are not excluded by package prefix and have to be excluded
by classloader. One example is Okhttp client used by DataDog agent.
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* fix review comments
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix checkstyle
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2020-12-09 23:12:20 +02:00
Pavol Loffay
4e52b3e741
Add newrelic and datadog package prefixes to global ignore matcher ( #1812 )
...
* Add nerelic and datadog package prefixes to global ignore matcher
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* add dot
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Scope down newrelic agent
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2020-12-09 21:07:38 +02:00
Lauri Tulmin
f062ee4ce2
fix liberty docker images ( #1853 )
2020-12-09 10:59:04 +02:00
Anuraag Agrawal
5f942d874e
Actually set POM description. ( #1861 )
2020-12-09 17:35:42 +09:00
dependabot[bot]
f70eaf1896
Bump burrunan/gradle-cache-action from v1.5 to v1.6 ( #1859 )
...
Bumps [burrunan/gradle-cache-action](https://github.com/burrunan/gradle-cache-action ) from v1.5 to v1.6.
- [Release notes](https://github.com/burrunan/gradle-cache-action/releases )
- [Changelog](https://github.com/burrunan/gradle-cache-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/burrunan/gradle-cache-action/compare/v1.5...feb985ecf49f57f54f31920821a50d0394faf122 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-09 09:59:30 +02:00
Anuraag Agrawal
d7183ebbdc
Add a simple description to POM. ( #1857 )
...
* Add a simple description to POM.
* Update build.gradle
2020-12-09 14:08:57 +09:00
Anuraag Agrawal
78f1899735
Create nexus staging repo in beginning of build instead of relying on auto routing. ( #1854 )
2020-12-09 10:11:24 +09:00
Mateusz Rzeszutek
49830c33a4
Support faas.id & cloud.account.id attributes in AWS Lambda ( #1831 )
...
* Support faas.id & cloud.account.id attributes in AWS Lambda
* Cache accountId
* Cache accountId
2020-12-08 14:06:56 +01:00
Mateusz Rzeszutek
8de86ed06e
Fix jetty muzzle task ( #1849 )
2020-12-08 20:02:59 +09:00
Anuraag Agrawal
e1fd1ff56c
Mount sonatype secrets in workflows. ( #1847 )
2020-12-07 22:13:48 -08:00
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