Trask Stalnaker
ce4cef76f9
Clean up groovy assertions ( #4805 )
2021-12-05 23:23:58 -08:00
Trask Stalnaker
ea7588cd15
Update references to master branch ( #4706 )
2021-11-24 13:11:21 -08:00
Nikita Salnikov-Tarnovski
e7b8cca107
Convert TextMapSetters and TextMapGetters to enums ( #4522 )
...
* Convert TextMapSetters to enums
* Convert TextMapGetters to enums
2021-11-08 22:01:40 +02:00
Martin
d314d76fce
rename `newBuilder()` to `builder()` ( #4475 )
...
* rename `newBuilder()` to `builder()`
* rename `newBuilder()` to `builder()`
2021-10-22 20:50:43 -07:00
Martin
62c90512cd
switch annotation `org.checkerframework.checker.nullness.qual.Nullable` to `javax.annotation.Nullable` ( #4418 )
2021-10-19 10:59:18 +03:00
Martin
ac91dc090a
Type annotation placement ( #4406 )
...
* switch annotation `org.checkerframework.checker.nullness.qual.Nullable` to `javax.annotation.Nullable`
* code format
2021-10-17 17:38:43 -07:00
Nikita Salnikov-Tarnovski
699a5adb00
Convert aws lambda integration to Instrumenter ( #4362 )
...
* Convert AwsLambdaMessageTracer to Instrumenter
* Convert AwsLambdaTracer to Instrumenter
* Rename class
* Polish
* Polish
* Move classes to internal package
2021-10-15 12:31:08 -07:00
Anuraag Agrawal
f208ba72b7
Update to OTel 1.7 ( #4340 )
...
* Update to OTel 1.7
* Fix metrics tests
2021-10-11 19:52:50 +09:00
Jakub Wach
727214e1ab
AWS lambda - improvements in custom type handling in wrappers, SQS ev… ( #4254 )
...
* AWS lambda - improvements in custom type handling in wrappers, SQS even wrapper added
* post-review changes
* Update instrumentation/aws-lambda-1.0/library/src/main/java/io/opentelemetry/instrumentation/awslambda/v1_0/LambdaParameters.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation/aws-lambda-1.0/library/src/main/java/io/opentelemetry/instrumentation/awslambda/v1_0/LambdaParameters.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* post-review changes
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-10-08 10:26:32 -07:00
Matthew Ho
6967484a97
Update groovy import order to match default IntelliJ ( #1708 ) ( #4047 )
...
* Update groovy import order to match default IntelliJ (#1708 )
* organized imports for .groovy files to follow default IntelliJ import settings
* updated intellij-setup.md
* Spotless
* drift
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-11 11:53:08 -07:00
Anuraag Agrawal
7634394664
Flush metrics in Lambda wrapper too ( #3748 )
2021-08-02 20:20:33 -07:00
Trask Stalnaker
9e4da754c2
Use consistent logger field name ( #3515 )
2021-07-07 10:47:46 -07:00
Anuraag Agrawal
761b9c280b
Migrate instrumentation gradle files to kotlin ( #3414 )
...
* Migrate instrumentation gradle files to kotlin
* Convert
* Muzzle
2021-06-28 17:27:12 +09:00
Anuraag Agrawal
785dc6adf2
Rename build files to build.gradle ( #3409 )
...
* Rename build files to build.gradle
* Rename smoke-tests
* Fix already broken
2021-06-25 16:10:31 +09:00
Trask Stalnaker
bcb282a220
Conform to google style guide checkstyle ( #3399 )
2021-06-24 10:53:23 +03:00
Anuraag Agrawal
deb0e255cf
Use plugins block everywhere for applying plugins ( #3386 )
...
* Use plugins block everywhere for applying plugins
* Actually it's library instrumentation
2021-06-24 11:13:35 +09:00
Anuraag Agrawal
b7bfbf0cc6
Migrate instrumentation-library / common to plugins ( #3320 )
2021-06-15 11:54:48 -07:00
Trask Stalnaker
62f1f49bcd
Intellij cleanup (Java and Groovy) ( #3285 )
...
* Intellij cleanup
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/code/CodeAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/db/DbAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/db/SqlAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/messaging/MessagingAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation/spring/spring-web-3.1/library/src/test/java/io/opentelemetry/instrumentation/spring/httpclients/RestTemplateInterceptorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Use glassfish version that supports lambdas
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-06-14 10:23:01 -07:00
Trask Stalnaker
dc316609ee
Remove unnecessary final on params and local vars ( #3283 )
...
* Remove unnecessary final on params and local vars
* Fix gwt
* Keep final for non-initialized var
* Keep final for non-initialized var
* Keep final for non-initialized var
2021-06-14 07:13:11 +03:00
Anuraag Agrawal
c3dedbb64e
Enable all errorprone checks ( #3155 )
...
* Enable all errorprone checks
* Fixes
* Finish
* Finish
* Add flag to disable error prone
2021-06-01 17:41:08 +09:00
Anuraag Agrawal
ed88cca533
Migrate from spotbugs to errorprone ( #3122 )
...
* Migrate from spotbugs to errorprone
* Fix hashtable
* try-with-resources
* Fix from merge
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-28 14:23:40 -07:00
Anuraag Agrawal
c358a35414
Use dependency management pattern for dependency versions ( #3113 )
...
* Use dependency management pattern for dependency versions.
* Add groovy bom too
* Update dependencyManagement/dependencyManagement.gradle.kts
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-28 11:32:08 +09:00
Anuraag Agrawal
fe41885ee6
Switch to colon notation for dependencies. ( #2994 )
...
* Switch to colon notation for dependencies.
* Even more cleanup
* Revert mistake
2021-05-15 15:31:06 +09:00
Trask Stalnaker
10db083e77
Update to OTel API/SDK 1.2.0 ( #2945 )
...
* Update to OTel API/SDK 1.2.0
* TCP.IP -> tcp_ip
* Fix smoke tests
2021-05-10 10:14:07 -07:00
Anuraag Agrawal
741074432d
Raise lambda flush timeout to 10 seconds ( #2855 )
2021-04-23 11:22:07 -07:00
Lauri Tulmin
9f8371e77c
Use locale insensitive lower/upper case conversion ( #2838 )
2021-04-22 11:24:13 +09:00
Trask Stalnaker
bd829a6494
Remove duplicate status verification ( #2710 )
2021-04-19 11:41:37 -07:00
Anuraag Agrawal
f3bc02f2e7
Use instance field for wrapped lambda instead of static. ( #2579 )
2021-03-16 18:24:23 +09:00
Mateusz Rzeszutek
3dff44874f
Fix RestTemplateInterceptor so that it calls endExceptionally() on exception ( #2516 )
2021-03-08 09:36:47 -08:00
Mateusz Rzeszutek
72ffb3b7c5
Make BaseTracer fields private ( #2492 )
...
* Make BaseTracer fields private
By making `tracer` private we're forcing all tracer implementation to use the `spanBuilder()` utility method and pass the parent context manually.
2021-03-05 10:54:00 -08:00
Trask Stalnaker
62f2611486
Update instrumentation names ( #2433 )
2021-03-01 19:34:25 -08:00
Anuraag Agrawal
000df967ce
Update to SDK 0.17.0 ( #2338 )
...
* Update to SDK 0.17.0
* Finish
* ottrace
2021-02-19 15:51:55 +09:00
Anuraag Agrawal
cc033a14ae
Inject OpenTelemetrySdk into lambda library instrumentation instead o… ( #2328 )
...
* Inject OpenTelemetrySdk into lambda library instrumentation instead of using global.
* Update javadoc
* Drift
2021-02-19 12:27:51 +09:00
Mateusz Rzeszutek
aa5fef2bfe
Improve library tests' stability ( #2300 )
...
* Improve library tests' stability
* Code review follow-up
2021-02-17 13:22:14 +01:00
Trask Stalnaker
45a81d24b1
Remove afterburner from aws-lambda tests ( #2271 )
2021-02-13 11:16:01 -08:00
Mateusz Rzeszutek
a74f60b3f8
Add JUnit 5 extensions for instrumentation testing ( #2241 )
...
* Add JUnit 5 extensions for instrumentation testing
* Fix kafka tests
* RepeatedTest
2021-02-12 12:57:08 +01:00
Trask Stalnaker
66fe53b028
Remove deps from javaagent ( #2251 )
...
* Remove deps from javaagent
* Also
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-02-12 17:19:47 +09:00
Jakub Wach
8592d79362
aws lambda instrumentation - http headers propagation fix ( #2222 )
...
* aws lambda instrumentation - http headers propagation fix
* documented lambda propagation behaviour
* spotless apply
2021-02-10 12:45:38 +01:00
Anuraag Agrawal
fc410706d0
Update to Sdk 0.16.0 ( #2221 )
...
* Update to 0.16.0-SNAPSHOT
* Finish
* Finish
* Update to 0.16.0
* Finish
2021-02-09 18:00:54 +09:00
Trask Stalnaker
201691b8a1
Fix merge conflict ( #2213 )
2021-02-06 21:12:17 -08:00
Mateusz Rzeszutek
a230258e91
Refactor AWS lambda tracers so that they use Context ( #2194 )
...
... and do not use BaseTracer#startScope(). This PR eliminates all overrides of startScope(), in the next one I'll remove it.
2021-02-06 12:14:02 -08:00
Mateusz Rzeszutek
93b3a3b289
testing-common refactoring: replace direct AgentTestRunner usage with… ( #2134 )
...
* testing-common refactoring: replace direct AgentTestRunner usage with spock spec
* Updated instrumentation docs
* Fix reactor-core library tests
ReactorCoreTest was getting a tracer from GlobalOpenTelemetry before LibraryTestTrait had a change to initialize the SDK
2021-02-01 11:32:25 +01:00
Anuraag Agrawal
1ebb58a596
Update to SDK 0.15.0 ( #2137 )
...
* Update to SDK 0.15.0
* Fix lightstep test
2021-01-29 21:30:22 +09:00
John Watson
588f8847ed
Hide the context keys in the BaseTracer. ( #2105 )
...
* Hide the context keys in the BaseTracer.
Provide the appropriate methods to get access.
* key needs to be static
* fix formatting
* more formatting, sigh
* remove an errant semicolon
2021-01-25 09:49:16 +02:00
Lauri Tulmin
4652ce183d
Replace remaining usages of deprecated SemanticAttributes class ( #2101 )
2021-01-22 12:05:54 +02:00
Vladimir Šor
a2cde4132d
Smoke tests declare shadowJar as an input to be rebuilt ( #2085 )
...
* Smoke tests declare shadowJar as an input to be rebuilt. Fix some gradle deprecation warnings.
* Try files as inputs.
2021-01-20 16:30:45 +02:00
Mateusz Rzeszutek
660f0e5225
Remove testing-common dependency on guava ( #2062 )
...
* Remove testing-common dependency on guava
* Use nano time
* Add guava dep to opentelemetry-api-metrics
2021-01-19 12:07:27 +09:00
Anuraag Agrawal
afdde0355b
Update to OTel 0.14.1 ( #2059 )
...
* Update SDK dependency to 0.14.1
* WIP
* Finish
* Cleanup
2021-01-18 13:02:04 +09:00
Anuraag Agrawal
72a4b9a891
Remove setGlobalPropagators calls from lambda tests. ( #2057 )
2021-01-15 14:50:31 +09:00
Anuraag Agrawal
cfbfc5623d
Explicitly use AwsXRayPropagator in lambda sqs instrumentation. ( #2056 )
2021-01-15 14:38:23 +09:00