* 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>
* Add ability to configure preferred temporality to OTLP grpc and http metric exporters
* Make OTLP metric preferred temporality configurable
* Make temporality configuration case insensitive
* Add retry policy class and wire into autoconfigure
* Wire up otlp retry for DefaultGrpcExporter
* Add documentation to autoconfigure readme
* Add more tests
* Move delegate accessor to :exporters:otlp:common
* Use jackson for json serialization
* PR feedback
* Update autoconfigure to append signal path to otlp http endpoint if not present
* Use URI.resolve() instead of string concatenation
* revert to string concatenation
* Add URL validation to OTLP endpoint
* Always append signal path to otlp http/protobuf endpoint
* Add changelog entry, clarify tests, append root path if not included on generic http endpoint
* Initial implementation of simple ExemplarReservoirs
- Add an implementation of naive fixed-bucket reservoir sampling
- Add an implementation of FixedSizeHistogram reservoir sampling where latest-measurement per-histogram-bucket is kept.
- Add assertions for exemplars.
* Remove explicit locks for mild performance boost.
* Create a new random holder abstraction.
- Create new random holder abstraction that allows
- ThreadLocalRandom when efficient
- simple detection of Android + workaround for TLR
- Overridable with mocked random for testing.
- Update tracing RandomIdGenerator to leverage new RnadomHolder
- Expand exemplar reservoir tests to use new random holder
- Remove android-only random id generator test
* Add api diff + fix silly naming thing.
* Move random hodler to be Supplier, other updates from code review.
* Fixes from review.
* Fix bytebuddy issue with mocking.
* Expose aggregation configuration and wire in exemplar sampler
- Expose classes for aggregation configuration that are visible in exemplar sampler
- Create default exemplar sampler that samples w/ traces
- Expand metric benchmarks to include exemplar + no-exemplar to check overhead.
* Fix merge conflict.
* Wire exemplar filter config into autoconfigure module.
* Expose aggregation configuration and wire in exemplar sampler
- Expose classes for aggregation configuration that are visible in exemplar sampler
- Create default exemplar sampler that samples w/ traces
- Expand metric benchmarks to include exemplar + no-exemplar to check overhead.
* Fix merge conflict.
* Wire exemplar filter config into autoconfigure module.
* Migrate exemplar reservoir instantiation into aggregations. Start migrating off AggregatorFactory -> Aggregation.
* Small cleanup.
* Fixes from review (and report of clsasloader fixes from other laptop.
* Migrate to null-object pattern.
* Add internal boilerplate.
* Run spotless.
* Fix toString of aggregation values.
* Fix ==
* Add setTrustedCertificates support to OtlpGrpcMetricExporterBuilder
* Add signal specific certificate configuration to autoconfiguration
* Improve test coverage.
* Try to meet code coverage requirements.
* Qualify SslUtil.setTrustedCertificatesPem
* Add support for signal specific timeout and headers autoconfiguration.
* Attempt to fix build.
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
* Support OTEL_EXPORTER_OTLP_METRICS/TRACES_ENDPOINT
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* update README.md
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* update README.md
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* add test
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* reset global ot for tests
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* add not global test
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* update test
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* update test
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* added tearDown
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>