Commit Graph

31 Commits

Author SHA1 Message Date
Pranav Sharma d976876feb
[API] Add Enabled method to Tracer (#3357) 2025-04-22 07:13:52 -07:00
Alex E. 2d80c18304
[Code health] Perform cppcheck cleanup (#3150) 2024-12-07 00:34:19 +01:00
Marc Alff a9208987c5
[Code Health] include-what-you-use cleanup, part 3 (#3004) 2024-08-26 12:59:17 -07:00
Marc Alff f97dc061bc
[Code health] include-what-you-use cleanup (#2692) 2024-06-15 17:10:05 +02:00
Marc Alff 2535c70c4e
[API/SDK] Provider cleanup (#2664) 2024-06-03 22:46:08 +02:00
Marc Alff c42dcca9f8
[CI] Upgrade to clang-format 18 (#2684) 2024-05-29 22:01:06 +02:00
Tom Tan abad83d03e
[BUILD] Remove defining NOMINMAX from api (#2420) 2023-12-02 03:46:18 -08:00
Marc Alff 17da6d87c1
[API] Add a new AddLink() operation to Span (#2380) 2023-10-27 18:27:57 +02:00
Cengizhan Pasaoglu 990da7dd0f
Fix inclusion header files and use forward declaration for API (#2124) 2023-05-07 16:02:40 -07:00
Marc Alff 85b78784a5
Fix more build warnings (#1616) (#1620) 2022-09-20 11:43:08 -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
Bogdan Drutu 20db113ca3
Upgrade clang-format to 10.x, run ./tools/format.sh (#544) 2021-02-01 11:40:16 +05:30
Lalit Kumar Bhasin cae3511915
Update StatusCode as per specs (#535) 2021-01-29 13:57:52 +05:30
Max Golovanov 25a8668b0f
Resolve NOMINMAX issues where possible (#481) 2020-12-23 15:21:01 +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 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 8b3dd9ce32
Test bazel on windows (#58)
* Test bazelisk on windows

* Fix install_bazelisk script

* Limit windows bazel testing

* Use separate windows_bazel job

* s/WIN32/_WIN32/

* Fix windows bazel compilation issue

* Fix windows bazel compilation issue
2020-03-26 23:07:07 -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
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 928080ef80
Add bazel.noexcept to CI. (#41)
This is to ensure OpenTelemetry works without exception handling.
2020-03-03 12:21:48 +11:00
Ryan 4dd7a6b520
Add plugin support (#36)
* Add code for dynamic loading

* Add a mock hook

* Fix CopyErrorMessage

* Set up loading example

* Add plugin example

* Add plugin example

* Make a noisy plugin

* Remove mock from sdk

* Add ci for testing plugin

* Reformat

* Remove noexcept from alias

* Add windows stub

* Add missing includes

* Document

* Reorganize

* Fix formatting

* Setup plugin test for windows

* Fix typo

* Fix windows script

* Fix windows script

* Fix typo

* Fix windows path

* Fill out windows testing

* Fix windows script

* Fix windows script

* Fix windows script

* Fix windows script

* Fix windows script

* Fill in windows loading code

* Use std::string for error message

* Fix example

* Use string for error_message

* Fix namespace error

* Add windows error handling

* Fix windows preprocessor error

* Fix signature

* Add tests for plugins

* Fix formatting

* Refactor plugin test

* Drop unused private section

* Update for master
2020-02-25 12:02:08 -08:00