Commit Graph

3080 Commits

Author SHA1 Message Date
jack-berg 5fb50c1d5e
Add toString implementation to various propagator components (#4996) 2022-11-29 10:37:31 -06:00
dependabot[bot] 5442ea0b30
Bump org.jetbrains.kotlin.jvm from 1.7.21 to 1.7.22 (#4997) 2022-11-29 06:31:35 -08:00
Jonatan Ivanov df74d4cca5
Populate Zipkin remoteEndpoint (#4933)
* Populate Zipkin remoteEndpoint
fixes gh-4932

* Add conditions for creating zipkin remote endpoint

* Parameterize remote endpoint tests with span kind

* Verify INTERNAL span kind too
2022-11-28 14:16:14 -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
jack-berg c2947bf046
Add toString implementation to various log SDK components (#4979) 2022-11-26 09:10:35 -06:00
dependabot[bot] 44975c2853
Bump spotless-plugin-gradle from 6.11.0 to 6.12.0 (#4987)
Bumps [spotless-plugin-gradle](https://github.com/diffplug/spotless) from 6.11.0 to 6.12.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.11.0...gradle/6.12.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-25 13:11:45 -08:00
Trask Stalnaker 1209826ef1
GitHub actions sync (#4966)
* Sync

* Sync

* chmod

* Fix misspelling
2022-11-25 13:11:32 -08:00
dependabot[bot] c8a382618e
Bump com.diffplug.spotless from 6.11.0 to 6.12.0 (#4986)
Bumps com.diffplug.spotless from 6.11.0 to 6.12.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-25 13:06:56 -08:00
Carlos Alberto Cortez 41c5fbc19a
OpenTracing Shim: Properly set the status based on the error tag. (#4962) 2022-11-24 10:53:09 -08:00
jack-berg f6deb4c1b7
Remove japicmp exception for log SDK changes (#4977) 2022-11-22 13:55:27 -06:00
jack-berg 25c92fb6ac
Remove outdated todo (#4978) 2022-11-22 12:58:44 -06:00
dependabot[bot] c95723e526
Bump jackson-bom from 2.14.0 to 2.14.1 (#4975)
Bumps [jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.14.0 to 2.14.1.
- [Release notes](https://github.com/FasterXML/jackson-bom/releases)
- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.14.0...jackson-bom-2.14.1)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson:jackson-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 09:47:48 -06:00
dependabot[bot] 292c11e91f
Bump archunit-junit5 from 1.0.0 to 1.0.1 (#4974)
Bumps [archunit-junit5](https://github.com/TNG/ArchUnit) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/TNG/ArchUnit/releases)
- [Commits](https://github.com/TNG/ArchUnit/compare/v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: com.tngtech.archunit:archunit-junit5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 09:15:31 -06:00
dependabot[bot] 8e3e14ad29
Bump org.graalvm.buildtools.native from 0.9.17 to 0.9.18 (#4976)
Bumps [org.graalvm.buildtools.native](https://github.com/graalvm/native-build-tools) from 0.9.17 to 0.9.18.
- [Release notes](https://github.com/graalvm/native-build-tools/releases)
- [Commits](https://github.com/graalvm/native-build-tools/compare/0.9.17...0.9.18)

---
updated-dependencies:
- dependency-name: org.graalvm.buildtools.native
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 09:14:03 -06:00
jack-berg c4d0d862ba
Add support for EC mTLS keys (#4920)
* Add support for EC mTlS keys

* Revert change to integration test
2022-11-22 08:40:21 -06:00
jason plumb e61d7c84a3
Zipkin exporter: Serialize EventData attributes as JSON (#4934)
* serialize EventData attributes to json

* remove import

* fix test

* address code review comments.

* safety first
2022-11-21 16:53:52 -06:00
dependabot[bot] f004af9a14
Bump auto-value-annotations from 1.10 to 1.10.1 (#4969)
Bumps [auto-value-annotations](https://github.com/google/auto) from 1.10 to 1.10.1.
- [Release notes](https://github.com/google/auto/releases)
- [Commits](https://github.com/google/auto/compare/auto-value-1.10...auto-value-1.10.1)

---
updated-dependencies:
- dependency-name: com.google.auto.value:auto-value-annotations
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 10:20:10 -06:00
dependabot[bot] c9053b6735
Bump nullaway from 0.10.4 to 0.10.5 (#4971) 2022-11-21 06:37:54 -08:00
dependabot[bot] 16054964e0
Bump equalsverifier from 3.11 to 3.11.1 (#4970) 2022-11-21 06:37:37 -08:00
Trask Stalnaker 4c95521faa
Update apidiff to check newly created files too (#4967) 2022-11-17 17:45:46 -06:00
dependabot[bot] 0e41b1469d
Bump grpc-bom from 1.50.2 to 1.51.0 (#4964)
Bumps [grpc-bom](https://github.com/grpc/grpc-java) from 1.50.2 to 1.51.0.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.50.2...v1.51.0)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 10:00:08 -06:00
dependabot[bot] dd012d94c3
Bump testcontainers-bom from 1.17.5 to 1.17.6 (#4963)
Bumps [testcontainers-bom](https://github.com/testcontainers/testcontainers-java) from 1.17.5 to 1.17.6.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.5...1.17.6)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 09:59:45 -06:00
jack-berg 08e19e38c6
Stop publishing opentelemetry-extension-aws artifact (#4945) 2022-11-17 09:40:29 -06:00
OpenTelemetry Bot 6c7637b96e
Copy change log updates from release/v1.20.x (#4959) 2022-11-16 11:51:48 -06:00
jack-berg 59702a79a5
Post release 1.20.1 (#4960)
* Update version in docs

* Reset japicmp
2022-11-15 17:11:21 -06:00
jack-berg 6c7047e71a
Disable japicmp when base_ref is release (#4957) 2022-11-15 14:27:58 -06:00
jack-berg cc1d6ae78a
Disable jApiCmp diff check on release branches (#4955) 2022-11-15 11:49:58 -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
dependabot[bot] 2cca0fb96c
Bump junit-pioneer from 1.8.0 to 1.9.0 (#4952)
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases)
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: org.junit-pioneer:junit-pioneer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 10:55:24 -06:00
Carlos Alberto Cortez ef4150ce37
OpenTracing Shim: Handle unsupported types when setting Attributes. (#4939)
* OpenTracing Shim: Handle unsupported types when setting Attributes.

This happens through:
* SpanBuilder.withTag()
* Span.setTag()

* Simplify BigInteger conversion assertions.
2022-11-14 10:14:13 -06:00
dependabot[bot] ab1064e80b
Bump com.github.ben-manes.versions from 0.43.0 to 0.44.0 (#4947)
Bumps com.github.ben-manes.versions from 0.43.0 to 0.44.0.

---
updated-dependencies:
- dependency-name: com.github.ben-manes.versions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 10:13:32 -06:00
jack-berg fa3d292879
Fix misleading javadoc (#4946) 2022-11-13 08:53:42 -06:00
John Watson ea7883be20
Update semantic and resource attributes for spec v0.15.0 (#4938)
* Update semantic and resource attributes for spec v0.15.0

* explicitly exclude resource attributes

* remove more resources, include deprecated tags and attributes
2022-11-12 15:06:49 -08: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 aadcca8cf3
Stop trying to update opentelemetry-java-instrumentation on release (#4943) 2022-11-11 16:05:21 -06:00
jack-berg 1cb71c1445
Post release 1.20.0 (#4944)
* Update version in docs

* Reset japicmp
2022-11-11 16:04:58 -06:00
OpenTelemetry Bot 02f35ad004
Update version to 1.21.0 (#4941) 2022-11-11 13:15:52 -06:00
jack-berg c252fdfc7b
Prepare release 1.20.0 (#4931)
* Add changelog for 1.20.0

* Add missing since annotations
2022-11-11 12:55:30 -06:00
dependabot[bot] 362bc0ae91
Bump junit-pioneer from 1.7.2 to 1.8.0 (#4937)
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.7.2 to 1.8.0.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases)
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.7.2...v1.8.0)

---
updated-dependencies:
- dependency-name: org.junit-pioneer:junit-pioneer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 20:54:17 -08:00
dependabot[bot] 8f2c0d231f
Bump armeria-bom from 1.20.2 to 1.20.3 (#4936)
Bumps [armeria-bom](https://github.com/line/armeria) from 1.20.2 to 1.20.3.
- [Release notes](https://github.com/line/armeria/releases)
- [Changelog](https://github.com/line/armeria/blob/master/.post-release-msg)
- [Commits](https://github.com/line/armeria/compare/armeria-1.20.2...armeria-1.20.3)

---
updated-dependencies:
- dependency-name: com.linecorp.armeria:armeria-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 20:53:42 -08:00
Łukasz Monkiewicz e8146020cc
Adds '+' character to allowed characters in baggage value (#4898)
* Adds '+' character to allowed characters in baggade value

* Formatting fix

* Adda BaggageCodec implementation

* Additional cleanup

* Removal of Nullable method parameters.

* Additional tests for baggage decoding
2022-11-10 12:13:31 -06:00
dependabot[bot] 4b6df42f5c
Bump junit-pioneer from 1.7.1 to 1.7.2 (#4930)
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases)
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: org.junit-pioneer:junit-pioneer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 07:56:26 -08: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
Carlos Alberto Cortez f83def7a4f
OpenTracing Shim: Full multiple parent support. (#4916)
* Full multiple parent support.

This includes:

* The Baggage union of ALL parents is used.
* All parents are added as Links, in order to preserve
  the OpenTracing reference type as an attribute
  (either CHILD_OF or FOLLOWS_FROM).

* Update opentracing-shim/src/main/java/io/opentelemetry/opentracingshim/SpanBuilderShim.java

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

* Update opentracing-shim/src/main/java/io/opentelemetry/opentracingshim/SpanBuilderShim.java

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

* Update opentracing-shim/src/main/java/io/opentelemetry/opentracingshim/SpanBuilderShim.java

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

* Apply feedback.

* More feedback.

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-11-09 17:02:28 -06:00
jack-berg ef076c2880
Fix LogsBenchmarks (#4929) 2022-11-09 16:54:18 -06:00
dependabot[bot] 4b601ade98
Bump org.jetbrains.kotlin.jvm from 1.7.20 to 1.7.21 (#4927)
Bumps org.jetbrains.kotlin.jvm from 1.7.20 to 1.7.21.

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 11:59:33 -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