Bogdan Drutu
e187c18112
Consistent name for Trace/Span ids getters with the specification ( #2721 )
...
See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#retrieving-the-traceid-and-spanid
Not breaking change since methods were just renamed anyway.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-05 20:33:32 -08:00
Bogdan Drutu
0b250c1c91
Cleanup usages of TraceState and TraceFalgs ( #2697 )
...
* Avoid calling TraceState.builder().build() and replace it with TraceState.getDefault();
* Avoid storing TraceFalgs.getDefault() and TraceFalgs.getSampler() and use them directly;
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-03 18:39:52 -08:00
Anuraag Agrawal
b8c5acd3ff
Rename TraceConfig -> SpanLimits and move to upper package. ( #2686 )
2021-02-04 09:10:05 +09:00
Bogdan Drutu
88e760d01c
[BREAKING CHANGE] Remove AsHexString suffix from ids getters. ( #2684 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-03 10:40:43 -08:00
Bogdan Drutu
19c002471e
Move Span.Kind to the upper level as SpanKind ( #2646 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-02 12:27:54 -08:00
Anuraag Agrawal
6eee5ba4ae
Update dependencies ( #2618 )
...
* Update dependencies
* Inline annotations
* Revert "Inline annotations"
This reverts commit 8facc4ddbe .
* Unmodifiable
2021-02-01 12:21:00 +09:00
Anuraag Agrawal
3e341f9af5
Update changelog / docs for 0.15.0 ( #2603 )
2021-01-29 08:55:45 -08:00
Anuraag Agrawal
32a63fb8e3
Migrate to using gradle platform to manage dependency versions instea… ( #2586 )
...
* Migrate to using gradle platform to manage dependency versions instead of global variables.
* Remove unused and fix test
* Revert test yolo
* Workaround test ordering issue by just merging them
* Spot
2021-01-27 13:54:58 +09:00
Anuraag Agrawal
15fcadd8d7
Move Sampler to SdkTracerProvider ( #2585 )
...
* Move Sampler to SdkTracerProvider
* Better zpages
* Test
2021-01-26 20:32:49 -08:00
Anuraag Agrawal
e0f6260bc9
Remove ConfigBuilder and deprecated exporter constants / timeouts ( #2506 )
...
* Remove deprecated usage from exporters
* Remove ConfigBuilder and deprecated exporter settings.
2021-01-14 09:31:03 +09:00
John Watson
bd5a770afa
Update the READMEs for 0.14.1 ( #2516 )
...
and remove the readme updating step from the patch release action
2021-01-13 13:11:43 -08:00
Anuraag Agrawal
b9ae80d0f4
Update README for 0.14.0 release ( #2502 )
2021-01-13 08:41:55 -08:00
Anuraag Agrawal
86cd56441c
Deprecate StatusData.isUnset ( #2500 )
...
* Deprecate StatusData.isUnset
* Cleanup
* option 2
2021-01-13 13:58:30 +09:00
Bogdan Drutu
ca661b8c40
Avoid using inner classes in SpanData ( #2495 )
...
* Avoid using inner classes in SpanData
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Javadoc cleanups
* Remove non-existent type param
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-01-12 19:12:00 -08:00
John Watson
fc28ee5696
Update the README ( #2479 )
...
* Update the README to use the bom for dependencies
* allow auto-alpha updating of docs
* update the metrics to show the most recent alpha
* make the zpages docs update with the alpha tag
* Update README.md
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* update the gradle snapshot example
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-01-12 14:06:54 +09:00
John Watson
5daa50ffdc
Mark a few more modules as alpha release status ( #2436 )
...
* mark a few more modules as alpha release status
* alphacate a few more modules
* remove the copyright/license from gradle.properties
2021-01-07 20:30:53 -08:00
Anuraag Agrawal
4b8a0c8591
Add TraceConfig.builder() ( #2445 )
2021-01-07 10:02:53 -08:00
Anuraag Agrawal
bdbab03332
Deprecate ConfigBuilder. ( #2442 )
2021-01-07 08:52:39 -08:00
Anuraag Agrawal
d48eab6aa9
Allow registering TraceConfigSupplier and use it from zpages. ( #2390 )
...
* Allow registering TraceConfigSupplier and use it from zpages.
* Finish
* Remove unnecessary method
* Same method name
2020-12-23 11:52:17 +09:00
Anuraag Agrawal
8fc4e627ca
Reduce usage of GlobalOpenTelemetry ( #2386 )
...
* Reduce usage of GlobalOpenTelemetry
* Cleanup
2020-12-23 10:17:46 +09:00
Anuraag Agrawal
f1fa6ba44d
Return SpanProcessor from zpages instead of automatically mutating global ( #2376 )
2020-12-21 13:00:27 -08:00
Bogdan Drutu
95163d71fb
Avoid using mutable addSpanProcessor when trivial to change ( #2365 )
...
* Run go mod tidy on the master
* Fixes
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2020-12-21 12:22:36 +09:00
Anuraag Agrawal
6954d1f624
Use normal filesystem-based Gradle paths. ( #2332 )
...
* Use normal filesystem-based Gradle paths.
* Update workflow by making agnostic to jacoco project name
* More merge
2020-12-18 12:07:33 +09:00
John Watson
d2a012ac33
update the docs for the 0.13.1 patch release. ( #2351 )
2020-12-18 08:51:36 +09:00
John Watson
b01afaac46
CHANGELOG and documentation updates for the 0.13.0 release ( #2338 )
...
* CHANGELOG updates for Dec 17, 2020
* update docs for 0.13.0 release
* point to github discussions
2020-12-17 12:28:17 -08:00
Anuraag Agrawal
17fa4e9c97
Only apply java-library to projects and configure reactively. ( #2319 )
...
* Use java-library
* Only apply java-library to projects and configure reactively.
* Consistency
* Cleanup
2020-12-17 09:11:44 +09:00
Bogdan Drutu
25bf879df7
Split global functionality into a separate class ( #2233 )
...
This ensure clear separation of functionality. This PR does not change any functionality, it just restructures the code to separate global functionality from
the Default implementation. Also helps to ensure that Global initialization does not happen by mistake when working only with the default implementation.
Also it helps with methods like `OpenTelemetry.get()` and `OpenTelemetry.set()` to understand they are interacting with global instance
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-15 10:27:35 -08:00
Anuraag Agrawal
91dc119181
Move Sdk to be prefix of implementation classes instead of suffix/midfix. ( #2292 )
2020-12-14 11:59:28 -08:00
Anuraag Agrawal
56235a1114
Move TraceConfig.Builder to the top level ( #2241 )
...
* Move TraceConfig.Builder to the top level
* Remove builder
2020-12-09 19:54:07 -08:00
John Watson
a3615b9d91
have the zpages README reference a released version ( #2201 )
2020-12-05 14:52:03 +09:00
Anuraag Agrawal
658d23ee1d
Update README + Changelog for 0.12.0 release. ( #2196 )
2020-12-04 10:36:36 -08:00
Anuraag Agrawal
4762c6a25d
Remove ReadableAttributes ( #2187 )
...
* Remove ReadableAttributes
* Don't rewrite history
* Drift
2020-12-03 11:26:24 -08:00
Anuraag Agrawal
cf5b582c5b
Replace AttributeConsumer with BiConsumer ( #2174 )
...
* Replace AttributeConsumer with BiConsumer
* Forgot to delete
2020-12-02 16:52:06 +09:00
Anuraag Agrawal
ca3714053f
Replace SpanData.hasRemoteParent/getParentSpanId with getParentSpanContext ( #2146 )
...
* Remove SpanData.hasRemoteParent
* Replace parentSpanId with parentSpanContext
* Update sdk/trace/src/main/java/io/opentelemetry/sdk/trace/RecordEventsReadableSpan.java
Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
* Keep parentId
Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
2020-12-01 09:50:11 -08:00
Anuraag Agrawal
af77508af7
Remove Guava from zpages ( #2150 )
...
* Remove Guava from zpages
* Clean
2020-12-01 14:14:36 +09:00
Anuraag Agrawal
96c7f404b4
Don't repeat Java 8 support among all the subproject READMEs and at top level, clarify that published artifacts are Java 8, but building requires additional instructions. ( #2124 )
2020-11-24 09:04:40 -08:00
John Watson
ec7884fbf0
Update the docs for the 0.11.0 release ( #2097 )
...
* update the docs for the 0.11.0 release
* also update the examples dependency, since no changes are necessary
2020-11-19 12:20:08 -08:00
Anuraag Agrawal
bd652270dd
Remove usages of beta Guava APIs. ( #2095 )
2020-11-19 12:18:34 -08:00
John Watson
1fe334ff12
Some cleanup in span land. ( #2062 )
...
CHANGELOG: Deprecated the `getCanonicalCode` method on `SpanBuilder` ; replaced with `getStatusCode`
* Some cleanup in span land.
* Clean up the SpanBuilder javadoc to match the current APIs
* Scrub mentions of canonical status code
* Deprecate the getCanonicalCode method on SpanBuilder and replace with getStatusCode
* rename an internal method to make more sense
* Update api/src/main/java/io/opentelemetry/api/trace/SpanBuilder.java
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
* Update api/src/main/java/io/opentelemetry/api/trace/SpanBuilder.java
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
* Update api/src/main/java/io/opentelemetry/api/trace/SpanBuilder.java
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
* add tests for the deprecated method
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2020-11-11 18:34:07 -08:00
Anuraag Agrawal
1883c578bd
Add unit to start, end and event timestamp accepting methods in Span. ( #1969 )
...
* Add unit to timestamp accepting methods in Span.
* end timestamp
* Merge
* Merge
* Add Instant versions too
2020-11-09 16:19:52 -08:00
Carlos Alberto Cortez
4aba70877c
Push README updates. ( #2024 )
2020-11-05 16:03:42 +01: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
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
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
Anuraag Agrawal
390d92e49a
Rename folder names from underscore to hyphen ( #1968 )
2020-11-03 14:46:40 +09:00