jack-berg
06158ffc2d
Cleanup readmes ( #5263 )
2023-03-06 09:39:34 -06:00
jack-berg
a483171f75
Allow views to select on instrument unit ( #5255 )
2023-03-01 09:17:05 -06:00
jack-berg
696d3f0833
Optimize DefaultSynchronousMetricStorage iteration ( #5183 )
...
* Optimize DefaultSynchronousMetricStorage iteration
* Switch to foreach
2023-02-22 08:08:59 -08:00
jack-berg
5d2855b663
Stop ignoring long measurements in HistogramExemplarReservoir ( #5216 )
2023-02-15 07:55:39 -06:00
jack-berg
c07642ee17
Avoid exemplar allocations if there are no measurements ( #5182 )
2023-02-11 20:46:41 -06:00
jack-berg
7bb2f0d832
Remove boxed primitives from aggregations ( #5184 )
2023-02-11 20:46:27 -06:00
jack-berg
9b10152cf8
Prepare for 1.23.0 release ( #5189 )
...
* Prepare changelog for 1.23.0 release
* Add missing since annotations
* Adjust releasing docs
* Add new changelog entries, add event API artifact to readme
* PR feedback
* PR feedback
2023-02-10 14:07:48 -06:00
Donnerbart
2b7fe75826
Add resource assertion methods to SpanDataAssert and MetricAssert ( #5160 )
...
* Fix nullable warning in AttributeAssertion
* Fix warnings in assertion tests
* Add missing test for MetricAssert.hasSummarySatisfying() type check failure
* Add hasResourceSatisfying() method to SpanDataAssert and MetricAssert
2023-02-09 15:25:11 -06:00
jack-berg
feb0297c7b
Add Base2 prefix to internal exponential histogram classes ( #5179 )
2023-02-07 10:14:10 -06:00
jack-berg
92403b01b7
Add base2ExponentialHistogram to Aggregation ( #5143 )
2023-02-05 10:54:44 -06:00
jack-berg
33e6bf30c5
Reuse aggregation handles for delta temporality ( #5176 )
...
* Reuse aggregation handles for delta temporality
* Add test code
2023-02-05 08:15:40 -06:00
jack-berg
249d09747f
Delete bound instruments ( #5157 )
...
* Delete bound instruments
* Remove outdated comments
2023-02-03 17:30:39 -06:00
jack-berg
0ac01c6cec
Event emitter provider ( #5049 )
...
* Split out :api:events
* Remove events from :api:logs
* Log SDK also implements Events API
* Fix example
* Add SdkEventEmitterProvider which delegates to LoggerProvider
* Make eventDomain argument optional
2023-02-03 15:45:40 -06:00
jack-berg
9cfdf67a49
Delete notion of accumulation ( #5154 )
2023-02-03 10:56:17 -06:00
jack-berg
f70ae76f8c
Reuse AggregatorHandle with cumulative temporality ( #5142 )
...
* Resuse AggregatorHandle with cumulative temporality
* Remove Aggregator#merge
* Restore test coverage, rename methods
2023-01-30 09:57:37 -06:00
jack-berg
59043802e6
Merge :sdk:metrics-testing into :sdk:testing ( #5144 )
2023-01-24 08:42:04 -08:00
jack-berg
6edba790d8
Cleanup autoconfigured resources in case of exception ( #5117 )
...
* Cleanup autoconfigured resources in case of exception
* Improve test coverage
* Spotless
* Reduce logging level to info for multiple shutdowns
* Fix build
2023-01-22 09:25:50 -06:00
jack-berg
c427bf2132
Promote exponential histogram data interfaces to stable package ( #5120 )
...
* Promote exponential histogram data interfaces to stable package
* Spotless
2023-01-21 08:10:29 -06:00
jack-berg
299cfad6e6
Close OpenTelemetrySdk after all tests ( #5139 )
2023-01-20 20:02:33 -08: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
jack-berg
1915f1fb60
Add close method to MetricReader ( #5109 )
2023-01-11 07:47:38 -06:00
Gregor Zeitlinger
67127c791f
sort spans by start time (parents before children as tiebreaker) to avoid common causes for flaky tests ( #5026 )
2023-01-10 16:05:36 -06:00
jack-berg
4df4a0ae09
Add shutdown / close to OpenTelemetrySdk ( #5100 )
...
* Add shutdown / close to OpenTelemetrySdk
* Shutdown hook closes instead of shutdown
2023-01-10 16:05:21 -06:00
jack-berg
b08edb6504
Add MaxScale config parameter to ExponentialHistogram ( #5044 )
2023-01-06 09:36:48 -06:00
dependabot[bot]
76f7a96029
Bump spotless-plugin-gradle from 6.12.0 to 6.12.1 ( #5076 )
...
* Bump spotless-plugin-gradle from 6.12.0 to 6.12.1
Bumps [spotless-plugin-gradle](https://github.com/diffplug/spotless ) from 6.12.0 to 6.12.1.
- [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.0...gradle/6.12.1 )
---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix spotless
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-03 13:15:22 -06:00
jack-berg
ad2013ffbd
Add toString to SdkMeter, SdkObservableInstrument, AbstractInstrumentBuilder ( #5072 )
2023-01-01 13:49:28 -06:00
jack-berg
17e81063ba
Align exemplar filter names with spec ( #5063 )
...
* Align exemplar filter names with spec
* coverage
* spotless
2022-12-29 11:11:39 -06:00
jack-berg
ece93b77a1
Use ConfigUtil internally ( #5048 )
2022-12-17 16:10:46 -06:00
jack-berg
fdc56b354d
Delete MapCounter alternative histogram implementation ( #5047 )
2022-12-17 15:18:13 -06:00
jack-berg
86853f52dd
Lazily initialize exponential histogram buckets ( #5023 )
2022-12-14 09:43:03 -06:00
OpenTelemetry Bot
ba42ce858a
Update version to 1.22.0 ( #5034 )
...
* Update version to 1.22.0
* Fix version-dependent test
Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-12-09 13:57:27 -06:00
jack-berg
ca18354115
Prepare for 1.21.0 release ( #5028 )
...
* Update bom to point to opentelemetry-extension-aws:1.20.1
* Update changelog for 1.21.0 release
* Add missing since annotations
* Spotless
* Include 1.16.0 semantic convention update in changelog
* Add attribute assertions change
2022-12-09 13:22:51 -06:00
jason plumb
79a601d7d7
Attribute assertions should always contain the attr key ( #5027 )
...
* improve attribute assertions to alwyas contain the attr key
* spotless
* change assertion
* Update sdk/testing/src/test/java/io/opentelemetry/sdk/testing/assertj/AttributeAssertionTest.java
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
* fix build
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-12-09 12:51:07 -06:00
jack-berg
738d9988ae
Stop extra copy of exponential histogram buckets ( #5020 )
2022-12-07 09:19:15 -06:00
jack-berg
e73232898f
Add ExponentialHistogramIndexerBenchmark ( #4989 )
2022-12-01 09:20:19 -06:00
jack-berg
14b64fc8bc
Add histogram collection benchmark ( #4912 )
2022-11-30 13:30:22 -06:00
Łukasz Monkiewicz
ac2ba4a2df
Adjustment of behaviour of hasXAttributesSatisfying and hasXAttribute… ( #4882 )
...
* Adjustment of behaviour of hasXAttributesSatisfying and hasXAttributesSatisfyingExactly assertions
* Cleanup
* Additional test coverage for new assertion method
* Added javadoc on assertions
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-11-29 13:47:15 -06:00
jack-berg
5fb50c1d5e
Add toString implementation to various propagator components ( #4996 )
2022-11-29 10:37:31 -06:00
Ben Roling
7dd5c1ccd7
Add auto-configure support for logging-otlp ( #4879 )
...
* Add autoconfigure support for logging-otlp
* Add NotOnClasspath tests
* Fix formatting
* Declare logging-otlp as experimental, add unit test
* Spotless
Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-11-28 11:15:31 -06:00
jack-berg
c2947bf046
Add toString implementation to various log SDK components ( #4979 )
2022-11-26 09:10:35 -06:00
jack-berg
bd8b5650ac
Fix concurrent modification exception in ComponentRegistry ( #4951 )
...
* Fix concurrent modification exception in ComponentRegistry
* Reduce number of threads and iterations
2022-11-15 11:15:50 -06:00
jack-berg
fa3d292879
Fix misleading javadoc ( #4946 )
2022-11-13 08:53:42 -06:00
Ragnar Rova
36adb27cf8
Allow SDK to run in environments prohibiting use of sun.misc.Unsafe ( #4902 )
...
Some applications run under strict java.security permissions
which do not allow access to sun.misc.Unsafe.
BatchSpanProcessor uses Unsafe via jctools, but has a fallback to
ArrayBlockingQueue. Extending that fallback rule to cover
java security exceptions as well.
Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-11-09 17:35:33 -06:00
jack-berg
ef076c2880
Fix LogsBenchmarks ( #4929 )
2022-11-09 16:54:18 -06:00
jack-berg
b60f4e20b8
Add context argument to LogRecordProcessor#onEmit ( #4889 )
...
* Add context argument to LogRecordProcessor#onEmit
* Change argument order
2022-11-09 11:59:06 -06:00
jack-berg
f8a4d81e24
Optimize log hot path ( #4913 )
...
* ComponentRegistry accepts name, version, schemaUrl instead of InstrumentationScopeInfo
* Fix comment
2022-11-08 17:05:00 -06:00
jack-berg
85bae88e1c
Add benchmark for log sdk ( #4891 )
2022-11-02 13:10:46 -05:00
Łukasz Monkiewicz
6184e19812
Make description of Samplers Locale independent ( #4887 )
...
* Make description of Samplers Locale independent
* Switch from String.format to concatanation
* Moved description creation to constructor
2022-10-31 12:26:16 -05:00
jack-berg
52c37d56da
Stop publishing opentelemetry-sdk-extension-resources artifact ( #4828 )
2022-10-31 12:25:36 -05:00