Commit Graph

1886 Commits

Author SHA1 Message Date
John Watson e59d983283
Update readme and examples for 1.0.0 (#2949)
* update versions in the README

* update the examples for 1.0.0
2021-02-26 14:18:16 -08:00
John Watson 20f1b3dd50
Changelog updates for the 1.0.0 release. (#2943)
* Changelog updates for the 1.0.0 release.

* update to point to the stable versions and api javadoc.
2021-02-26 12:35:53 -08:00
John Watson 6dd3eac097
Remove the documentation about explicit exceptions thrown when TraceFlags are invalid. (#2945) 2021-02-26 09:58:48 -08:00
Anuraag Agrawal 0d467ab670
Pass unmodifiable list to exporters (#2938) 2021-02-26 07:47:34 -08:00
beanliu f1c38ef616
Histogram Aggregation - core SDK - data (#2923)
* add histogram related metric data types

* update doc of histogram boundaries to make it compatible with latest change of ot-proto

* remove unnecessary helper

* simplify the create interface, add doc and validations
2021-02-24 16:03:04 -08:00
John Watson 1102efae1d
Update the docs on the TextMapPropagator to be closer to the specification. (#2931) 2021-02-24 13:06:57 -08:00
Bogdan Drutu bf5fa57df5
Move c-like comment to javadoc in TextMapPropagator (#2930)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-24 12:19:03 -08:00
Anuraag Agrawal 18df74eb19
Don't throw on null in propagator implementations. (#2904)
* Don't throw on null in propagator implementations.

* Baggage too
2021-02-24 09:28:16 -08:00
Anuraag Agrawal b393a587dd
Have AttributesMap extend HashMap instead of contain LinkedHashMap (#2906)
* Reduce HashMp allocations for AttributeMap.

* Finish

* Add comment on why wrapper is actually needed.
2021-02-24 09:24:25 -08:00
Anuraag Agrawal 0b973d9a3c
Defend against null in a few more places. (#2928) 2021-02-24 08:05:24 -08:00
Anuraag Agrawal 1ec484e2d6
Add event assertion, full attributes assertion, and fuzzy attribute value assertion. (#2927) 2021-02-24 08:02:08 -08:00
Kevin 3a0e7f60a0
Update README.md #2922 (#2926)
A small URL typo in the README.md
2021-02-24 07:54:55 -08:00
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