jack-berg
01a07b51a1
Add event API ( #4781 )
...
* Add event API
* Log when emitting event without domain, add javadoc example to Logger
2022-09-27 17:39:33 -05:00
jack-berg
a1cf20d1c5
Rename LogProcessor to LogRecordProcessor ( #4772 )
2022-09-26 11:02:49 -05:00
jack-berg
647ed91c15
Rename LogData to LogRecordData ( #4774 )
...
* Rename LogData to LogRecordData
* spotless
2022-09-26 10:30:59 -05:00
jack-berg
9b17be3114
Rename LogExporter to LogRecordExporter ( #4773 )
2022-09-26 09:57:30 -05:00
jack-berg
f7317c6e8d
Split out logs API ( #4764 )
2022-09-22 13:23:52 -05:00
jack-berg
6209109e0a
Change LogEmitter to Logger, LogEmitterProvider to LoggerProvider ( #4721 )
2022-09-16 13:41:30 -05:00
jack-berg
a50ceb3959
Implement dropped attribute count in logs ( #4697 )
...
* Implement dropped attribute count in logs
* PR feedback
* PR feedback
2022-09-16 10:49:06 -05: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
jack-berg
928d112c7d
Revert histogram buckets ( #4736 )
...
* Revert "Restore prior histogram defaults (#4717 )"
This reverts commit 160af1c480
.
* Revert "Update bucket hist defaults to match spec (#4684 )"
This reverts commit 8445642052
.
2022-09-08 11:23:18 -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
160af1c480
Restore prior histogram defaults ( #4717 )
...
* Add property for configuring legacy explicit bucket histogram bucket boundaries
* Add clarifying comment
* Spotless
2022-08-25 14:41:46 -05: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
jason plumb
8445642052
Update bucket hist defaults to match spec ( #4684 )
...
* udpate default histogram bucket boundaries
* spotless
2022-08-24 12:59:29 -05:00
jack-berg
c8e4fd4d9b
Fix log sdk module name ( #4716 )
2022-08-24 10:00:02 -05:00
jason plumb
3a802305dc
return early if merging empty resource ( #4713 )
2022-08-23 12:38:25 -05:00
jack-berg
d0c6cd4480
Extend InstrumentationScopeInfo with scope attributes ( #4696 )
...
* Extend InstrumentationScopeInfo with scope attributes
* Add InstrumentationScopeInfoBuilder
2022-08-22 12:26:54 -05:00
Bogdan Drutu
b5d0d08ad8
Fix HistogramScaleBenchmark, use the right ThreadState, clarify difference ( #4691 )
...
* Fix HistogramScaleBenchmark, use the right ThreadState, clarify difference
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Update sdk/metrics/src/jmh/java/io/opentelemetry/sdk/metrics/internal/aggregator/HistogramScaleBenchmark.java
Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
* Update HistogramScaleBenchmark.java
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
2022-08-19 09:14:20 -05:00
Bogdan Drutu
bb57442cbf
Remove unnecessary code from metrics sdk ( #4688 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-08-17 11:09:15 -05:00
jack-berg
e11829778a
Use NoopLogEmitterBuilder when no log processors are registered ( #4672 )
2022-08-11 16:16:53 -05:00
jack-berg
b979ea1427
Allow logs to be mutated by LogProcessor ( #4643 )
...
* Allow logs to be mutated by LogProcessor
* wip
* Improve test coverage
2022-08-11 15:52:22 -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
659a7930bd
Move AttributesMap to :sdk:common ( #4641 )
2022-07-27 17:08:40 -05:00
jack-berg
a8086498b1
Add TestLogData, remove public LogDataImpl and LogDataBuilder from log SDK ( #4635 )
...
* Add TestLogData, remove public LogDataImpl and LogDataBuilder from log sdk
* pr comment
2022-07-27 13:15:25 -05:00
jack-berg
2ef73c83af
Support aggregation arguments for view file configuration ( #4588 )
...
* Support aggregation arguments for view file configuration
* Extract getBucketBoundaries function
2022-07-21 09:41:43 -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
Mohit Palriwal
aa873a05be
Added a static method "drain" under JcTools with a generic consumer ( #4582 )
...
* Added a static method "drain" under JcTools with a generic consumer
* Rename spanT to T
* Update sdk/trace-shaded-deps/src/main/java/io/opentelemetry/sdk/trace/internal/JcTools.java
* Rename Test methods
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-07-08 15:30:35 +09:00
jack-berg
d2a8304b9b
Otlp exporter default aggregation ( #4557 )
...
* Add default aggregation selector option to OTLP metric exporters
* change compose to with
2022-07-05 10:21:04 -05:00
jack-berg
160b30a16a
Fix ConcurrencModificationException in BatchSpanProcessorTest ( #4568 )
2022-06-29 17:03:52 -05:00
jack-berg
0860b3884b
MetricReader and MetricExporter can determine default aggregation by instrument ( #4472 )
...
* MetricReader and MetricExporter can determine default aggregation by instrument
* Add since annotations
2022-06-28 15:39:26 -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
ccfc9ea918
Tighten up exponential histogram implementation ( #4536 )
2022-06-16 11:20:23 -05:00
jack-berg
86cc4bc27d
Add some missing since annotations ( #4520 )
2022-06-09 20:41:52 -05:00
jack-berg
b7347f6577
Update dependencies ( #4519 )
...
* Update dependencies
* revert jqf-fuzz to 1.7
2022-06-09 20:41:40 -05:00
jack-berg
d9c8e709e0
Tighten up metrics sdk javadoc ( #4508 )
2022-06-03 13:38:53 -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
jack-berg
60cc5f452a
Merge otlp grpc trace and metric exporter into :exporters:otlp:all ( #4494 )
2022-05-27 10:12:45 -05:00
jack-berg
4a8850cc64
Improve metrics API javadoc ( #4493 )
...
* Improve metrics API javadoc
* Fix typo
* Switch to Title Case for instrument names
* Add @since annotations
2022-05-27 10:02:02 -05:00
jack-berg
de824dc93a
Add batch callback API ( #4376 )
...
* Add batch callback API
* Update API to accept varargs of instruments
* Add more tests
* Add default API implementations, more test coverage
* PR feedback
2022-05-25 12:50:09 -05:00
jack-berg
f592bf54e4
Drop outdated metrics sdk readme ( #4476 )
2022-05-17 20:15:57 -07:00
jack-berg
b98ce55cd0
Fix reporting intervals for delta readers ( #4437 )
2022-05-16 11:50:54 -05:00
jack-berg
8659a82583
Fix metric sdk when multiple readers are present ( #4436 )
...
* Fix metric sdk when multiple readers are present
* Merge DeltaMetricStorage into DefaultSynchronousMetricStorage
2022-05-13 12:50:13 -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
bf0f6bfb16
Add experimental method to reset SdkMeterProvider ( #4460 )
2022-05-12 10:28:42 -05:00
jack-berg
bc6be63871
Update to otlp proto 0.17.0 ( #4452 )
2022-05-11 09:57:45 -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
jack-berg
d490f5b5e7
Add AggregationTemporalitySelector functional interface ( #4438 )
2022-05-06 10:03:14 -05:00
jack-berg
848c073231
Refactor exemplars to reduce code duplication ( #4430 )
...
* Refactor exemplars to reduce code duplication
* Add comments to ReservoirCell
2022-05-06 08:27:39 -05:00