Commit Graph

5312 Commits

Author SHA1 Message Date
Trask Stalnaker e2264222ce
HTTP client instrumentation cleanup, part 0 (#1893) 2020-12-14 16:34:06 -08:00
jason plumb c800c0dc87
Document advice class name hard coding (#1881) 2020-12-14 13:14:57 -08:00
jason plumb 67371ecfc9
Fix import for @WithSpan in docs. (#1900) 2020-12-14 13:03:53 -08:00
jason plumb 4c8b8a77fb
Add exporter factory for JaegerThriftSpanExporter (#1868)
* add exporter factory for JaegerThriftSpanExporter

* add smoke test
2020-12-14 13:02:51 -08:00
Pavol Loffay 16bd639d31
Remove unused fetch JMX classloader (#1901)
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2020-12-14 13:01:51 -08:00
Trask Stalnaker 0200081007
Use new SemanticAttribute constants (#1896)
* Use new SemanticAttribute constants

* Spotless
2020-12-14 18:16:33 +09:00
Trask Stalnaker 8bcd5f1229
Simplify Apache HttpAsyncClient instrumentation (#1894)
* Simplify Apache HttpAsyncClient instrumentation

* Bump baseline version to 4.1

* Remove all the Intellij auto-formatting of README
2020-12-14 15:16:06 +09:00
Anuraag Agrawal c741eaa501
Shade trace propagators so they can be injected in instrumentation th… (#1892)
* Shade trace propagators so they can be injected in instrumentation that benefits from a hard-coded propagation format

* Runtime shade too
2020-12-14 07:52:21 +02:00
Trask Stalnaker 61825a2cb4
Hide non-spec span attributes behind flag (#1895) 2020-12-14 07:50:54 +02:00
Anuraag Agrawal af936759ed
Change link to snapshots to sonatype. (#1884) 2020-12-11 16:30:51 +09:00
Anuraag Agrawal ef5c1e4230
Add closeAndReleaseAutomatically to workflow (#1883) 2020-12-11 08:48:27 +02:00
Anuraag Agrawal 993c5808e2
Ignore Implementation-Version for runtime up-to-date checks like tests. (#1879) 2020-12-10 19:02:13 +09:00
Nikita Salnikov-Tarnovski c0f9daf0bb
Fix test for latest version of AWS SDK (#1878) 2020-12-10 10:36:42 +02:00
Anuraag Agrawal 1f25259f47
Manually inject AWS SDK helpers since they are refrenced from resource file, not code. (#1876) 2020-12-10 17:36:24 +09:00
Nikita Salnikov-Tarnovski 9556992cbc
Update vendor distro example to 0.12 (#1875) 2020-12-10 10:25:33 +02:00
Anuraag Agrawal a2842dc4dc
Tweak publishing settings (#1877) 2020-12-10 17:06:52 +09:00
Nikita Salnikov-Tarnovski 8976e921d0
Separate nightly build from CI build on main branch (#1860) 2020-12-10 09:36:26 +09:00
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