Carlos Alberto Cortez
26a4070d90
Remove Binary format and related members. ( #891 )
2020-03-03 08:47:41 -05:00
John Watson
42bff3e922
Ignore null or blank string-valued span attributes. ( #771 )
...
* Ignore null or blank string-valued span attributes.
* also ignore null & blank strings on active span attributes.
* change to ignore at the AttributeValue level, rather than above
2020-01-17 15:10:15 -08:00
Carlos Alberto Cortez
74c6595e67
Allow recording attributes in Span.Builder ( #685 )
...
* Initial support for attributes set in Span.Builder.
2019-12-05 12:49:17 -06:00
Bogdan Drutu
9c207f7459
Set default binary propagator. ( #630 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2019-10-24 19:16:07 -07:00
Bogdan Drutu
c2f9168e8f
Move sampler to the SDK ( #625 )
...
* Move sampler to the SDK
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Fix javadoc
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Update sdk/src/main/java/io/opentelemetry/sdk/trace/config/TraceConfig.java
Co-Authored-By: Armin Ruech <armin.ruech@gmail.com>
2019-10-24 11:06:32 -07:00
Bogdan Drutu
d6befaf711
Remove special timestamp definition ( #619 )
...
* Remove sepcial timestamp definition
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Update api/src/main/java/io/opentelemetry/trace/Span.java
Co-Authored-By: Armin Ruech <armin.ruech@gmail.com>
* ./gradlew goJF
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* fix build
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2019-10-22 18:14:55 -07:00
Bogdan Drutu
12ca38aa2f
Remove setRecordEvents option from the Span.Builder ( #606 )
...
* Remove setRecordEvents option from the Span.Builder
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Fix build, remove unnecessary overrides
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2019-10-12 11:32:54 -07:00
Carlos Alberto Cortez
0612372fd4
Add explicit timestamp support for Span start/end. ( #571 )
...
* Allow explicit Timestamp values for Span start/end.
* Update the code after merging master.
* Set end/start options only for the API.
* Add a clarification on setStartTimestamp().
* Make EndSpanOptions.getDefault() package private for now.
2019-10-11 08:34:45 -07:00
Bogdan Drutu
5d6fae1869
Add thread safe annotations for the public API. ( #501 )
2019-08-20 08:21:13 -07:00
Bogdan Drutu
2e0f703495
Remove SpanData per the RFC. ( #495 )
...
* Remove SpanData per the RFC.
* Fix review comments.
* Add more tests.
* Remove all references to SpanData.
2019-08-19 13:57:10 -07:00
Yang Song
da7ad86bee
Move HTTP and binary trace context format to trace.propagation. ( #450 )
2019-06-28 10:23:01 -07:00
Yang Song
a9054017f0
Return DefaultSpan if not recording events. Implement TracerSdk.shutdown(). ( #447 )
...
* Return DefaultSpan if not recording events.
Fixes #438
* Implement TracerSdk.shutdown().
Fixes #444 .
* Fix review comments.
* Ignore recordEvent or sampler if already shut down.
* Remove isStopped. Fix synchronization.
* Improve test coverage.
2019-06-28 09:59:05 -07:00
Yang Song
5a1681855f
Rename TraceContextFormat to HttpTraceContext. ( #449 )
2019-06-28 09:29:54 -07:00
Yang Song
27af3a17c3
Rename Blank SpanContext to Invalid. ( #383 )
2019-06-06 12:48:41 -07:00
Pavol Loffay
c62fe501b8
Remove resource setter and getter from Tracer ( #387 )
...
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-06-06 11:33:22 -07:00
Carlos Alberto Cortez
c75cc68123
Clean up the Link handling in Span. ( #388 )
...
* Clean up the Link handling in Span.
* Update api/src/main/java/io/opentelemetry/trace/Span.java
Co-Authored-By: Armin Ruech <armin.ruech@gmail.com>
* Update api/src/main/java/io/opentelemetry/trace/Span.java
Co-Authored-By: Armin Ruech <armin.ruech@gmail.com>
2019-06-06 11:30:07 -07:00
Yang Song
f62dbff017
Use static methods instead of variables. ( #379 )
...
* Each DefaultSpan has a unique span id. Remove INSTANCE.
* Use static methods instead of variables. Fixes #309 .
* Fix the order of static fields.
* Revert random SpanId from this PR.
2019-06-05 16:34:53 -07:00
Yang Song
4172855fcd
Rename BlankSpan to DefaultSpan. ( #376 )
2019-06-05 13:14:39 -07:00
Yang Song
0a0a27eeeb
Rename package resource to resources. ( #366 )
...
* Rename package resource to resources.
Fixes #259 .
* One more replace.
2019-05-31 12:55:02 -07:00
Tyler Benson
d0e397cc9a
Move [Span|TagMap]InScope and share between api/sdk ( #348 )
...
* Move [Span|TagMap]InScope and share between api/sdk
Removes duplication between the two projects
Fixes #333
* Add javadocs to new classes.
* Add @since attributes to javadocs
* Remove CurrentTagMapUtils
* Route scope creation through ContextUtils
and make scope classes access restricted.
2019-05-30 10:53:28 -07:00
Bogdan Drutu
3a7e634260
Rename Noop[Tracer|Tagger|Meter] to Default[Tracer|Tagger|Meter]. ( #321 )
...
* Rename Noop[Tracer|Tagger|Meter] to Default[Tracer|Tagger|Meter].
* Update variable names to default[Tracer|Tagger|Meter].
2019-05-21 13:33:17 +02:00