Commit Graph

18 Commits

Author SHA1 Message Date
Lalit Kumar Bhasin f7af82e666
Support determining parent span from Context while creating new Span (#969)
Co-authored-by: Tom Tan <Tom.Tan@microsoft.com>
2021-09-08 10:24:09 -07:00
Sergii Baitala dc25ea6867
Fix casting to microseconds (#937) 2021-08-03 10:00:12 -07:00
Lalit Kumar Bhasin 2b080c1a4c
Return Scope object instead of unique_ptr<Scope> from Tracer::WithActiveSpan() (#788) 2021-05-25 13:30:43 +05:30
Lalit Kumar Bhasin 3fa6525f40
Add missing Copyright headers (#754) 2021-05-25 11:37:08 +05:30
Lalit Kumar Bhasin 5a97750c6e
Cleanup: Get Span from Context, Set Span to Context (#723) 2021-05-07 09:54:23 +05:30
Tom Tan 30434fa93e
Add InstrumentationLibrary to Tracer (#693) 2021-04-26 23:02:52 +05:30
Max Golovanov 2181b01f77
Code improvements for ETW exporter (#519) 2021-04-03 12:34:55 +05:30
Johannes Tax 2c976112f4
Use a consistent key for the current span in the context (#480) 2020-12-23 13:43:07 +05:30
Lalit Kumar Bhasin 2bab26e249
Support adding links to span (#351) 2020-11-12 11:47:05 -08:00
Karen Xu f2708921be
Move KeyValueIterable and KeyValueIterableView from trace to common (#363) 2020-10-17 20:10:44 -07:00
Johannes Tax 5aa3ecaa88
Add method to get currently active span (#339) 2020-09-25 15:56:00 -07:00
Johannes Tax dbf2e36478
Add Scope object to control the currently active span (#324) 2020-09-15 08:06:31 -07:00
Sam Atac a55843f580
Span auto add context (#252) 2020-08-12 12:51:20 -07:00
Johannes Tax 9b624b9bbb
Support for attributes on spans (#117) 2020-06-23 09:40:23 -07:00
Ryan f5bd54cde4
Add methods to Flush and Close a tracer (#45)
* Work on Flush-Close api

* Add Flush & Close

* Add flush and close interface

* Remove return type from Flush-Close

* Fix docs
2020-03-25 20:32:27 -07:00
Bryan Clement 752adcfa2c
Adding a tracer provider (#24) 2020-03-17 10:31:22 -07:00
Ryan 94d1af4ab7
Add inline namespace for ABI version (#46)
* Work on inline namespace

* Add an inline version namespace

* Reformat
2020-03-08 23:42:32 -07:00
Ryan 83b9b9ef97
Add a minimal Tracer and Span API (#25)
* Add a unique_ptr

* Fill out more unique_ptr functionality

* Add missing assignment

* Fill out unique_ptr

* Add unique_ptr tests

* Add equality comparison

* Add documentation

* Add minimal Tracer interface

* Update cmake

* Add tests to cmake

* Fix unused variable

* Fix comments

* Remove unused include

* Fix build for gcc48

* Fix test prefix
2020-01-15 13:42:28 -08:00