Commit Graph

1874 Commits

Author SHA1 Message Date
YuDong Tang c9246b30a4
fix doc link (#2929) 2021-02-24 07:53:52 -08:00
Bogdan Drutu 75ea07e597
Fix more api dependencies which should be implementation (#2919)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-23 12:20:06 -08:00
Bogdan Drutu 3490002234
Move semconv dependency as implementation, not exposed in the API (#2918)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-23 08:45:21 -08:00
Bogdan Drutu becded2181
Remove throws statements from the API until we decide how to document it (#2912)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-22 18:30:09 -08:00
Bogdan Drutu 9e1c76b324
Do not allow null description in the StatusData (#2896)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-22 15:31:45 -08:00
Bogdan Drutu 013643c707
Add package-info for all packages (#2902)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-21 10:44:00 -08:00
Bogdan Drutu a1c25ec784
Move otproto to otlp:internal, so can be marked as stable (#2893)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-20 14:39:27 -08:00
Anuraag Agrawal 77e8f71480
Reduce usage of errorprone annotations to MustBeClosed. (#2898) 2021-02-20 11:43:59 -08:00
John Watson 5f8b6c9dbe
Update the CHANGELOG for 0.17.1 (#2901) 2021-02-19 09:42:06 -08:00
Anuraag Agrawal f495f009c2
Add code-of-conduct file. (#2900) 2021-02-19 08:26:46 -08:00
Anuraag Agrawal 4181913c83
Update links to workflows in RELEASING.md (#2899) 2021-02-19 07:53:58 -08:00
Anuraag Agrawal 6710f099e7
Delete old ResourceProvider class (#2895) 2021-02-19 14:05:20 +09:00
Anuraag Agrawal 7e1b8f924a
Allow updates that may require additional POM updates on minor updates. (#2891)
* Allow updates that may require additional POM updates on minor updates.

* Update VERSIONING.md

* Update VERSIONING.md
2021-02-19 13:45:46 +09:00
Bogdan Drutu f28947655b
Remove unnecessary dependencies on alpha artifacts (#2892)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-18 19:43:52 -08:00
John Watson 04fbc2e6c5
update the example code for the 0.17.0 release. (#2886)
* update the example code for the 0.17.0 release.

* update the otlp example to get the resource properly populated

* clean up the build.gradle files
2021-02-18 15:01:44 -08:00
John Watson b907616ad8
update a version that got missed in the README (#2889)
and fix the script that should have caught it.
2021-02-18 14:37:54 -08:00
John Watson 02ed0bdfcd
mark the proto modules as alpha, since they contain metrics and logs (#2888) 2021-02-18 13:46:37 -08:00
John Watson ded7256c48
Update the documention for 0.17.0 (#2885) 2021-02-18 10:32:41 -08:00
Bogdan Drutu a91e239406
Fix package info in semconv, move from empty package to resource (#2880)
* Fix package info in semconv, move from empty package to resource

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

* Update package-info.java
2021-02-18 09:45:15 -08:00
Anuraag Agrawal dc4de41cec
Add tests for resources with securitymanager enabled. (#2873) 2021-02-18 09:14:58 -08:00
Bogdan Drutu 93dd38a18d
Ensure ParametersAreNonnullByDefault is present in all packages (#2879)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-18 08:58:01 -08:00
Bogdan Drutu 64b9badaa5
Move Builder as non inner class in async-processor (#2866)
* Move Builder as non inner class in async-processor

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

* Update sdk-extensions/async-processor/src/main/java/io/opentelemetry/sdk/extension/trace/export/DisruptorAsyncSpanProcessorBuilder.java

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

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-02-18 08:40:39 -08:00
Anuraag Agrawal 0aef15b5cd
Make jaeger rate limit sampler only rate limit (#2875) 2021-02-18 08:39:33 -08:00
Bogdan Drutu 49af0f9fd4
Move Builder as non inner class in prometheus exporter (#2867)
* Move Builder as non inner class in prometheus exporter

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

* Update exporters/prometheus/src/main/java/io/opentelemetry/exporter/prometheus/PrometheusCollectorBuilder.java

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

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-02-18 07:12:39 -08:00
John Watson 59bf511a0f
Changelog updates for 0.17.0 (#2865)
* Changelog updates for upcoming 0.17.0

* add the upcoming removal of the random part

* Add the last couple changes for 0.17.0
2021-02-18 14:07:16 +09:00
Anuraag Agrawal 0eb4fb2ad5
Exclude all, not just span, generated semconv from coverage (#2872) 2021-02-18 13:33:37 +09:00
Bogdan Drutu e60b8101d1
[Breaking Change] Remove B3Propagator.Builder, add static methods to access possible instances (#2863)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-18 12:40:48 +09:00
Bogdan Drutu 55e96b3e87
Do not throw exception if byte array too short for fromBytes (#2868)
* Do not throw exception if byte array too short for fromBytes

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

* Update api/all/src/test/java/io/opentelemetry/api/trace/TraceIdTest.java

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-02-18 11:58:31 +09:00
Bogdan Drutu 49f4bd016e
Remove package protected unused class (#2870)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-18 11:35:31 +09:00
Bogdan Drutu 617162073a
Remove Nonnull annotations, we use package default Nonnull (#2871)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-18 11:35:21 +09:00
Anuraag Agrawal 8f787275fc
[Breaking Change] Make TraceId.getTraceIdRandomPart private (#2839)
* Move traceidrandom

* Make BigEndianEncoding public-internal to use for Android compatibility.

* Rename BigEndianEncoding to sound less useful if accidentally imported.
2021-02-17 16:59:54 -08:00
John Watson bd6a329211
Obfuscate the GlobalOpenTelemetry instance. (#2829)
* Obfuscate the GlobalOpenTelemetry instance.
This is to prevent people from casting to the SDK implementation.
Resolves #2788

* Add some more tests for the global obfuscation
2021-02-18 08:59:56 +09:00
Bogdan Drutu 7c038e00e9
Mark classes final, or hide ctor for testing classes (#2847)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 15:18:46 -08:00
Bogdan Drutu 904ca1d873
Move Builders as non inner classes in sdk-extension/logging (#2864)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 15:05:33 -08:00
Bogdan Drutu 6bb9894b2f
Mark public classes as final in sdk-extensions/logging (#2861)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 13:25:11 -08:00
Bogdan Drutu cdebf865ce
Mark public classes as final in sdk-extensions/autoconfigure (#2860)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 13:10:34 -08:00
Bogdan Drutu d439a43fb4
Mark public classes as final in intergration-tests/ (#2851)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 12:44:11 -08:00
Bogdan Drutu 865b596dba
Mark public classes as final in sdk-extensions/jaeger-remote-sampler (#2855)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 12:43:56 -08:00
Bogdan Drutu 41090fdd60
Mark public classes as final in extensions/aws (#2854)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 12:43:34 -08:00
Bogdan Drutu 509a2eee01
Mark GlobalMetricsProvider as final (#2852)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 12:43:03 -08:00
Bogdan Drutu cceac100c0
Avoid public unnecessary constants, mark classes final in opencensus-shim/ (#2850)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 12:42:15 -08:00
Bogdan Drutu 1c9e7c0e4d
Remove public from methods of not public class in opentracing-shim (#2853)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 12:41:50 -08:00
Anuraag Agrawal 0730a9e79c
[Breaking Change] Move ResourceProvider SPI to autoconfigure module (#2837)
* autoconfigure

* Finish

* Refactor

* Fix OsResource to use empty

* Fix BeanstalkResource to use empty

* Fix ResourceTest to use empty

* Fix Ec2Resource to use empty

* Fix EcsResource to use empty

* Fix ProcessRuntimeResource to use empty

* Fix ProcessRuntimeResource to use empty

* Fix EksResource to use empty

* Fix LambdaResource to use empty

* Fix ProcessResource to use empty

Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Bogdan Drutu <lazy@splunk.com>
2021-02-17 12:41:07 -08:00
Bogdan Drutu 94b37ebfd6
Mark public class TestClock as final (#2856)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 12:40:48 -08:00
Bogdan Drutu 26a5bcd269
Mark public classes as final in the exporters directory (#2849)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 12:37:11 -08:00
Bogdan Drutu a633d1ee87
[Breaking Change] Remove metrics exporter from stable testing package (#2857)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 12:29:05 -08:00
Bogdan Drutu 4166c961bc
Remove public unused class CommonProperties in otproto (#2848)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 12:28:49 -08:00
Bogdan Drutu 3f45fe0e95
Mark all public classes as final in the examples (#2846)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 12:27:17 -08:00
Anuraag Agrawal fa15e8b2d0
Remove BaggageBuilder.setParent / setNoParent (#2838) 2021-02-17 09:57:56 -08:00
Anuraag Agrawal 4623334c7c
Move Getter/Setter to top level (#2840) 2021-02-17 09:46:56 -08:00