Fabio Salvini
f28e0ada45
Support parentbased_jaeger_remote sampler. ( #5123 )
2023-01-20 20:05:36 -08:00
John Watson
a3ac819a0b
support the "none" option for propagator configuration ( #5121 )
2023-01-20 06:27:54 -08:00
jack-berg
2360de9add
Make implicit gradle dependencies explicit ( #5137 )
2023-01-18 16:12:55 -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
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
50e7a17309
Remove deprecated autoconfigure options ( #5098 )
2023-01-09 10:45:30 -06:00
jack-berg
b08edb6504
Add MaxScale config parameter to ExponentialHistogram ( #5044 )
2023-01-06 09:36:48 -06:00
jack-berg
037d7cc293
Cleanup autoconfigure tests ( #5070 )
...
* Cleanup global and surpress logs
* Move SPI implementations to provider package
2022-12-29 16:42:48 -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
2834b03b88
Move autoconfigure otlp tests ( #5060 )
...
* Unify OtlpHttp{Signal}Exporter testing
* Add header and compression tests
* Move SPI otlp tests to :exporters:otlp
* Improve test coverage
* Improve test coverage
2022-12-29 11:07:47 -06:00
jack-berg
9dfb00249e
Implement prometheus exporter provider ( #5053 )
...
* Implement prometheus exporter provider
* Remove stray comment
* Adjust method visibility
* Delete ClasspathUtil
2022-12-21 09:52:42 -06:00
jack-berg
7f0889a6a3
Move autoconfigure exporter tests ( #5051 )
...
* Move SPI logging-otlp tests to :exporters:logging-otlp
* Move SPI zipkin tests to :exporters:zipkin
* Move SPI jaeger tests to :exporters:jaeger
* Spotless
2022-12-21 08:23:21 -06:00
jack-berg
5b497b115d
Implement otlp exporter providers ( #5003 )
...
* Implement otlp exporter providers
* Remove redundant else
* Restore unsupported protocol test
2022-12-18 07:57:55 -06:00
jack-berg
10e32fe80c
Implement jaeger exporter provider ( #5002 )
2022-12-17 15:20:14 -06:00
jack-berg
551e764df8
JIT exporter metrics ( #4993 )
...
* Build ExporterMetrics instruments just in time
* Exporters use GlobalOpenTelemetry#getMeterProvider() if meter provider is not set
* FullConfigTest reset GlobalOpenTelemetry
* MetricExporters use MeterProvider.noop()
2022-12-17 15:19:00 -06:00
jack-berg
7c6f1bd73e
GlobalOpenTelemetry trigger of autoconfiguration is opt-in ( #5010 )
...
* Do not initialize AutoConfiguredOpenTelemetrySdk in OpenTelemetry.get
* GlobalOpenTelemetry triggers autoconfigure based on env var / system property
2022-12-14 15:10:55 -06:00
jack-berg
2a231d76f8
Move DefaultConfigProperties to autoconfigure-spi ( #5001 )
2022-11-30 10:18:53 -06:00
jack-berg
e79aad8dcd
Implement logging-otlp exporter providers ( #4992 )
2022-11-29 10:39:35 -06:00
jack-berg
0fc41d4c30
Implement zipkin exporter provider ( #4991 )
2022-11-28 14:08:13 -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
cbd629c579
Implement logging exporter providers ( #4950 )
2022-11-28 10:14:44 -06:00
jack-berg
ee2d981bdc
Remove support for otel.experimental.sdk.enabled ( #4973 )
2022-11-26 09:16:59 -06:00
jason plumb
61b117079d
De-singleton ZPageServer implementation ( #4935 )
...
* remove the static/singleton nature from ZPageServer
* add convenience method for creating zpages-based sdktracerprovider
* update readme for zpageserver
* oh checkstyle.
* overload build and add test
2022-11-12 08:49:56 -06:00
jack-berg
34beb4d71c
Deprecate :extensions:aws ( #4862 )
...
* Deprecate :extensions:aws
* Add deprecation notice to README.md
* Include link to new location opentelemetry-java-contrib
2022-11-02 12:16: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
jack-berg
db1d0652b2
Decode resource attributes specified via otel.resource.attributes ( #4756 )
2022-10-18 11:45:34 -05:00
dependabot[bot]
88779d3115
Bump wire-compiler from 4.3.0 to 4.4.2 ( #4856 )
...
* Bump wire-compiler from 4.3.0 to 4.4.2
Bumps [wire-compiler](https://github.com/square/wire ) from 4.3.0 to 4.4.2.
- [Release notes](https://github.com/square/wire/releases )
- [Changelog](https://github.com/square/wire/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/wire/compare/4.3.0...4.4.2 )
---
updated-dependencies:
- dependency-name: com.squareup.wire:wire-compiler
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix ProtoFieldsWireHandler
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>
2022-10-18 07:52:39 -07:00
jack-berg
99dbcaf3c6
Add support for BatchLogRecordProcessor autoconfiguration ( #4811 )
2022-10-17 14:41:45 -05:00
jack-berg
6fa504df97
Fix broken link ( #4861 )
2022-10-17 13:00:16 -05:00
jack-berg
cc22880bb8
Stop publishing opentelemetry-sdk-extension-aws artifact ( #4830 )
2022-10-14 07:51:17 -05:00
jason plumb
3f4698a536
Ensure done before checking success to help troubleshoot timeout issues ( #4833 )
...
* ensure done before checking success to help troubleshoot timeout issues
* add done check to testDefaultRetryPolicy method as well.
* ensure isDone() before other assertions
2022-10-13 13:13:22 -05:00
jack-berg
3a61673450
Prepare release 1.19.0 ( #4821 )
...
* wip
* Add changelog entry for 1.19.0
* Add new since annotations
* Add late additions to changelog
* PR feedback
* Fix 1.18.0 ref
2022-10-07 09:00:45 -05:00
jack-berg
bd0cf78c39
Ensure GlobalLoggerProvider is set once ( #4804 )
...
* Ensure GlobalLoggerProvider is set once
* Add GlobalLoggerProviderTest
* PR feedback
2022-10-03 13:47:36 -05:00
Bruno Baptista
c37dada000
Add support for new system property otel.sdk.disabled ( #4810 )
...
* Add support for new system property otel.sdk.disabled
* address review comments
2022-10-03 11:51:57 -05:00
jack-berg
7b56506a73
Deprecate opentelemetry-sdk-extension-aws ( #4749 )
2022-10-01 10:08:10 -05:00
jack-berg
3ee7bbd165
Fix ProcessResource directory separator ( #4782 )
...
* Fix ProcessResource directory separator
* spotless
2022-10-01 09:56:15 -05:00
jack-berg
e1519bdd3d
Deprecate opentelemetry-sdk-extension-resources ( #4748 )
2022-10-01 09:54:45 -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
Mateusz Rzeszutek
6c11793bd2
Add experimental ConditionalResourceProvider interface ( #4731 )
...
* Add experimental ConditionalResourceProvider interface
* Add tests
2022-09-08 13:10:43 -05:00
wzy531a
aea98ba885
Fix container detection fails in k8s with containerd v1.5.0+ environments ( #4733 )
...
* pr with issue#4730
* PR for issue#4730
Signed-off-by: wuzhaoyin <1449259282@qq.com>
* Annotation adjustment
Signed-off-by: wuzhaoyin <1449259282@qq.com>
* fix code owner review required fail
Signed-off-by: wuzhaoyin <1449259282@qq.com>
Signed-off-by: wuzhaoyin <1449259282@qq.com>
2022-09-08 11:23:45 -05:00
Felix Scheinost
b5ef538e5e
Improve detection of resource attributes on ECS ( #4574 )
...
* Improve detection of resource attributes on ECS
This improves the detection of resource attributes on ECS by fetching ECS metadata from `ECS_CONTAINER_METADATA_URI` or `ECS_CONTAINER_METADATA_URI_V4`.
Previously only `CONTAINER_NAME` and `CONTAINER_ID` id were set.
Now we set:
- CONTAINER_ID
- CONTAINER_NAME
- AWS_ECS_CONTAINER_ARN
- CONTAINER_IMAGE_NAME
- CONTAINER_IMAGE_TAG
- aws.ecs.container.image.id
- AWS_LOG_GROUP_ARNS
- AWS_LOG_GROUP_NAMES
- AWS_LOG_STREAM_NAMES
- AWS_ECS_TASK_ARN
- AWS_ECS_TASK_FAMILY
- AWS_ECS_TASK_REVISION
Especially AWS_LOG_GROUP_ARNS is important so that connection of traces to logs works OOTB on X-Ray.
* Change „24“ to „26“ in fixtures for consistency
`CONTAINER_NAME` and `AWS_ECS_TASK_REVISION` should match
* Implement a few more attributes, fix ARNs
This commit adds implementations for the `aws.ecs.launchtype`
and `aws.logs.stream.arns` attributes, as well as fixing
the generation of log group ARNs.
* EcsResource: Record log group without trailing :*
Both with and without trailing `:*` are valid formats but there is a bug in the OpenTelementry collector which can’t handle the trailing `:*` (for now) (see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/13702 )
So remove addition of the trailing `:*` for now.
Co-authored-by: Michele Mancioppi <michelem@lumigo.io>
2022-09-08 10:20:58 -05:00
jack-berg
def1c85b60
Drop opentelemetry-sdk-extension-jfr-events, which moved to opentelemetry-java-contrib ( #4703 )
2022-08-25 08:46:45 -05:00
jack-berg
926b57143a
Merge trace and metric incubator ( #4705 )
2022-08-24 09:59:42 -05:00
jack-berg
6eea0389af
Move :sdk-extensions:zpages to :sdk-extensions:tracing-incubator ( #4694 )
2022-08-17 15:41:07 -05:00