Commit Graph

1413 Commits

Author SHA1 Message Date
John Watson 04ee52881f
Revert "Add paths-ignore for PR Build (#2017)" (#2031)
This reverts commit 72c88b61
2020-11-05 15:49:09 -08:00
dengliming 72c88b6116
Add paths-ignore for PR Build (#2017)
* Add paths-ignore for PR Build

* Update pr-examples-build.yml
2020-11-05 08:29:20 -08:00
Anuraag Agrawal 98ac11ce5a
Only deploy to artifactory when version is snapshot version. (#2023) 2020-11-06 00:08:52 +09:00
Carlos Alberto Cortez 4aba70877c
Push README updates. (#2024) 2020-11-05 16:03:42 +01:00
Carlos Alberto Cortez 5195622181
Add Getter.Keys() with Jaeger Baggage support. (#1549) 2020-11-05 12:51:07 +01:00
Anuraag Agrawal 570924b4b7
Fix post-merge conflict in OpenTelemetryRule. (#2014) 2020-11-04 19:05:43 -08:00
Anuraag Agrawal f01456bebd
Add a junit4 rule for OTel testing. (#1996)
* Add a junit4 rule for OTel testing.

* Docs to 4

* A bit more 4

* Volatile just in case
2020-11-05 11:37:51 +09:00
John Watson d0e0b5a553
Keep Span Attributes in order, as the spec strongly suggests. (#2004) 2020-11-05 11:30:07 +09:00
Brian Ashby ed71c41a41
Update CHANGELOG 0.10.0 formatting and edit entries (#2009)
* update unreleased changelog formatting and edit entries

* Update CHANGELOG.md

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

Co-authored-by: John Watson <jkwatson@gmail.com>
2020-11-04 18:19:27 -08:00
Zoe ea9888b8b9
Add OpenCensus shim (#1863)
* Add OpenCensus shim

* Fix dependencies

* Review changes

* Add interoperability test

* Add interoperability test

* Add interoperability test: all opencensus spans

* Fix license

* fix build.gradle

* fix build.gradle

* Pull upstream

* Review changes

* Formatting

* Merge branch 'master' of github.com:open-telemetry/opentelemetry-java into opencensus-migration

# Conflicts:
#	all/build.gradle
2020-11-04 17:17:43 -08:00
John Watson 392e55bf98
Add the combined b3 header to the propagator fields (#2008) 2020-11-04 14:37:48 -08:00
Anuraag Agrawal 28905b7e05
Expose foreach consumer instead of Entry for baggage. (#1982) 2020-11-04 13:41:30 -08:00
John Watson a833fcab15
Add CHANGELOG entries for 0.10.0 (#2006) 2020-11-04 13:27:46 -08:00
Bogdan Drutu 2dfc417e2d
Rename package name for sdk extensions to singular extension (#2002)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-04 12:26:43 -08:00
Bogdan Drutu 381133ab26
Remove testbed artifact, add testbed tests to trace sdk (#1999)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-04 09:00:33 -08:00
Bogdan Drutu 6f482a17f1
Update subprojects in all, probably need to do it automatically (#2001)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-04 08:46:07 -08:00
Bogdan Drutu 098584497d
Fix tests in the all package, update extension package, add support for exporter package (#2000)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-04 08:43:17 -08:00
Bogdan Drutu e8ba8317fd
Move semantic conventions script to buildscripts (#1998)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-04 08:30:23 -08:00
Bogdan Drutu 18d45beb4f
Remove inmemory exporter artifact, move to sdk-testing (#1991)
* Remove unused class InMemoryTracing, junit5 helper is enough

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Remove inmemory exporter artifact, move to sdk-tracing

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-04 08:18:01 -08:00
Anuraag Agrawal 5be613a3f0
Replace EndSpanOptions.Builder with factory. (#1934)
* Replace EndSpanOptions.Builder with factory.

* create

* Remove class completely
2020-11-04 13:33:10 +09:00
Bogdan Drutu 94fcaaed77
Remove unused class InMemoryTracing, junit5 helper is enough (#1990)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-04 13:32:15 +09:00
Bogdan Drutu 3014bb7fa0
Rename package name for extensions to singular extension (#1995)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-03 18:23:31 -08:00
Bogdan Drutu 139fcf261d
Fix proto generated files package for jaeger extension (#1993)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-03 17:09:50 -08:00
Anuraag Agrawal e5cf181ed9
Expose foreach consumer instead of entries for trace state. (#1979)
* Expose foreach consumer instead of entries for trace state.

* o-public
2020-11-03 16:41:27 -08:00
Bogdan Drutu 6dfbc14e19
Rename package name for exporters to singular exporter (#1992)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-03 16:27:57 -08:00
Bogdan Drutu 01aa248356
Change opentracing testbed to use the junit5 extension (#1989)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-03 15:22:42 -08:00
Bogdan Drutu faf6b9f15e
Change testbed to use the junit5 extension (#1988)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-03 15:22:11 -08:00
Anuraag Agrawal 37cce8dbca
Replace LabelConsumer with BiConsumer (#1980) 2020-11-03 15:21:52 -08:00
Anuraag Agrawal db93a841ed
Rename exporter artifacts to singular (#1984)
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-03 14:24:00 -08:00
Bogdan Drutu 2046ec050e
Move testing-internal artifact to sdk-testing (#1987)
* Move testing-internal artifact to sdk-testing

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Fix missed usage of TestSpanData

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-03 13:54:43 -08:00
Bogdan Drutu d454f91ab3
Fix build, race condition between jaeger thrift and no underscores (#1985)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-03 19:27:50 +01:00
Anuraag Agrawal 23392d9052
Make Attribute/LabelConsumer consistent with Java 8 BiConsumer (#1983)
* Make Attribute/LabelConsumer consistent with Java 8 BiConsumer

* more

* Spot
2020-11-03 10:03:52 -08:00
John Watson d958f2ba0c
Add a Jaeger exporter which exports via the thrift-over-http format (#1875)
* Initial implementation of a jaeger thrift exporter.

* some cleanups/renaming

* fix? the formatting

* Fix the default endpoint.

* Update exporters/jaeger_thrift/README.md

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

* Update exporters/jaeger_thrift/README.md

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

* Update exporters/jaeger_thrift/src/main/java/io/opentelemetry/exporters/jaeger/Adapter.java

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

* Update exporters/jaeger_thrift/src/main/java/io/opentelemetry/exporters/jaeger/JaegerThriftSpanExporter.java

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

* cleanup from PR review

* fix from upstream change

* add assertions about the results of the exports
and fix the code to make sure the results were included.

* update for api repackaging

* add some fuzzing tests for the id <-> long conversions

* change SpanId interface to match the TraceId one.

* Made a test method non-public

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2020-11-03 09:41:39 -08:00
Anuraag Agrawal 390d92e49a
Rename folder names from underscore to hyphen (#1968) 2020-11-03 14:46:40 +09:00
Trask Stalnaker 4699191495
Add doc explaining the restriction on return type (#1977)
* Add doc explaining the restriction on return type

* In more places
2020-11-03 14:20:16 +09:00
Bogdan Drutu add99ac946
Add test for otel in brave (#1888)
* Add test for otel in brave

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Ensure all propagation works

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Fix nullpointer exception

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-03 12:00:46 +09:00
Anuraag Agrawal 95fa0eae4d
Add a StrictContextStorage which keeps track of scope open / close to… (#1938)
* Add a StrictContextStorage which keeps track of scope open / close to throw errors when it's incorrect for tests.

* Separate out SettableContextStorageProvider

* Check noop too

* Update sdk/testing/src/main/java/io/opentelemetry/sdk/testing/context/StrictContextStorage.java

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-11-03 10:11:37 +09:00
HaloFour b083bc7e76
Documents that ContextStorage.current can return null (#1974)
* Fixes ThreadLocalContextStorage to return root Context if not set on current thread

* Kick CI

* Change docs on ContextStorage.current to indicate that it can return null

* Kick CI
2020-11-02 12:56:01 -08:00
Tyler Benson 9c446490af
Fix outdated javadoc (#1975) 2020-11-02 11:03:42 -08:00
Anuraag Agrawal 0e937d4c55
Use fine logging in w3c/b3 propagator instead of info. (#1966)
* Use fine logging in w3c propagator instead of info.

* Fine for b3 too
2020-11-02 07:47:11 -08:00
Bogdan Drutu 6e05d059ba
Add github action to build examples when changes are identified in example directory (#1962)
Update grpc version to generate one change in examples.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-02 06:41:31 -08:00
Bogdan Drutu 698e9f4ad6
Use boms for grpc and opentelemetry in the examples (#1953)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-01 08:07:47 -08:00
dengliming 42952755e8
Fix api link in README.md (#1956) 2020-10-31 21:48:32 -07:00
John Watson f034adb03b
Misc. cleanup: (#1942)
Rename TraceShim factory to OpenTracingShim
Remove factory method from OpenTracingShim which used mixed pieces of the openTelemetry components.
Made the constructor for W3CBaggagePropagator private.
Updated OpenTracingShim README
2020-10-31 13:42:00 -07:00
Bogdan Drutu f975dfe616
Update to use google java format 1.9 in the examples (#1954)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-10-31 13:25:15 -07:00
Bogdan Drutu 75d87f4673
Initial list of best practices to follow in our project (#1925)
* Initial list of best practices to follow in our project

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Update CONTRIBUTING.md

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

* Update CONTRIBUTING.md

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

Co-authored-by: John Watson <jkwatson@gmail.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2020-10-31 12:36:37 -07:00
Bogdan Drutu d00d50c906
Rename all packages to follow the module name definition (#1952)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-10-31 10:59:11 -07:00
Bogdan Drutu ab057cb48c
Fix small nit in readme (#1949)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-10-31 10:05:01 -07:00
John Watson e581182147
Create classes to hold on to the context keys. (#1945)
Inline methods in TCU and get rid of it.
2020-10-31 08:47:37 -07:00
Anuraag Agrawal c723de5b05
Merge context_prop into context artifact. (#1928) 2020-10-31 08:47:07 -07:00