Bogdan Drutu
fb3af1a196
Remove ocshim. We will replace in the OpenCensus directly. ( #341 )
2019-05-23 18:45:45 +02:00
Pavol Loffay
9d9a62d21b
Add empty implementation of Meter to SDK ( #342 )
...
* Add empty implementation of Meter to SDK
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Add comments to meter, tagger and tracer in SDK
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-23 17:50:39 +02:00
Bogdan Drutu
a668e96e09
Add TimeConverter that allows conversion from monotonic clock to epoch. ( #320 )
...
* Add TimeConverter that allows conversion from monotonic clock to epoch.
* Use javadoc comments.
2019-05-23 14:26:38 +02:00
Pavol Loffay
e2fc2d3f72
Implement tracer provider in SDK ( #334 )
...
* Implement tracer provider in SDK
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Fix rebase
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-23 14:21:00 +02:00
Bogdan Drutu
fc87e7593e
Change DefaultTagger to propagate the TagMap in the process. ( #332 )
2019-05-22 16:17:49 +02:00
Bogdan Drutu
ac4d79b056
Move CODEOWNERS to root directory. ( #331 )
2019-05-21 13:36:05 +02: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
Tyler Benson
65e2c9b04a
Add @tylerbenson as CODEOWNER ( #330 )
...
As this is part of the process for new Approvers.
2019-05-20 15:01:56 -07:00
Carlos Alberto Cortez
792ffa9c59
Make TimedEvent accept io.opentelemetry.trace.Event objects. ( #328 )
2019-05-20 18:21:16 +02:00
Pavol Loffay
eb832c9116
Define noop tracer/metrer/tagger as singletons ( #322 )
...
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-20 09:25:07 +02:00
Pavol Loffay
911b4cbc89
Prohibit returning null in extract javadoc ( #327 )
...
* Prohibit returning null in extract javadoc
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Fix
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-17 19:53:10 +02:00
Carlos Alberto Cortez
c8f0f7cf9c
Span parent cleanup ( #296 )
...
* Set the Span's parent from its Builder.
* Add Span.Builder.setNoParent().
2019-05-17 18:30:50 +02:00
Pavol Loffay
3c30af2bc5
Fix tracer provider javadoc ( #324 )
...
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-17 18:03:47 +02:00
Bogdan Drutu
7f4d9536ad
Make Event interface. ( #317 )
2019-05-17 01:46:20 -07:00
Bogdan Drutu
3c022ba9d8
Update Link comments in Span ( #318 )
...
* Update Link comments in Span
* ./gradlew goJF
2019-05-16 07:08:15 -07:00
Bogdan Drutu
b37b664783
Use Timestamps from proto-util instead of writing our own. ( #313 )
2019-05-16 06:49:17 -07:00
Bogdan Drutu
584b31fb1a
Rename noop classes to NoopMainClass. ( #315 )
2019-05-16 06:48:52 -07:00
Bogdan Drutu
6ff77bc50b
Make Sampler an interface. ( #316 )
2019-05-15 18:11:49 -07:00
Bogdan Drutu
ed5bfc6d26
Add support to directly interact with current Context in the unsafe for tags. ( #314 )
2019-05-15 17:26:06 -07:00
Pavol Loffay
f11a0186ba
Propagate span context in noop ( #301 )
...
* Propagate span context in noop
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Remove comment
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-15 16:58:18 -07:00
Bogdan Drutu
1bc34614ae
Remove docs from master branch. Will be moved to gh-pages. ( #311 )
2019-05-15 12:04:53 -07:00
Pavol Loffay
3937226790
Clarify Link javadoc ( #304 )
...
* Clarify Link javadoc
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Revert and remove different
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-15 09:29:30 -07:00
Pavol Loffay
05e7440943
Add pavolloffay to codeowners ( #307 )
...
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-15 08:59:04 -07:00
Pavol Loffay
16a04488e1
Move providers to component.spi packages ( #303 )
...
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-15 09:32:22 +02:00
Bogdan Drutu
db6b5fb96e
Cleanup ContextUtil usages. ( #306 )
2019-05-14 16:19:05 -07:00
Pavol Loffay
e143bccfb6
Add tagger to global registry ( #299 )
...
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-14 16:04:32 +02:00
Carlos Alberto Cortez
37a2e5bc62
Clean up the asChildOf()/addReference code in the OT shim. ( #254 )
2019-05-14 15:57:40 +02:00
Yang Song
b2265bda90
Add songy23@ to code-owners ( #298 )
2019-05-14 06:50:29 -07:00
Pavol Loffay
33e9c0e3ba
Propagate blank span through context ( #258 )
...
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-14 15:46:25 +02:00
Pavol Loffay
8022e33bc6
Use w3c tracecontext format in noop tracer ( #274 )
...
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-14 14:10:07 +02:00
Bogdan Drutu
4bf821d821
Cleanup gradle files. ( #297 )
2019-05-13 17:33:39 -07:00
Bogdan Drutu
79ba36a00c
SDK: Add SpanProcessor as an interface to process Spans when start/end. ( #264 )
...
* Add a SpanInterceptor interface that allows hooking into start/end events.
* Fix header and style.
* Clarify that the processor methods should not block. Rename SpanInterceptor to SpanProcessor.
2019-05-13 17:30:19 -07:00
Bogdan Drutu
b5475b40f3
Remove schemas from java repo, moved to specifications. ( #286 )
2019-05-13 13:12:05 -07:00
Pavol Loffay
92015fee1a
Add W3C tracecontext propagation ( #273 )
...
* Add W3C tracecontext propagation
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Remove empty line
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-13 17:14:46 +02:00
Bogdan Drutu
ba185fd18c
Fix the build because of the race merge between spi Meter and remove Stats. ( #271 )
2019-05-12 14:56:36 -07:00
Bogdan Drutu
cc1dd8764a
Add an all gradle module that reports coverage and builds all javadoc. ( #266 )
...
* Add an all gradle module that reports coverage and builds all javadoc.
* Update description for the all module.
* Fix a copy/paste opencensus issue.
* Remove unnecessary step in travis.
2019-05-10 22:42:33 -07:00
Bogdan Drutu
e7556411b6
Fix small warnings. ( #267 )
2019-05-10 18:56:31 -07:00
Bogdan Drutu
67f552363c
Move stats to metrics. ( #241 )
2019-05-10 16:50:39 -07:00
Bogdan Drutu
d7b0bc9233
Update readme to reflect the new status of the project ( #265 )
2019-05-10 16:55:16 -04:00
Pavol Loffay
1eec5efbfa
Add meter to global registry ( #257 )
...
* Add Meter to global registry
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Add nullable
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Add test
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* reset before class
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-10 13:12:06 -07:00
Bogdan Drutu
37b0d555de
Add a Clock interface, testing and real implementation. ( #260 )
2019-05-09 10:45:10 -07:00
Carlos Alberto Cortez
23bd5891a0
Readme add modules desc ( #255 )
...
* Add a small description of the components to the README.
2019-05-09 17:13:32 +02:00
Carlos Alberto Cortez
cfddecb101
Expose the OT Tracer shim as done by related classes. ( #250 )
...
* Expose the OT Tracer shim as done by related classes.
We don't need to expose the actual TracerShim type;
we are now exposing a pair of methods to create the
shim layer.
2019-05-08 17:53:46 +02:00
Bogdan Drutu
f1e69c4caf
Fix artifact group name and root project name. ( #256 )
2019-05-07 13:12:01 -07:00
Bogdan Drutu
750e16c5e7
Remove metric registry and fix examples. ( #238 )
2019-05-07 09:34:18 -07:00
Pavol Loffay
3cc0af53af
Remove Trace class ( #252 )
...
* Remove Trace class
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Fix check
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Fix comments
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* use OT by default in shim
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-07 17:50:45 +02:00
Bogdan Drutu
53a2ea937c
Move TagMapBuilder to TagMap.Builder for consistency. ( #251 )
2019-05-07 08:20:25 -07:00
Pavol Loffay
80e5a1d2f3
Add a global registry ( #218 )
...
* Add a gobal registry for tracer
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Use foreach
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-07 13:14:25 +02:00
Carlos Alberto Cortez
8b1865303a
Update our OpenTracing dependency to 0.33.0 ( #249 )
2019-05-06 20:27:26 +02:00
Carlos Alberto Cortez
bddd3d0b23
Report an error for the OOB Span calls. ( #247 )
2019-05-06 16:12:58 +02:00