Commit Graph

2078 Commits

Author SHA1 Message Date
Anuraag Agrawal 7ecb2e260e
Only check one part of trace ID is valid since it guarantees a value … (#3291)
* Only check one part of trace ID is valid since it guarantees a value full ID.

* Valid 64-bit IDs.
2021-06-10 21:47:36 +09:00
John Watson 81e2777114
Update the semconv to spec v1.4.0 (#3298)
* Update the semconv to spec v1.4.0

* Add the schema URL to the generated files.

* amend the CHANGELOG.md entry to add the schema url addition
2021-06-09 17:27:13 -07:00
John Watson f563f4494d
v1.3.0 doc updates (#3305)
* Add CHANGELOG item for metrics autoconfiguration enhancement

* update for 1.3.0 release

* Documentation updates for the 1.3.0 release

* update the website docs for 1.3.0
2021-06-09 16:33:24 -07:00
Anuraag Agrawal 72374048aa
Update API diffs (#3302) 2021-06-09 07:37:37 -07:00
dependabot[bot] 334c67b243
Bump codecov/codecov-action from 1.5.0 to 1.5.2 (#3303)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1.5.0 to 1.5.2.
- [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.5.0...v1.5.2)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 14:59:48 +09:00
Anuraag Agrawal 0a9e77f751
Small tweak to name of internal method. (#3292)
* Small tweak to name of internal method.

* Apply
2021-06-08 17:00:55 +09:00
Anuraag Agrawal 4a691cf567
Use switch instead of enummap for status creation (#3290)
* Use switch instead of enummap for status creation

* Combine tests
2021-06-08 16:49:48 +09:00
Anuraag Agrawal cf1fa9f9fe
Fix drift in SpanLimits comments. (#3293)
* Fix drift in SpanLimits comments.

* Nope
2021-06-08 16:38:54 +09:00
Anuraag Agrawal 39ec5bae65
Use autoconfigure SPI for trace-propagators extension. (#3294)
* Use autoconfigure SPI for trace-propagators extension.

* final
2021-06-08 09:01:00 +09:00
Anuraag Agrawal d191424379
Copy simplespanprocessor warning to factory method too and scope it down to logging. (#3289) 2021-06-07 08:31:27 -07:00
Anuraag Agrawal eaa5bd4f7e
Performance tweaks to SpanAdapter (#3286)
* Small tweaks to SpanAdapter

* HashMap.forEach

* spotlessApply

* Cache ID conversion within a run.

* Don't allocate separate list for instrumentation library protos.

* Fix tests

* Comment

* Reuse protos

* Comments
2021-06-07 11:45:49 +09:00
John Watson e37d46d1f7
Fix the javadoc link for the logging-otlp exporter (#3287) 2021-06-05 13:33:47 +09:00
John Watson cda04d15de
Updates to the CHANGELOG from the last 3 weeks. (#3281)
* Updates to the CHANGELOG from the last 3 weeks.

* Add a mention of the behavioral change to the SDK's SpanBuilder
2021-06-04 08:48:32 -07:00
Anuraag Agrawal e2d6694cc6
Cache Resource and Instrumentationlibrary protos. (#3285) 2021-06-04 08:11:09 -07:00
John Watson f63c7a0552
Update the metrics autoconfigure code with support for duration units. (#3282)
* Update the metrics autoconfigure code with support for duration units.

* rename variable!
2021-06-04 09:53:40 +09:00
Anuraag Agrawal d6849219a7
Use constant for baggage validation bitsets (#3274)
* Use constant for baggage validation bitsets

* Spot

* Move to element

* private
2021-06-03 17:26:00 -07:00
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