Commit Graph

27 Commits

Author SHA1 Message Date
Marc Alff c42dcca9f8
[CI] Upgrade to clang-format 18 (#2684) 2024-05-29 22:01:06 +02:00
Marc Alff 17da6d87c1
[API] Add a new AddLink() operation to Span (#2380) 2023-10-27 18:27:57 +02:00
Marc Alff 0baf5015ea
[BUILD] enum CanonicalCode names too generic... conflict with old C defines (#2385) 2023-10-24 10:11:32 +02:00
Cengizhan Pasaoglu 990da7dd0f
Fix inclusion header files and use forward declaration for API (#2124) 2023-05-07 16:02:40 -07:00
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
Tom Tan c7d640936b
Remove unused public API to_span_ptr (#964) 2021-08-26 21:49:33 -07:00
Lalit Kumar Bhasin 3fa6525f40
Add missing Copyright headers (#754) 2021-05-25 11:37:08 +05:30
Johannes Tax a978920411
Get rid of obsolete core namespace in API (#686) 2021-04-22 12:15:10 +05:30
Lalit Kumar Bhasin cae3511915
Update StatusCode as per specs (#535) 2021-01-29 13:57:52 +05:30
Reiley Yang ab7f5f2054
Add spell check to CI (#527) 2021-01-21 09:49:02 +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
Max Golovanov 1e7b9d8a95
Using STD library for API surface (#374) 2020-12-22 11:27:48 +05:30
Karen Xu f2708921be
Move KeyValueIterable and KeyValueIterableView from trace to common (#363) 2020-10-17 20:10:44 -07:00
Johannes Tax 4a1b793ce7
Add functionality to explicitely specify a span parent (#349) 2020-10-09 00:55:39 -07:00
Johannes Tax dbf2e36478
Add Scope object to control the currently active span (#324) 2020-09-15 08:06:31 -07:00
Tianlin-Zhao 09983abea2
Added Http Trace Context (#143) 2020-08-25 18:18:40 -07:00
Sam Atac a55843f580
Span auto add context (#252) 2020-08-12 12:51:20 -07:00
Johannes Tax 9aa4797a6c
Don't move a constant AttributeValue (#141) 2020-07-10 11:08:04 -07:00
Johannes Tax 9b624b9bbb
Support for attributes on spans (#117) 2020-06-23 09:40:23 -07:00
Johannes Tax 58736f0cb0
Set span start and end timestamps (#98) 2020-06-08 17:36:00 -07:00
Johannes Tax 2973baaf47
Add a minimal tracer example (#86) 2020-06-08 16:52:41 -07:00
Ryan 3bbd2806c4
Support passing attributes with AddEvent (#60)
* Add varint files

* Fill out variant backport

* Add type_pack_element

* Add variant_size

* Add variant_alternative

* Fill out variant

* Fill out variant backport

* Fill out variant back port

* Fill out variant backport

* Fill out variant

* Fill out variant

* Add variant test

* Add get tests

* Add visit test

* Add more tests

* Fix variant tests

* Rename

* Reformat

* Add copyrights

* Add more variant tests

* Reformat

* Add more tests

* Fix for gcc-4.8

* Add AttributeValue

* Support passing attributes in AddEvents api

* Support passing attributes in AddEvent api

* Reformat

* Add cmake test

* Tweak function_ref

* Tweak function_ref

* Fix for gcc-4.8

* Reformat

* Add function_ref test

* Support arrays of primitives

* Support bool in AttributeValue

* Add documentation

* Allow sdk to use different clocks for timestamping

* Remove dead code

* Increase windows ci time limit

* Reformat

* Move AttributeValue to common

* Add missing type to AttributeValue
2020-05-10 17:09:21 -07:00
Ryan 2f228b0bfe
Add interface for a trace recorder (#44)
* Start Recorder api

* Fill out Span api

* Reformat

* Fill out Tracer class

* Add cmake build

* Add commenting

* Fix formatting

* Reformat

* Fix date

* Make mutex mutable

* s/mutex_/mu_/

* Remove AddEvent with steady timestamp

* Fix typo

* Fill in IsRecordable

* Use namespace macros

* Add thread-compatible note

* Add commenting
2020-03-12 21:17:10 -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
easy 3cc2c69dc8
Add Span API. (#35) 2020-02-25 11:25:55 +11:00
Ryan 9df8eb62a5
Add a Timestamp type (#29)
* Add timestamp

* Reword

* Reword

* Fix build for gcc48

* Fix cmake tests

* Update timestamp storage

* Reformat

* Split timestamp into a system and steady type
2020-01-27 20:07:51 -08: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