jack-berg
78a917da2e
Promote ComponentLoader to new opentelemetry-api-util, standardize SPI loading ( #7446 )
2025-07-10 17:29:25 -05:00
Paul Nienaber
9329f8675e
fixes #7427 : Patch LazyStorage to pass its ClassLoader to ServiceLoader ( #7424 )
2025-06-24 14:43:46 -05:00
jason plumb
07f01c363f
ContextKey update example code ( #7420 )
2025-06-13 18:11:43 -07:00
Laurent Tréguier
e419b5d588
Fix context storage provider property name ( #7318 ) ( #7342 )
2025-05-11 09:55:11 -07:00
jack-berg
e8305ee3f5
Prepare 1.50.0 ( #7335 )
2025-05-09 09:52:01 -05:00
jason plumb
58acb531c5
Add test that shows how context keys are special ( #7330 )
2025-05-08 16:26:53 -05:00
jack-berg
ccfcecf8fe
Promote getAll to TextMapGetter stable API ( #7267 )
2025-04-15 12:38:07 -05:00
Onur Kayabasi
7f86458580
Fix duplicated ExecutorService wrap ( #7245 )
2025-04-07 10:34:28 -05:00
James Moessis
b07dab31cd
Extends TextMapGetter with GetAll() method, implement usage in W3CBaggagePropagator ( #6852 )
...
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-12-05 13:26:56 -06:00
Trask Stalnaker
ff4fe978e5
Test Windows in CI ( #6824 )
2024-11-01 09:01:14 -05:00
Adriano Machado
eb53fe3a61
Add helper class to capture context using ScheduledExecutorService ( #6712 )
...
Signed-off-by: Adriano Machado <60320+ammachado@users.noreply.github.com>
2024-10-07 10:08:21 -05:00
jack-berg
42679988e2
Fix owasp dependency check ( #6086 )
2024-01-02 17:33:13 -06:00
Lauri Tulmin
1ecc9197be
Add null check to StrictContextStorage ( #5954 )
2023-11-06 11:12:29 -06:00
renovate[bot]
cb44b2b18c
Update errorProneVersion to v2.23.0 ( #5927 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-10-23 10:31:09 -05:00
dependabot[bot]
6ea0e80a0b
Bump io.grpc:grpc-bom from 1.56.1 to 1.57.1 ( #5672 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-08-04 13:32:27 -05:00
jack-berg
07a1bb4419
Fix various gradle warnings ( #5556 )
2023-06-21 11:15:05 -05:00
jack-berg
06158ffc2d
Cleanup readmes ( #5263 )
2023-03-06 09:39:34 -06:00
jack-berg
8897dd4d5c
Revert removal final newline ( #5133 )
...
* Revert removal final newline
* Add to final newlin editorconfigoverride
2023-01-18 08:51:41 -06:00
dependabot[bot]
1e4a7be6be
Bump spotless-plugin-gradle from 6.12.1 to 6.13.0 ( #5126 )
...
* Bump spotless-plugin-gradle from 6.12.1 to 6.13.0
Bumps [spotless-plugin-gradle](https://github.com/diffplug/spotless ) from 6.12.1 to 6.13.0.
- [Release notes](https://github.com/diffplug/spotless/releases )
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md )
- [Commits](https://github.com/diffplug/spotless/compare/gradle/6.12.1...plugin-gradle/6.13.0 )
---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix build
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-01-17 16:47:56 -06:00
Liudmila Molkova
19e2ce0db1
Make closing scope idempotent and noop when different context is active ( #5061 )
...
* Make closing scope idempotent and noop when different context is active
* changelog
* notnull
2022-12-29 11:14:50 -06:00
jack-berg
5fb50c1d5e
Add toString implementation to various propagator components ( #4996 )
2022-11-29 10:37:31 -06:00
Mateusz Rzeszutek
6be22eeaa5
Bump spotless version ( #4667 )
2022-08-05 11:18:54 -05:00
jason plumb
83bfb84d14
Migrate to assertj ( #4512 )
...
* migrate from junit/jupiter assertions to assertj in a few remaining places.
* reorder
2022-06-02 13:38:46 -07:00
Anuraag Agrawal
e999fa0d5a
Some fixes for compilation under java 18 ( #4397 )
2022-04-22 07:43:55 +09:00
Trask Stalnaker
cd2583df6a
Add misspell check (and fix misspellings) ( #4290 )
...
* Add misspell check
* Fix misspellings
* Spotless
2022-03-22 15:12:40 +09:00
Anuraag Agrawal
cffbd3249c
Add context wrapping methods for arguments found in CompletableFuture APIs. ( #4154 )
2022-02-10 08:09:36 +09:00
Lauri Tulmin
9c6cc22fb6
Javadoc code snippets use methods that don't exist ( #4140 )
...
* Replace OpenTelemetry with GlobalOpenTelemetry in javadoc code snippets
* use openTelemetry instread of GlobalOpenTelemetry
* replace one ome usage of GlobalOpenTelemetry
2022-02-02 12:20:36 -08:00
Anuraag Agrawal
47f7c38ef5
Enable loggers in all tests via slf4j. ( #4126 )
...
* Route all test jul logging through slf4j.
* Cleanup and more suppressions
2022-02-02 14:43:25 +09:00
jack-berg
7c9234e1ae
Add missing internal disclaimers ( #4086 )
2022-01-13 14:00:12 -08:00
Anuraag Agrawal
dfb4a74ac5
Update errorprone ( #4048 )
2022-01-06 11:33:00 +09:00
Anuraag Agrawal
8e04fbf0b8
Migrate most testsets to test suites. ( #3953 )
2021-12-07 08:37:15 +09:00
Anuraag Agrawal
c143a59517
Migrate test sets in context module to new test suites. ( #3788 )
2021-10-26 10:39:06 +09:00
jack-berg
4a945e63e3
Add gradle ktlint spotless config to all projects ( #3543 )
2021-08-25 08:36:17 +09:00
jack-berg
58c16a9133
Add missing readmes and missing javadoc links ( #3500 )
2021-08-16 12:36:54 -07:00
Anuraag Agrawal
6671bcf495
Delete duplicate test ( #3479 )
2021-08-13 09:46:04 -07:00
Trask Stalnaker
60c3c5ca0c
Format build.gradle.kts files ( #3427 )
2021-07-29 13:21:38 +09:00
wesleyhillyext
0d2b7b03b7
Allow root Context to be overridden ( #3230 )
...
* Allow root Context to be overridden
Adds ContextStorage.root() to provide a way to customize the
implementation of the root Context when you don't want the
root to be an ArrayBasedContext.
* Update context/src/main/java/io/opentelemetry/context/ContextStorage.java
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-07-21 16:13:56 -07:00
Anuraag Agrawal
ce9c8854c7
Extract publishing and animalsniffer plugins. ( #3334 )
2021-06-22 08:23:16 +09:00
Anuraag Agrawal
864508983e
Extract JMH conventions plugin. ( #3324 )
2021-06-17 08:37:49 -07:00
Anuraag Agrawal
7f544416e4
Define an extension for otel-specific configuration of Java. ( #3317 )
2021-06-17 15:54:25 +09:00
Anuraag Agrawal
b9ca09b6c1
Extract java conventions plugin. ( #3316 )
2021-06-15 12:29:47 -07:00
Will Sargent
6f1a4537d3
Change context.getKey to context.get ( #3268 )
...
There is no `getValue` in the `Context` interface
2021-05-30 21:19:33 -07:00
Anuraag Agrawal
672330bf51
Upgrade to Gradle 7.0 ( #3228 )
2021-05-13 08:21:22 +09:00
Anuraag Agrawal
77f0b0adc4
Allow enabling nullaway and fix some nullness issues ( #3218 )
...
* Add support for enabling nullaway and fix a couple of projects.
* Finish
* Finish
* Cleanup
2021-05-12 08:43:32 +09:00
Anuraag Agrawal
0b8131c79e
Handle nulls in noop / multi ( #2939 )
...
* Handle nulls in noop / multi
* Remove old file
2021-05-06 20:49:39 -07:00
John Watson
bd6cfd85fb
Add a task to compare public APIs for every stable module. ( #3183 )
...
* Add a task to compare public APIs for every stable module.
* add a few comments and make the build task depend on the japicmp task
* update the api diffs after rebasing.
* task must depend on jar
* a few script tweaks based on feedback
* small tweak to make it a little more kotlin-idiomatic
* refactoring to make the code more clear
* some more refactoring.
* make the latest released version a lazy val of the build script
* have the task depend on check, rather than build
* put all the API diffs into a central directory
* run at --info to diagnose CI issues
* try an older java 11 version
* try another combo
* remove the info logging
2021-05-06 17:49:49 -07:00
John Watson
a8a85c6129
Add tests and update behavior to verify propagators do not alter the … ( #3194 )
...
* Add tests and update behavior to verify propagators do not alter the context when failing to parse inputs.
* Ad a couple tests around null contexts
* formatting
2021-05-07 08:58:42 +09:00
Christian Neumüller
f64ec29f92
Fix leftover occurence of Span.Kind ( #3064 )
2021-03-26 22:03:01 +09:00
Anuraag Agrawal
691e24fc19
Add static wrappers for Executor / ExecutorService using current cont… ( #2988 )
...
* Add static wrappers for Executor / ExecutorService using current context at invocation time.
* Missing javadoc
* Cleanup
* taskWrapping
2021-03-15 11:56:13 +09:00
Anuraag Agrawal
62cfc060d3
Keep reference to leaked scope to make sure GC detection doesn't kick in first. ( #2972 )
2021-03-03 07:52:07 -08:00