Commit Graph

2947 Commits

Author SHA1 Message Date
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 29fe7caffe
Ignore updates to jqf-fuzz (#4795) 2022-09-27 16:01:45 -05:00
dependabot[bot] 057ffef52e
Bump brave-bom from 5.13.11 to 5.14.0 (#4796)
Bumps [brave-bom](https://github.com/openzipkin/brave) from 5.13.11 to 5.14.0.
- [Release notes](https://github.com/openzipkin/brave/releases)
- [Changelog](https://github.com/openzipkin/brave/blob/master/RELEASE.md)
- [Commits](https://github.com/openzipkin/brave/compare/5.13.11...5.14.0)

---
updated-dependencies:
- dependency-name: io.zipkin.brave:brave-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>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-09-27 11:01:15 -05:00
dependabot[bot] 8fc01df6a6
Bump actions/stale from 5 to 6 (#4771)
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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-09-27 10:35:46 -05:00
dependabot[bot] 77471ef84e
Bump proto-google-common-protos from 2.9.2 to 2.9.3 (#4797)
Bumps [proto-google-common-protos](https://github.com/googleapis/java-iam) from 2.9.2 to 2.9.3.
- [Release notes](https://github.com/googleapis/java-iam/releases)
- [Changelog](https://github.com/googleapis/java-iam/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/java-iam/commits)

---
updated-dependencies:
- dependency-name: com.google.api.grpc:proto-google-common-protos
  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-09-27 10:34:53 -05:00
dependabot[bot] 69dceb5ce5
Bump armeria-bom from 1.18.0 to 1.19.0 (#4785)
Bumps [armeria-bom](https://github.com/line/armeria) from 1.18.0 to 1.19.0.
- [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.18.0...armeria-1.19.0)

---
updated-dependencies:
- dependency-name: com.linecorp.armeria:armeria-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>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-09-27 10:34:33 -05:00
dependabot[bot] 3dcb465e82
Bump junit-bom from 5.9.0 to 5.9.1 (#4798)
Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.9.0 to 5.9.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.0...r5.9.1)

---
updated-dependencies:
- dependency-name: org.junit:junit-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-09-27 10:07:51 -05:00
dependabot[bot] ccf8a38cbd
Bump nullaway from 0.9.9 to 0.10.2 (#4792)
Bumps [nullaway](https://github.com/uber/NullAway) from 0.9.9 to 0.10.2.
- [Release notes](https://github.com/uber/NullAway/releases)
- [Changelog](https://github.com/uber/NullAway/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber/NullAway/compare/v0.9.9...v0.10.2)

---
updated-dependencies:
- dependency-name: com.uber.nullaway:nullaway
  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-09-27 09:48:05 -05:00
dependabot[bot] e9aabaa245
Bump protobuf-bom from 3.21.5 to 3.21.6 (#4788)
Bumps [protobuf-bom](https://github.com/protocolbuffers/protobuf) from 3.21.5 to 3.21.6.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.5...v3.21.6)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-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-09-27 09:46:56 -05:00
dependabot[bot] 73d774f5d4
Bump snakeyaml from 1.32 to 1.33 (#4790)
Bumps [snakeyaml](https://bitbucket.org/snakeyaml/snakeyaml) from 1.32 to 1.33.
- [Commits](https://bitbucket.org/snakeyaml/snakeyaml/branches/compare/snakeyaml-1.33..snakeyaml-1.32)

---
updated-dependencies:
- dependency-name: org.yaml:snakeyaml
  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-09-27 09:46:35 -05:00
dependabot[bot] 56b7598b82
Bump jackson-bom from 2.13.3 to 2.13.4 (#4791)
Bumps [jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.13.3 to 2.13.4.
- [Release notes](https://github.com/FasterXML/jackson-bom/releases)
- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.13.3...jackson-bom-2.13.4)

---
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-09-27 09:46:21 -05:00
dependabot[bot] 1737c0baae
Bump jctools-core from 3.3.0 to 4.0.1 (#4793)
Bumps [jctools-core](https://github.com/JCTools/JCTools) from 3.3.0 to 4.0.1.
- [Release notes](https://github.com/JCTools/JCTools/releases)
- [Changelog](https://github.com/JCTools/JCTools/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/JCTools/JCTools/compare/v3.3.0...v4.0.1)

---
updated-dependencies:
- dependency-name: org.jctools:jctools-core
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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-09-27 09:46:01 -05:00
dependabot[bot] ea3f1a3d72
Bump grpc-bom from 1.49.0 to 1.49.1 (#4794)
Bumps [grpc-bom](https://github.com/grpc/grpc-java) from 1.49.0 to 1.49.1.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.49.0...v1.49.1)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-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-09-27 09:45:47 -05:00
Trask Stalnaker 5b46d9533a
More dependabot (#4770)
* More dependabot

* Space
2022-09-27 09:19:47 -05:00
Carlos Alberto Cortez 88c894b0a5
[OT Shim] Fully support Baggage-only propagation. (#4739)
* Fully support scenarios of Baggage-only propagation.

This includes both in-process and inter-process propagation.

* Apply feedback.
2022-09-27 09:19:19 -05:00
jack-berg 206ca2731b
Define project scope (#4753)
* Define project scope

* PR feedback

* Refine kotlin extension phrasing
2022-09-27 09:16:54 -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
Trask Stalnaker ce533c8ff9
Fix skipped name (#4767)
* Fix skipped name

* Better
2022-09-21 09:54:54 -05:00
Trask Stalnaker 8deed1bad5
Fix javadoc (#4768) 2022-09-21 09:53:00 -05:00
Trask Stalnaker 2ae8b5204b
Create website PR on release (#4765) 2022-09-19 21:23:31 -07:00
jack-berg 064f246c99
Remove legacy approvers (#4762) 2022-09-19 12:20:55 -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 591aff6c15
Update codeowners to reference approvers team alias (#4761) 2022-09-15 13:47:40 -05:00
Trask Stalnaker 614f0faf98
Update snakeyaml dependency (#4760) 2022-09-15 13:03:51 -05:00
jack-berg d1087144ed
Add Trask and Mateusz as approvers (#4754) 2022-09-15 12:46:45 -05:00
Trask Stalnaker 6baf514ca4
Update license report in instrumentation repo PR (#4759) 2022-09-15 10:05:38 -05:00
jack-berg cdab465a7f
Stop publishing opentelemetry-extension-annotations artifact (#4750) 2022-09-12 15:51:07 -05:00
Sampath 6c6a5fd995
ShimUtilTest | Added exception type along with message (#4745)
* Added exception type along with message

* Added new line
2022-09-12 12:31:51 -07:00
jack-berg 05b045e586
Post 1.17.0 release (#4744) 2022-09-10 10:36:56 -05:00
jack-berg 1697130f0a
jApiCmp exclusions (#4746)
* Demonstrate failing japicmp

* Exclude allowable compatiblity changes

* Rollback temp change to MetricExporter
2022-09-09 18:33:58 -05:00
OpenTelemetry Java Bot d069e1b473
Update version to 1.19.0 (#4741)
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2022-09-09 14:07:36 -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
Trask Stalnaker fe3da3d13e
Add release cadence (#4738) 2022-09-09 10:01:38 -05:00
Mateusz Rzeszutek 6c11793bd2
Add experimental ConditionalResourceProvider interface (#4731)
* Add experimental ConditionalResourceProvider interface

* Add tests
2022-09-08 13:10:43 -05:00
jack-berg 1046253f3f
Drop micrometer shim (#4735)
* Drop micrometer shim

* Remove remnants of micrometer-shim
2022-09-08 11:39:06 -05:00
jack-berg c3a9f68ec8
Stop publishing opentelemetry-exporter-jaeger-proto artifact (#4724)
* Stop publishing opentelemetry-exporter-jaeger-proto artifact

* Load class by string
2022-09-08 11:26:29 -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
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
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 66285e2cbe
Codify that we may stop publishing artifacts, and change unstable por… (#4729)
* Codify that we may stop publishing artifacts, and change unstable portions of otherwisse stable APIs

* Revert ABI -> API

* PR feedback
2022-09-07 11:43:55 -05:00
jack-berg 57b05cb71d
Update dependencies (#4728)
* Update dependencies to latest version

* Upgrade to gradle 7.5.1
2022-08-30 09:30:18 -05:00
Sampath 45a1593575
Simplified the assertions (#4726) 2022-08-29 12:06:59 -07:00
jack-berg bb3cc2e3de
Move noop-api to contrib (#4727) 2022-08-29 10:44:55 -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 def1c85b60
Drop opentelemetry-sdk-extension-jfr-events, which moved to opentelemetry-java-contrib (#4703) 2022-08-25 08:46:45 -05:00