rghetia
521a6c40f1
move span, trace and event implementation to sdk. ( #27 )
...
* move event to sdk.
* move trace and span implementation to sdk.
- also added noop implementation of span and trace.
* fix review comments.
2019-06-26 22:03:09 -07:00
Isobel Redelmeier
541621cff0
Move basic example into its own subdirectory ( #25 )
...
This makes it more obvious (without having to look at the code) that
the basic example is actually an example, rather than something tied to
the other examples or some sort of metadata file.
2019-06-25 23:09:11 -07:00
rghetia
d6d9786732
rename Log and Logf interface to AddEvent and AddEventf. ( #22 )
...
* rename Log and Logf interface to AddEvent and AddEventf.
- also remove log package.
* provide only AddEvent interface to Span
- Event can be created using Event specific interface.
* add var trick for Event interface.
2019-06-25 13:50:46 -07:00
rghetia
abccacef85
Revert "Remove log interface from Span." ( #21 )
...
This reverts commit a551f0298c
.
2019-06-24 10:35:16 -07:00
rghetia
73b844930c
Remove log interface from Span. ( #18 )
2019-06-21 15:29:29 -07:00
rghetia
3c3532fb04
Add SetStatus, SpanContext and IsRecordingEvent ( #12 )
...
* Add span apis.
- SetStatus
- SpanContext
- IsRecordingEvent
* fix formatting.
* use grpc/codes.Code
* change Option to SpanOption
* fix format errors.
2019-06-19 10:44:46 -07:00
rghetia
b4a8d21a36
add license text. ( #10 )
2019-06-14 13:09:41 -07:00
Joshua MacDonald
e17f4468a6
Golang opentelemetry-go draft API (incomplete) ( #9 )
...
* Work in progress from https://github.com/lightstep/opentelemetry-golang-prototype
* Renames
* Rename
* Finish rename
* Rename packages
* README
2019-06-14 11:37:05 -07:00