Commit Graph

2947 Commits

Author SHA1 Message Date
dependabot[bot] 7a1114197d
Bump docker/build-push-action from 3.0.0 to 3.1.0 (#4623)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-19 20:26:41 -07:00
jack-berg d84a111273
Cache HttpUrl for exporters that use OkHttp (#4616) 2022-07-19 10:04:54 -05:00
Trask Stalnaker 514ae2c975
Switch to opentelemetrybot account (#4591) 2022-07-18 17:57:46 -05:00
dependabot[bot] 4c8cd7dfa5
Bump com.gradle.enterprise from 3.9 to 3.10.3 (#4614)
Bumps com.gradle.enterprise from 3.9 to 3.10.3.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 16:09:26 -05:00
Trivikram Kamat 6de5c50b7e
Add Project Status in README (#4613) 2022-07-16 07:57:27 -07:00
jack-berg 6f4a24cd61
Post 1.16.0 release (#4607) 2022-07-15 01:43:30 -05:00
OpenTelemetry Java Bot 2ff5dfea8a
Update version to 1.17.0 (#4605) 2022-07-12 21:18:26 -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
Anuraag Agrawal 1566a1b45e
Remove anuraaga from maintainers list (#4596)
* Remove anuraaga from maintainers list

Not at AWS anymore

* Update README.md

Co-authored-by: John Watson <jkwatson@gmail.com>

Co-authored-by: John Watson <jkwatson@gmail.com>
2022-07-12 13:51:03 -07:00
jason plumb 6054f9a427
remove @anuraaga from CODEOWNERS :( (#4597) 2022-07-11 15:44:35 -07:00
Aaron Ai 90313381bd
Fix typo in MetricAdapterTest#convertHistogram (#4592) 2022-07-09 12:11:21 -07: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
Gregor Zeitlinger 198aecdfa4
OpenTracing shim: baggage of active span was not used (#4539) 2022-07-07 18:06:00 -07:00
Carlos Alberto Cortez eb373a37f1
OpenTracing Shim: Store the SpanContextShim in the SpanShim (#4578)
* Store the SpanContext + Baggage combo directly in Span Shim.

* Make the SpanShim's context volatile.

We want to have light access when reading it,
while keeping the actual lock when updating its values.

* Update comment.

* Clean up multithreaded baggage test.
2022-07-07 18:05:46 -07:00
xiangtianyu 51fb582a36
bugfix: fix ImmutableKeyValuePairs bugs (#4573)
* fix bug

* change the fix

* add new cases and changed the way to fix the bug

* fix some describe words

Co-authored-by: John Watson <jkwatson@gmail.com>

* modify some describe mistake

Co-authored-by: John Watson <jkwatson@gmail.com>

* run spotlessApply

Co-authored-by: John Watson <jkwatson@gmail.com>
2022-07-06 12:07:57 +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
Trask Stalnaker a68ce4e017
Release workflow simplifications (#4534)
* Release workflow simplifications

* sync

* Fix
2022-07-05 09:03:01 -05:00
Trask Stalnaker d2e6b55d07
Dependabot for gradle plugins (#4551) 2022-07-05 09:01:26 -05:00
Anuraag Agrawal 49ddbb1b00
Add test for jaeger-thrift over UDP (#4584) 2022-07-05 07:12:07 -05:00
Trask Stalnaker 6034c12650
Add javadoc about autoconfigure pitfall (#4558)
* Add javadoc about autoconfigure pitfall

* more
2022-06-30 09:40:34 -05:00
Mateusz Rzeszutek 4c0cbba5d3
Add hyphen normalization to ConfigProperties (#4564) 2022-06-30 09:26:29 -05:00
jack-berg 160b30a16a
Fix ConcurrencModificationException in BatchSpanProcessorTest (#4568) 2022-06-29 17:03:52 -05:00
jack-berg cb864fd209
Fix metrics incubator docs (#4567) 2022-06-29 16:24:57 -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
Gregor Zeitlinger e141779d02
make the tracing shim compatible with span wrappers (#4535)
such as https://github.com/zalando/opentracing-toolbox/tree/main/opentracing-proxy
2022-06-23 11:12:59 -05:00
jack-berg 2e3b1e878c
Prototype PRs are excempt from stale check (#4554) 2022-06-22 14:25:17 -05:00
Will Li 8e2f44f7c9
add github action to autoclose old pr/issues (#4503)
* add github action to autoclose old pr/issues

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* update based on comments

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* Apply suggestions from code review

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-06-22 13:47:03 -05:00
jack-berg b6c246a00a
Indicate that passwords are stored in 1Password (#4532)
* Indicate that passwords are stored in 1Password

* Add Github Actions to 1Password mapping table

* Add sonatype instructions
2022-06-22 09:56:48 -05:00
Fabio Massimo Ercoli bc8f721458
Handle non-String system properties (#4543) (#4544)
* Test non-string properties (#4543)

* Handle non-String system properties (#4543)

* Small cleanups

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-06-22 10:02:48 +09:00
Anuraag Agrawal 852e755eeb
Use OkHttpGrpcExporter unless upstream Channel provided by user (#4538)
* Use OkHttp-based gRPC exporter unless setChannel is called.
2022-06-17 09:45:03 +09:00
jack-berg ccfc9ea918
Tighten up exponential histogram implementation (#4536) 2022-06-16 11:20:23 -05:00
jack-berg f280f278be
Speed up OTLP integration tests (#4537) 2022-06-16 09:59:43 +09:00
jack-berg 54ca62b42b
Add build step to check for diff (#4527)
* Add build step to check for diff

* Try removing HEAD --

* Test adding api without japicmp

* Revert "Test adding api without japicmp"

This reverts commit 0d0f4f0a1e.

* Echo comment about running jApiCmp
2022-06-15 13:40:12 -05:00
Anuraag Agrawal 5a1b2c5caa
Fix handling of client private keys in PEM format and document PCKS8 r… (#4529)
* Verify the TLS we use in tests are in PEM format and document PCKS8 restriction on key

* Decode PEM client key
2022-06-14 15:37:09 -05:00
jack-berg 5f32636405
Update docs to 1.15.0 (#4526) 2022-06-10 15:16:01 -05:00
OpenTelemetry Java Bot df100557e7
Update version to 1.16.0 (#4523) 2022-06-10 10:58:30 -05:00
jack-berg 37772d711a
Prepare changelog for 1.15.0 (#4521)
* Prepare changelog for 1.15.0

* Add changelog entry to authority override
2022-06-10 09:50:14 -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
Anuraag Agrawal 9dc1be5db8
Allow overriding OTLP gRPC authority. (#4514) 2022-06-10 10:37:56 +09:00
jack-berg 29f274e1a8
Handle ContainerResource edge case (#4518)
* Handle ContainerResource edge case

* Simplify container id logic

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* Start from one character after last '-'

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-06-07 13:35:34 -05:00
jack-berg 7d80a99846
Add experimental option to disable autoconfigured opentelemetry SDK (#4489)
* Add experimental option to disable autoconfigured opentelemetry SDK

* Add AutoConfiguredOpenTelemetrySdk#isSdkEnabled()

* Remove isSdkEnabled()
2022-06-06 11:23:14 -05:00
jack-berg d9c8e709e0
Tighten up metrics sdk javadoc (#4508) 2022-06-03 13:38:53 -05:00
jason plumb 77f5a174d4
Add default getters to ConfigProperties (#4500)
* add some methods to ConfigProperties to help with defaulting.

* wire up default methods

* javadoc

* bots hate underscores

* leverage primitives to eliminate nullability.

* remove null check (call doesn't return null per javadoc)

* address PR comments.

* move internal method out of public interface

* roll back fallback

* rename util class

* use assertj

* spotless

* coverage

* Update sdk-extensions/autoconfigure/src/test/java/io/opentelemetry/sdk/autoconfigure/ConfigPropertiesTest.java

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* static

* spot(less)

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-06-02 15:48:48 -07: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
Cyrille Le Clerc f10959cd85
README: Change the example of Otel artifacts that require the `-alpha` Maven BOM now that metrics are stable (#4509)
* Change the example of Otel artifacts that require the `-alpha` BOM now that metrics are stable

Use the examples of the Semantic Conventions constants, the SDK Autoconfigure Extension, and the Logs SDK & exporter

* Fix markdown typo

* remove references to logs artifacts as they are pretty unstable for the moment
2022-06-02 10:38:06 -05:00
jack-berg 92bd65970e
Merge otlp exporters (#4499)
* Merge otlp http trace and metric exporters into :exporters:otlp:all

* Merge otlp http exporter into :exporters:otlp:logs

* Artifact descriptions
2022-05-27 19:23:41 -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