Gregor Zeitlinger
c9c857c908
add context info about wrong span or trace ( #6703 )
2024-09-18 16:36:30 -05:00
jack-berg
fbdb90621b
Prepare 1.42.0 ( #6688 )
2024-09-06 10:04:55 -05:00
jason plumb
e063b34a2a
Add asserts for event body fields ( #6509 )
2024-09-05 11:55:02 -05:00
jack-berg
649f963a1a
Stabilize log any value ( #6591 )
2024-08-30 10:22:38 -05:00
jack-berg
3a6613f9a3
Prepare for 1.33.0 release ( #6065 )
2023-12-08 13:57:04 -06:00
Chung Nguyen
3bb221fb5d
add hasAttributesSatisfying overload to AbstractPointAssert ( #6048 )
2023-12-08 08:24:09 -06:00
jack-berg
b03ec3aa62
Add log support to junit extensions ( #5966 )
2023-11-09 10:03:36 -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
jack-berg
f421ef1e73
Stabilize MetricProducer, allow custom MetricReaders ( #5835 )
2023-09-27 13:55:41 -05:00
jack-berg
6c8f5435db
Cleanup a few typos ( #5855 )
2023-09-26 15:37:28 -05:00
Asaf Mesika
b0c337b075
Memory Mode support: Adding memory mode, and implementing it for Asynchronous Instruments ( #5709 )
...
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2023-09-26 13:21:46 -05:00
jack-berg
a438127c37
Deprecate semconv module ( #5786 )
2023-09-08 10:43:42 -05:00
jack-berg
288c5df620
Add hasResourceSatisfying to LogRecordDataAssert ( #5690 )
2023-08-10 09:32:37 -05:00
Mateusz Rzeszutek
5676f466d0
Add a `hasBucketBoundaries()` variant that allows specifying precision ( #5457 )
2023-05-18 08:21:58 -05:00
jack-berg
d67faf2aef
Merge sdk logs testing ( #5431 )
2023-05-12 15:59:12 -05:00
jack-berg
37b6fc909e
Prepare 1.26.0 ( #5424 )
2023-05-05 14:12:01 -05:00
jack-berg
2870209fdb
Prototype histogram advice API (i.e. Hints) ( #5217 )
2023-04-11 17:03:55 -05:00
Michael Bazos
302f889ed9
Fixing up javadoc to reflect how to create a junit4 OpenTelemetryRule ( #5299 )
2023-03-15 16:44:38 -05:00
jack-berg
06158ffc2d
Cleanup readmes ( #5263 )
2023-03-06 09:39:34 -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
59043802e6
Merge :sdk:metrics-testing into :sdk:testing ( #5144 )
2023-01-24 08:42:04 -08: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
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
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
Ł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
fa3d292879
Fix misleading javadoc ( #4946 )
2022-11-13 08:53:42 -06:00
jack-berg
eec0225e37
Changelog 1.18.0 ( #4737 )
...
* Add since annotations
* Prepare changelog for 1.17.0 release
* Spotless
* PR feedback
* Spotless
2022-09-09 13:44:23 -05:00
Mateusz Rzeszutek
169554bb50
Add AttributesAssert#doesNotContainKey() ( #4723 )
...
* Add AttributesAssert#doesNotContainKey()
* jApiCmp
* Update sdk/testing/src/main/java/io/opentelemetry/sdk/testing/assertj/AttributesAssert.java
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-08-25 20:05:14 -07:00
jack-berg
2bc88f45c6
Deprecate multi argument InstrumentationScopeInfo create method ( #4710 )
...
* Deprecate multi argument InstrumentationScopeInfo create method
* PR feedback
2022-08-24 13:35:31 -05:00
Maksym Ochenashko
7d01751e01
Update example in `InMemorySpanExporter` ( #4644 )
...
The current example is out of date and does not compile.
2022-07-28 08:20:17 -07:00
jack-berg
facbf4fb9e
Add default implementations for getInstrumentationScopeInfo methods ( #4640 )
2022-07-27 17:54:29 -05:00
jack-berg
9c3a98c90e
Add changelog entry for 1.16.0 ( #4603 )
...
* Add changelog entry for 1.16.0
* Change heading to ## Unreleased
2022-07-12 21:02:00 -05:00
HaloFour
31be1dcc3f
Add helper to SpanDataAssert to assert that span status satisfies a condition ( #4469 )
...
* Add helper to SpanDataAssert to assert that span status satisfies a condition
* Copypasta fail
* Add StatusDataAssert with assertion helpers for validating the exporter span status
* PR Feedback
Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-06-23 12:44:18 -07:00
jack-berg
86cc4bc27d
Add some missing since annotations ( #4520 )
2022-06-09 20:41:52 -05:00
jack-berg
078d55abe5
Add SdkMeterProvider toString method ( #4464 )
...
* Add SdkMeterProvider toString method
* Fix build
* Ignore null values in InstrumentSelector / View #toString()
2022-05-13 11:52:04 -05:00
jack-berg
0d234f56c9
Add metrics to OpenTelemetryRule and OpenTelemetryExtension ( #4459 )
...
* Add metrics to OpenTelemetryRule and OpenTelemetryExtension
* Clear metrics, respond to PR feedback
2022-05-13 10:06:05 -05:00
jack-berg
e067223409
Convert tests to from :sdk:metrics-testing to :sdk:testing ( #4444 )
2022-05-09 09:34:09 -05:00
jack-berg
89c6323fff
Move InMemoryMetricReader and InMemoryMetricExporter to :sdk:testing ( #4442 )
...
* Move InMemoryMetricReader and InMemoryMetricExporter to :sdk:testing
* Move tests
2022-05-06 20:00:11 -05:00
Anuraag Agrawal
2bc8178dce
Split exemplar assertion into double / long ( #4432 )
...
* Split exemplar assertion into double / long
* Merge
2022-05-06 14:33:57 +09:00
Anuraag Agrawal
bfb39f42d4
Remove Data from metric assertion class names ( #4433 )
2022-05-05 10:47:26 -05:00
Lauri Tulmin
3f2317fdac
Add hasSpansSatisfyingExactlyInAnyOrder ( #4427 )
...
* Add hasSpansSatisfyingExactlyInAnyOrder
* address review comment
* address review comment
2022-05-03 17:25:47 +09:00
Anuraag Agrawal
ee4d771142
Migrate sum, histogram, summary assert to stable testing. ( #4419 )
...
* Migrate sum, histogram, summary assert to stable testing.
* Coverage
2022-04-28 12:39:29 +09:00
Anuraag Agrawal
173a0c27fd
Have long aggregators export long exemplars ( #4403 )
...
* WIP exemplar
* Have long aggregators export long exemplars
* Fix
2022-04-22 11:18:47 +09:00
Anuraag Agrawal
f464817013
Move gauge assertions into stable testing artifact. ( #4395 )
...
* Move gauge assertions into stable testing artifact.
* Disable publishing of old metrics-testing
2022-04-21 11:31:15 +09:00
Gregor Zeitlinger
b717b0625a
Add SpanDataAssert.hasAttribute ( #4271 )
...
* add assertAttributes to be able to assert a single attribute in a fluent way
* add assertAttributes to be able to assert a single attribute in a fluent way
* Update sdk/testing/src/main/java/io/opentelemetry/sdk/testing/assertj/SpanDataAssert.java
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
* Update sdk/testing/src/main/java/io/opentelemetry/sdk/testing/assertj/SpanDataAssert.java
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-03-22 15:56:59 +09:00