Commit Graph

2062 Commits

Author SHA1 Message Date
Anuraag Agrawal d044890a7c
Don't create Supplier when decoding byte (#3273) 2021-06-04 08:31:40 +09:00
Anuraag Agrawal 37cd112e9d
Don't use AutoValue for TraceIdRatio sampler (#3275) 2021-06-03 08:01:00 -07:00
Anuraag Agrawal 72722158ec
Update dependencies (#3276) 2021-06-03 07:55:52 -07:00
Nikita Salnikov-Tarnovski ff85102a46
Remove unnecessary string allocation on hot path (#3272) 2021-06-03 08:57:16 +09:00
Valeriy 34494e609b
javadocs: fix code examples (#3269)
Problem:
Javadocs comments at Tracer interface contains call of unexistent method OpenTelemetry.getTracer()

Solution:
Replace OpenTelemetry.getTracer() with openTelemetry.getTracer(String, String) in examples at javadocs
2021-06-01 12:58:59 -07:00
Nikita Salnikov-Tarnovski e86680cd13
Update otel.yaml (#3270) 2021-05-31 09:00:51 -07:00
Will Sargent 6f1a4537d3
Change context.getKey to context.get (#3268)
There is no `getValue` in the `Context` interface
2021-05-30 21:19:33 -07:00
Anuraag Agrawal 1bfc7871bd
Add doc for AttributesBuider accident. (#3265) 2021-05-30 08:22:12 -07:00
Anuraag Agrawal 782e38fe6e
Remove unneeded forEach from AttributesMap. (#3266) 2021-05-30 08:21:33 -07:00
John Watson ed99ea357f
Fix the SpanPipelineBenchmark so that it runs. (#3264)
* Fix the SpanPipelineBenchmark so that it runs.
I also updated it to create 100 spans, rather than just a single span, so we can amortize the cost of the Resource, etc.

* Be sure to flush the SDK.

* formatting
2021-05-30 11:44:45 +09:00
Anuraag Agrawal 2b0622afc5
Wrap instead of copy IDs since they are already copies. (#3263) 2021-05-29 13:06:07 +09:00
Anuraag Agrawal 31d87b1cc8
Add a prototype PassThroughPropagator (#3256)
* Add a prototype PassThroughPropagator

* Add benchmark

* final

* Optimize empty

* Reorder
2021-05-28 10:54:45 +09:00
Nikita Salnikov-Tarnovski ae3860e069
Add benchmark for recording exception on a span (#3262)
* Add benchmark for recording exception on a span

* Spotless
2021-05-27 11:20:41 -07:00
John Watson 5b4763321e
Implement handling the OTEL_SERVICE_NAME env var. (#3253)
* Implement handling the OTEL_SERVICE_NAME env var.

* Update to use the semconv module and attributes testing helpers.

* add unit tests for testing API additions
2021-05-27 09:55:26 -07:00
Nikita Salnikov-Tarnovski fc4b154dcb
Add a benchmark comparing OTLP and Jaeger exporter (#3261)
* Add a benchmark comparing OTLP and Jaeger exporter

* Spotless
2021-05-27 08:12:49 -07:00
dependabot[bot] 4b86840b9f
Bump docker/build-push-action from 2.4.0 to 2.5.0 (#3258)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.4.0...v2.5.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 07:59:36 -07:00
Anuraag Agrawal b120b643af
Fix javadoc for AwsXrayPropagator (#3251) 2021-05-25 07:47:34 -07:00
Karen Xu 57566485d9
Update link for CI status badge (#3246) 2021-05-21 19:50:09 -07:00
Min Xia bcdb96492d
Remove the OTLP receiver legacy gRPC port(55680) references (#3245) 2021-05-22 11:37:31 +09:00
Anuraag Agrawal 608f431479
Remove null checks from SdkSpanBuilder (#3244) 2021-05-21 13:45:26 -07:00
John Watson b22d125acd
Update the OTLP protobuf version to 0.9.0. (#3233)
* Update the OTLP protobuf version to 0.9.0.
Note: this does not include enforcing the semantic change of requiring histogram/summary sums to be excluded when the recordings are not all positive.

* rename method to be more accurate
2021-05-18 16:47:22 -07:00
Anuraag Agrawal ceb31c6caf
Use GITHUB_TOKEN for ghcr.io push now that it's supported. (#3236) 2021-05-14 06:20:04 -07:00
dependabot[bot] 0c31bad796
Bump codecov/codecov-action from 1 to 1.5.0 (#3223)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 1.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v1.5.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 13:18:12 +09:00
dependabot[bot] 5d5b8df6a7
Bump docker/build-push-action from 2 to 2.4.0 (#3224)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 2.4.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v2.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 13:17:35 +09:00
dependabot[bot] 1a4c7cdb45
Bump actions/checkout from 2 to 2.3.4 (#3225)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 13:15:50 +09:00
Anuraag Agrawal c59d5b0a37
Fix jmhreport due to new jmh plugin version. (#3232) 2021-05-13 13:07:35 +09:00
Anuraag Agrawal cb77a8d364
Move TemporaryBuffers to internal and use it everywhere. (#3226)
* Move TemporaryBuffers to internal and use it everywhere.

* blurb
2021-05-13 11:18:50 +09:00
Anuraag Agrawal 9a602e7df8
Add a truly no-op OpenTelemetry API as an extension. (#3204)
* Add a truly no-op OpenTelemetry API as an extension.

* checkstyle

* Name
2021-05-13 11:10:04 +09:00
John Watson 5729dc14d5
Update example dependencies to 1.2.0 (#3229)
Also, remove example build vs. snapshots
Resolves #3122
2021-05-13 09:59:06 +09:00
Anuraag Agrawal 672330bf51
Upgrade to Gradle 7.0 (#3228) 2021-05-13 08:21:22 +09:00
Jakub Wach ad6ceccc4c
baggage parsing improvements (#3180)
* baggage parsing improvements

* added JMH benchmark for W3C baggage propagator

* clean-up

* removed old implementation code

* post-review changes
2021-05-12 09:41:21 -07:00
Anuraag Agrawal 77f0b0adc4
Allow enabling nullaway and fix some nullness issues (#3218)
* Add support for enabling nullaway and fix a couple of projects.

* Finish

* Finish

* Cleanup
2021-05-12 08:43:32 +09:00
John Watson e6c1f65b09
Change the autoconfigure module to only have a test dependency on the semantic conventions module. (#3219) 2021-05-11 11:30:11 -07:00
Piotr Glazar 8722677e5c
Use JDK 10 API to fetch process pid (#3212) 2021-05-11 08:18:57 -07:00
John Watson e60857d369
Update docs for the 1.2.0 release (#3213)
* Update the changelog for version 1.2.0

* Update the README for version 1.2.0

* Update docs to include instructions related to API diffs.

* Add the diffs from 1.1.0

* tweak the japicmp task a bit and update the current diffs

* update the website docs to point at 1.2.0

* Add instructions about updating the website docs.
2021-05-08 11:59:52 +09:00
Anuraag Agrawal 0b8131c79e
Handle nulls in noop / multi (#2939)
* Handle nulls in noop / multi

* Remove old file
2021-05-06 20:49:39 -07:00
John Watson bd6cfd85fb
Add a task to compare public APIs for every stable module. (#3183)
* Add a task to compare public APIs for every stable module.

* add a few comments and make the build task depend on the japicmp task

* update the api diffs after rebasing.

* task must depend on jar

* a few script tweaks based on feedback

* small tweak to make it a little more kotlin-idiomatic

* refactoring to make the code more clear

* some more refactoring.

* make the latest released version a lazy val of the build script

* have the task depend on check, rather than build

* put all the API diffs into a central directory

* run at --info to diagnose CI issues

* try an older java 11 version

* try another combo

* remove the info logging
2021-05-06 17:49:49 -07:00
John Watson a8a85c6129
Add tests and update behavior to verify propagators do not alter the … (#3194)
* Add tests and update behavior to verify propagators do not alter the context when failing to parse inputs.

* Ad a couple tests around null contexts

* formatting
2021-05-07 08:58:42 +09:00
John Watson 2a002f20fa
Make the EnvironmentResource public. (#3200) 2021-05-06 16:50:07 -07:00
John Watson 940ebf0a34
Add CHANGELOG items up through May 6, 2021 (#3207)
* Add CHANGELOG items up through May 6, 2021

* remove note about existing functionality
2021-05-06 16:43:29 -07:00
John Watson f396965196
Add @since tags for new public methods. (#3209)
* Add @since tags for new public methods.

* remove errant since tags
2021-05-07 08:26:55 +09:00
John Watson 15a1160e56
clean up the package-level docs for the sdk trace export package. (#3208)
Resolves #2903
2021-05-07 08:15:41 +09:00
John Watson 910e66c8db
Add dropped attribute/event counts to jaeger and zipkin exporters. (#3201)
* Add dropped attribute/event counts to jaeger and zipkin exporters.
Resolves #3197

* Small refactoring from feedback

* formatting
2021-05-06 13:23:32 -07:00
John Watson 6584840310
rev ubuntu up to 20.04 (#3206)
* rev ubuntu up to 20.04

* update to 20.04 everywhere
2021-05-06 13:05:35 -07:00
John Watson 2bc0cbadd6
CHANGELOG.md updates for the weeks of April 19 - April 30, 2021 (#3169)
* CHANGELOG.md updates for the week of April 19, 2021

* Add changelog entries for the week of April 26.

* Add an item; tweak an item
2021-05-05 21:02:37 -07:00
John Watson aba088b135
Update the semantic convention classes for spec v1.3.0 (#3202) 2021-05-06 10:25:28 +09:00
John Watson cc4720de13
Add the option to configure the zipkin exporter timeout. (#3203) 2021-05-06 09:12:06 +09:00
jack-berg af629a6dd4
Fix otlp metric proto summary quantile conversion bug. (#3193) 2021-05-04 14:44:23 -07:00
Anuraag Agrawal d4b63fbbb6
Coerce null AttributeKey to empty string (#3186) 2021-04-30 10:31:34 +09:00
John Watson 7c9ea8b0f6
default the tracer name to an empty string (#3170) 2021-04-28 10:24:17 -07:00