Commit Graph

5066 Commits

Author SHA1 Message Date
Anuraag Agrawal 5bba5d8482
Update to latest snapshot (#1331)
* Update to latest snapshot

* Update to latest snapshot

* instrumentation-api

* spotless
2020-10-06 17:47:41 +09:00
Nikita Salnikov-Tarnovski aa79224f32
Ported JMS 1.x tests to testcontainers (#1327)
* Ported JMS 1.x tests to testcontainers

* Polish

* Debug

* Fix test

* spotless

* Remove otel.trace.classes.exclude properties

* codenarc

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-10-06 09:05:51 +03:00
Nikita Salnikov-Tarnovski 8510744f20
Run muzzle during PR (#1324)
* Run muzzle as GitHub Action

* Parallelize muzzle

* Parallelize muzzle

* Parallelize muzzle

* Parallelize muzzle

* Parallelize muzzle

* No cache for muzzle

* Polish

* Let's try without cache

* Restore cache
2020-10-06 07:43:15 +03: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
Anuraag Agrawal f2194a928c
Update to latest snapshot. (#1304) 2020-10-04 19:41:10 -07:00
Pavol Loffay 57ead9532a
Fix typos in servlet docs (#1302)
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-10-02 17:31:15 +03:00
Nikita Salnikov-Tarnovski a654262f33
Exclude just released and supported Lettuce 6 (#1308) 2020-10-02 16:17:16 +03:00
Nikita Salnikov-Tarnovski 86961d496a
Compile error workaround (#1305)
* Compile error workaround

* Better workaround
2020-10-02 13:36:16 +03:00
Nikita Salnikov-Tarnovski 88707c3bb0
Review DB semantic conventions (#1284) 2020-10-01 11:17:09 -07:00
Trask Stalnaker c8c8eb8c0b
Update debugging doc (#1296) 2020-10-01 11:13:31 -07:00
Mateusz Rzeszutek c7fc26188d
Remove instrumentation (and tooling) specific properties from Config (#1286) 2020-09-30 11:27:06 -07:00
Trask Stalnaker 4ceca3e56d
Add new approver (#1289) 2020-09-30 11:00:35 -07:00
Anuraag Agrawal 210c669643
Remove AgentSpecification (#1291) 2020-09-30 17:34:29 +09:00
Mateusz Rzeszutek 08f34d00b3
Allow vendor distribution to provide default configuration (#1243) 2020-09-29 15:02:16 -07:00
Pavol Loffay f48579a84f
Add high level Muzzle docs (#1270) 2020-09-29 12:46:08 -07:00
Nikita Salnikov-Tarnovski 7b1b399a29
Convert more decorators to tracers (#1275)
* More decorators to tracers

* Convert more decorators to tracers

* Fixes
2020-09-29 09:41:09 +03:00
Mateusz Rzeszutek 9e591bb01a
Refactoring Config into @AutoValue POJO (#1254) 2020-09-28 22:08:45 -07:00
dependabot[bot] 621be89956
Bump burrunan/gradle-cache-action from v1.4 to v1.5 (#1257)
Bumps [burrunan/gradle-cache-action](https://github.com/burrunan/gradle-cache-action) from v1.4 to v1.5.
- [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.4...03c71a8ba93d670980695505f48f49daf43704a6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-29 07:52:58 +03:00
Trask Stalnaker 378843f673
Limit twilio muzzle range (#1280) 2020-09-28 21:41:27 -07:00
Pavol Loffay 2794d469cf
Fix typo (#1272)
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-28 16:23:37 +09:00
Pavol Loffay 42c9ee53a4
Add debugging docs (#1263) 2020-09-27 12:52:54 -07:00
Pavol Loffay eded2bf625
Use + instead of printf in logging exporter (#1251) 2020-09-27 12:51:36 -07:00
Trask Stalnaker b4837d5b41
Remove unused code (#1267) 2020-09-27 12:51:10 -07:00
Trask Stalnaker 8954f222c0
Update to the latest opentelemetry-java 0.9.0-SNAPSHOT (#1266) 2020-09-26 20:44:28 -07:00
Pavol Loffay 8ed4ef55c8
Support otlp_span and otelp_metric exporter config names (#1253)
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-25 09:14:56 +09:00
Pavol Loffay 91b177165c
Bump Java from 14 to 15 in CI (#1252)
* Bump Java from 14 to 15 in CI

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Review comments

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* adjust comment

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Bump jacoco to 0.8.6

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* maxJavaVersionForTests

Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-24 15:27:33 +03:00
Anuraag Agrawal fc47fd56e5
Add instrumentation of SQS. (#1210)
* Add instrumentation of SQS.

* More play

* Finish

* process instead of weird

* Cleanups

* Update instrumentation/aws-lambda-1.0/auto/src/main/java/io/opentelemetry/instrumentation/auto/awslambda/v1_0/AbstractAwsLambdaInstrumentation.java

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-24 11:53:46 +09:00
Pavol Loffay a2fac7fdc1
Support multiple exporters via OTLP_EXPORTER config (#1242)
* Support multiple exporters via OTLP_EXPORTER config

Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-23 15:17:52 -07:00
Nikita Salnikov-Tarnovski d59a0d3898
Run smoke tests only on java 11 (#1247) 2020-09-23 15:03:40 -07:00
Pavol Loffay 3e00cdb189
Add traceId to logging exporter (#1246)
* Add traceId to logging exporter

Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-23 13:39:26 -07:00
Nikita Salnikov-Tarnovski 85e2db8d35
Convert all remaining database client decorators to tracers (#1236)
* Geode tracer

* Memcache tracer

* Jedis tracer

* Rediscala tracer

* ElasticsearchTransport tracer

* ElasticsearchRest tracer

* Clean up HibernateDecorator

* Couchbase tracer

* Polish
2020-09-23 20:11:30 +03:00
Nikita Salnikov-Tarnovski be293419cd
Fix depenency declaration (#1248) 2020-09-23 09:31:41 -07: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 bb50fe7883
Fix package name in javaagent-tooling tests (#1244)
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-23 15:35:47 +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
Mateusz Rzeszutek 3d030288d2
Muzzle should fail on unimplemented abstract methods (#1193)
* Muzzle should fail on unimplemented abstract methods

* Muzzle should fail on unimplemented abstract methods

* Muzzle should fail on unimplemented abstract methods

* Muzzle should fail on unimplemented abstract methods

* Update javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/muzzle/Reference.java

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

* Muzzle should fail on unimplemented abstract methods

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-23 07:38:58 +03:00
Trask Stalnaker b9bbcd85a9
Update testLatestDeps doc (#1238) 2020-09-23 07:37:05 +03:00
Nikita Salnikov-Tarnovski 5cebfeb247
Update CONTRIBUTING.md (#1235)
Update @jkwatson affiliation
2020-09-22 21:13:20 +03:00
Nikita Salnikov-Tarnovski f76473de92
Fix nightly build failure (#1234) 2020-09-22 11:57:19 +03:00
Mateusz Rzeszutek f76fb756be
Add smoke test for Logback MDC instrumentation (#1227) 2020-09-22 10:37:36 +03:00
Jamal Fanaian 5598544318
Add otel prefix to excluded classes properties (#1231)
The documentation doesn't include the property prefix that is required to use this. The change just adds `otel.` and `OTEL_` prefix to the property table.
2020-09-21 19:53:24 -07:00
Mateusz Rzeszutek c45a8cd432
Add smoke test for Logback MDC instrumentation - Spring Boot app changes (#1228) 2020-09-21 17:51:23 +03:00
Nikita Salnikov-Tarnovski b240cf95e7
Review semantic convention for RPC spans (#1219)
* Review gRPC semantic conventions

* Review RMI semantic conventions

* Muzzle fix

* Update compliance table

* Update compliance table
2020-09-20 12:13:47 +03:00
Mateusz Rzeszutek d89ce818ef
Implement MDC auto-instrumentation for log4j2 (#1200)
* Implement MDC auto-instrumentation for log4j2

* Implement MDC auto-instrumentation for log4j2 2.7

* Implement MDC auto-instrumentation for log4j2

* Implement MDC auto-instrumentation for log4j2

* Implement MDC auto-instrumentation for log4j2

* Implement MDC auto-instrumentation for log4j1

* Implement MDC auto-instrumentation for log4j2
2020-09-18 17:53:43 +03:00
Nikita Salnikov-Tarnovski beb1901f5f
Review semantic convention for Http Client spans (#1214)
* Review semantic convention for Http Client spans

* Polish

* Update instrumentation/google-http-client-1.19/src/test/groovy/AbstractGoogleHttpClientTest.groovy

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-18 17:52:08 +03:00
Jakub Wach e8b54885c4
Enhance AWS DynamoDB instrumentation (#1191) 2020-09-18 10:48:56 +03:00
Mateusz Rzeszutek bc8224f88f
Implement MDC auto-instrumentation for log4j1 (#1211) 2020-09-17 12:07:12 +03:00
Anuraag Agrawal 9635a5e84f
Force flush after finishing lambda function. (#1204)
* Force span flush after lambda invocation.

* Force flush after finishing lambda function.

* bleh

* Better revert

* Accessor

* OpenTelemetrySdkAccess
2020-09-17 14:26:24 +09:00
Mateusz Rzeszutek d95235476e
Logback MDC auto-instrumentation gets muzzled and does not work (#1208)
* Logback MDC auto-instrumentation gets muzzled and does not work

* Update instrumentation/logback/logback-1.0.0/auto/src/main/java/io/opentelemetry/instrumentation/auto/logback/v1_0_0/LoggingEventInstrumentation.java

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

* Logback MDC auto-instrumentation gets muzzled and does not work

Moved UnionMap to internal package

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-16 14:31:47 +03:00