Lalit Kumar Bhasin
7b1842b9cb
Separate baggage<->Context api from Baggage Propagator ( #963 )
2021-08-30 16:19:36 -07:00
Tom Tan
c7d640936b
Remove unused public API to_span_ptr ( #964 )
2021-08-26 21:49:33 -07:00
Lalit Kumar Bhasin
61d3c5e318
Document DefaultSpan, remove DefaultTracer ( #959 )
2021-08-25 09:07:39 -07:00
Lalit Kumar Bhasin
da5c79af98
Release for 1.0.0-rc4 ( #940 )
2021-08-05 00:24:34 +05:30
Sergii Baitala
dc25ea6867
Fix casting to microseconds ( #937 )
2021-08-03 10:00:12 -07:00
Yerannnnnn
3a3bf25289
🐛 Fix for Stack::Resize capacity_ ( #934 )
2021-08-03 11:52:19 +05:30
Lalit Kumar Bhasin
5414ebe92a
Adding semantic-convention attributes for trace ( #868 )
2021-07-30 22:17:53 +05:30
Lalit Kumar Bhasin
af34ccf43f
Release for 1.0.0-rc3 ( #900 )
2021-07-13 22:09:08 +05:30
Lalit Kumar Bhasin
124087f145
runtime context cleanup ( #885 )
2021-07-09 10:11:45 +05:30
Lalit Kumar Bhasin
98013c2563
Support for TextMapPropagator::Fields method ( #799 )
2021-07-02 10:47:22 +05:30
Lalit Kumar Bhasin
2383d99d4d
Associate valid SpanId/SpanContext with Spans irrespective of the Sampling decision. ( #879 )
2021-07-01 09:11:50 +05:30
Max Golovanov
47859cc37e
ETW example and tests clean-up ( #882 )
2021-07-01 08:07:27 +05:30
Lalit Kumar Bhasin
ae6d81088c
Adding semantic-convention attributes for resources ( #872 )
2021-06-24 10:24:54 +05:30
Lalit Kumar Bhasin
c0b459e75d
Release for 1.0.0-rc2 ( #866 )
2021-06-18 22:02:28 +05:30
Max Golovanov
8bf9bbcb62
Improve C++20 detection with CMake 3.12+ and gcc-9/c++20 support fixes ( #860 )
2021-06-16 23:00:15 +05:30
WenTao Ou
521ebd8f51
+ Move `CORE_RUNTIME_LIBS` into dependency of `opentelemetry_api` ( #850 )
2021-06-12 21:29:37 +05:30
Max Golovanov
865b9e7961
Fix dynamic_extent issue when compiling with vs2017 (C++14 or C++17) ( #846 )
2021-06-12 00:44:45 +05:30
Max Golovanov
5acf4cf597
More fixes to build all with Visual Studio 2015 ( #840 )
2021-06-09 12:51:25 +05:30
WenTao Ou
1060f882be
Fix issue #834 ( #835 )
2021-06-09 09:12:44 +05:30
Lalit Kumar Bhasin
93dd39bd92
Release for 1.0.0-rc1 ( #824 )
2021-06-05 01:11:32 +05:30
Max Golovanov
d0e73c87c4
Switch from MPark variant to `absl::variant` as default ( #771 )
2021-06-04 23:59:02 +05:30
David Li
3de8f35475
Add #include <cctype> to baggage.h ( #822 )
2021-06-04 12:31:15 +05:30
Lalit Kumar Bhasin
f793e6e45e
Add preview feature-flag/macro for logs ( #807 )
2021-05-29 10:04:52 +05:30
Lalit Kumar Bhasin
ac0e6174e7
Release for 0.7.0 ( #800 )
2021-05-27 07:55:56 +05:30
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
Tom Tan
8474404ab0
Update code example in comment of HttpTraceContext ( #793 )
2021-05-24 23:02:13 +05:30
Lalit Kumar Bhasin
c28be737f0
Implement Baggage propagator ( #732 )
2021-05-17 15:44:56 +05:30
Lalit Kumar Bhasin
b696e11b7c
Add preview feature-flag/macro for metrics ( #745 )
2021-05-14 14:37:28 +05:30
Tom Tan
414a7314f7
Make ContextValue default constructible with monostate ( #731 )
2021-05-13 22:38:35 +05:30
Lalit Kumar Bhasin
b4584adeaa
Release for 0.6.0 ( #739 )
2021-05-12 00:18:25 +05:30
Johannes Tax
01b7a841c2
Minor api documentation cleanup ( #728 )
2021-05-08 13:15:32 +05:30
Lalit Kumar Bhasin
5a97750c6e
Cleanup: Get Span from Context, Set Span to Context ( #723 )
2021-05-07 09:54:23 +05:30
Lalit Kumar Bhasin
2d2aa71ae7
restructure propagators ( #715 )
2021-05-05 11:27:51 +05:30
Max Golovanov
1d1ea05bbb
Visual Studio 2019 fixes for API headers ( #699 )
2021-04-28 01:21:55 +05:30
Max Golovanov
c873caf0e8
Visual Studio 2019 (C++20 w/STDLIB) fixes ( #704 )
2021-04-27 22:46:17 +05:30
Tom Tan
30434fa93e
Add InstrumentationLibrary to Tracer ( #693 )
2021-04-26 23:02:52 +05:30
Lalit Kumar Bhasin
790900857e
Release for 0.5.0 ( #697 )
2021-04-26 22:41:26 +05:30
Lalit Kumar Bhasin
f10acac2fe
Non-template propagator, Implement Global Propagator, no-op propagator ( #668 )
2021-04-23 19:37:18 +05:30
Johannes Tax
a978920411
Get rid of obsolete core namespace in API ( #686 )
2021-04-22 12:15:10 +05:30
nikhil1511
c8c697f9dd
Adding baggage implementation ( #676 )
2021-04-21 14:50:27 +05:30
Johannes Tax
14eef5d361
Attribute value cleanup ( #679 )
2021-04-20 14:38:41 +05:30
Max Golovanov
b0f27a465e
More vs2019 minor warnings cleanup ( #675 )
2021-04-16 15:19:40 +05:30
Max Golovanov
d1f0b136e3
Resolve warnings about unused parameter in interface definitions ( #674 )
2021-04-14 06:40:48 +05:30
Max Golovanov
b73cdbc5ae
Disable noisy compiler warnings ( #673 )
2021-04-14 00:19:27 +05:30
Evgeny Yakimov
aeb8230ad2
Add SpanContext (and TraceState) to Recordable ( #667 )
2021-04-13 09:28:17 +05:30
Lalit Kumar Bhasin
3ce3e7667f
Release for 0.4.0 ( #672 )
2021-04-12 22:33:08 +05:30
Evgeny Yakimov
d129d42242
Make `Context::HasKey` const ( #671 )
...
- Update `Context::HasKey` to be const
- Add const qualifier to HasKey,GetValue to validate constness
2021-04-12 10:33:30 +05:30
Siim Kallas
1a5737af03
add missing inline specifiers ( #660 )
2021-04-06 21:20:09 +05:30
nikhil1511
afa2e79819
Refactoring trace_state to reuse common functionality in baggage ( #638 )
2021-04-06 00:44:00 +05:30
Max Golovanov
2181b01f77
Code improvements for ETW exporter ( #519 )
2021-04-03 12:34:55 +05:30
Quentin
bd68a22ff5
Fix some C++ warnings ( #619 )
2021-03-24 14:31:10 +05:30
Lalit Kumar Bhasin
7d083a5b84
Release for 0.3.0 ( #617 )
2021-03-23 09:55:39 +05:30
Siim Kallas
07f4a96bfe
Simplify propagators ( #608 )
2021-03-18 16:47:13 +05:30
Siim Kallas
1e5751e203
Add Jaeger propagator ( #599 )
2021-03-12 22:47:02 +05:30
Lalit Kumar Bhasin
58a1e8c1ed
Add composite propagator ( #597 )
2021-03-09 16:40:34 +05:30
Lalit Kumar Bhasin
b8a08eb550
Integrate TraceState with http_trace_context propagator ( #563 )
2021-03-04 13:16:13 +05:30
Lalit Kumar Bhasin
7706c6d61d
Release for 0.2.0 ( #594 )
2021-03-03 01:06:00 +05:30
Tom Tan
3848295db0
Add TraceState to SpanContext ( #561 )
2021-02-23 23:57:10 +05:30
Tomasz Rojek
7ae5b54d37
Rename HTTPTextFormat to TextMapPropagator ( #586 )
2021-02-23 23:36:26 +05:30
Reiley Yang
24a080fcdd
lint and reformat markdown ( #579 )
2021-02-12 14:09:40 -08:00
Max Golovanov
18e8d9f8f7
Patches to enable Visual Studio 2015 - Update 2 support ( #565 )
2021-02-10 12:54:47 +05:30
Lalit Kumar Bhasin
ea871308f0
TraceState implementation as per spec ( #551 )
2021-02-04 11:58:18 +05:30
Tom Tan
92f0533ca4
Remove all TBD files ( #547 )
2021-02-02 13:11:52 +05:30
Bogdan Drutu
20db113ca3
Upgrade clang-format to 10.x, run ./tools/format.sh ( #544 )
2021-02-01 11:40:16 +05:30
Tom Tan
28366779d8
Fix branch name to main in links ( #545 )
2021-01-29 16:24:28 -08:00
Lalit Kumar Bhasin
cae3511915
Update StatusCode as per specs ( #535 )
2021-01-29 13:57:52 +05:30
Tomasz Rojek
eccafd591d
Adding B3 propagator ( #523 )
2021-01-28 21:15:13 +05:30
Tom Tan
d94a368f28
Improve invalid span Id check ( #538 )
2021-01-28 11:55:48 +05:30
Johannes Tax
51eef56efa
Rename SpanContext.HasRemoteParent to SpanContext.IsRemote ( #529 )
2021-01-21 22:59:29 +05:30
Lalit Kumar Bhasin
c4df3bfab0
fix namespace in trace_state class ( #526 )
2021-01-21 12:16:34 +05:30
Reiley Yang
ab7f5f2054
Add spell check to CI ( #527 )
2021-01-21 09:49:02 +05:30
Josh Suereth
3cb5d26746
Update spin-lock implementation to use incremental back-off strategy and be single-CPU friendly(ish) ( #443 )
2021-01-05 23:33:56 +05:30
Max Golovanov
fa7a5e44e9
Update http_trace_context.h ( #494 )
2021-01-04 10:55:09 +05:30
Max Golovanov
25a8668b0f
Resolve NOMINMAX issues where possible ( #481 )
2020-12-23 15:21:01 +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
Mark
d787758e33
Supporting Logging API .Log() Overloads and GetName() method ( #422 )
2020-12-20 18:15:53 +05:30
Lalit Kumar Bhasin
aff3547327
as per semver2 first release should be 0.1.0 ( #463 )
2020-12-18 10:22:34 +05:30
Karen Xu
106c00a4a4
Add a Recordable interface, implementation, and tests for logs ( #438 )
2020-12-14 23:41:14 +05:30
Josh Suereth
11cc6cd8b1
SpinLock Improvements ( #415 )
...
SpinLock Improvements
2020-12-07 12:03:16 +05:30
Lalit Kumar Bhasin
2bab26e249
Support adding links to span ( #351 )
2020-11-12 11:47:05 -08:00
Johannes Tax
be1bbad6eb
Change strategy for detaching contexts ( #383 )
2020-10-29 21:28:53 -07:00
Johannes Tax
f5079b56b3
Simplify context implementation ( #372 )
2020-10-29 11:32:29 -07:00
Karen Xu
e3bf61e976
Initial Commit of Logging API ( #378 )
2020-10-27 18:58:10 -07:00
Karen Xu
f2708921be
Move KeyValueIterable and KeyValueIterableView from trace to common ( #363 )
2020-10-17 20:10:44 -07:00
Josh Suereth
0f3a5c820c
Simple fix for #331 : Add atomic_flag protection around exporter usage in SimpleProcessor. ( #358 )
2020-10-12 15:40:41 -07:00
Johannes Tax
4a1b793ce7
Add functionality to explicitely specify a span parent ( #349 )
2020-10-09 00:55:39 -07:00
Lalit Kumar Bhasin
7826040ba3
fix compile time warnings ( #352 )
2020-10-07 10:27:53 -07:00
Tom Tan
6d869051eb
Change type of Resize capacity from int to size_t ( #346 )
2020-09-30 10:57:54 -07:00
Johannes Tax
8d786439b8
Optimize no-op span creation ( #340 )
2020-09-29 09:27:36 -07:00
Johannes Tax
5aa3ecaa88
Add method to get currently active span ( #339 )
2020-09-25 15:56:00 -07:00
Johannes Tax
a39b9b38d8
Remove static global context_handler_ variable ( #322 )
2020-09-21 15:59:08 -07:00
Lalit Kumar Bhasin
5d1898c01f
fix context data structure to support multiple attributes ( #330 )
2020-09-17 14:10:54 -07:00
Johannes Tax
dbf2e36478
Add Scope object to control the currently active span ( #324 )
2020-09-15 08:06:31 -07:00
Max Golovanov
7100f73644
Visual Studio compiler warnings clean-up ( #315 )
2020-09-09 14:33:49 -07:00
Tianlin-Zhao
09983abea2
Added Http Trace Context ( #143 )
2020-08-25 18:18:40 -07:00
Nadia Ciobanu
c6949159f2
Set ids for spans ( #290 )
2020-08-24 11:59:52 -07:00
Sam Atac
080c493dba
Remove runtime_def.h ( #284 )
2020-08-19 12:32:01 -07:00
Nadia Ciobanu
b909da6786
Use memcpy in TraceState ( #279 )
2020-08-18 09:37:10 -07:00
Nadia Ciobanu
2300a53684
Add TraceState implementation ( #273 )
2020-08-14 14:24:33 -07:00
Sam Atac
a55843f580
Span auto add context ( #252 )
2020-08-12 12:51:20 -07:00
Nadia Ciobanu
318f37abab
Add TraceState definition ( #234 )
2020-08-04 12:35:19 -07:00
Ankit Bhargava
3ac89eb85e
Add Synchronous Metric Instruments SDK ( #179 )
2020-08-03 12:56:50 -07:00
Brandon Kimberly
52981327ed
Add OpenTelemetry Meter API ( #162 )
2020-08-03 11:54:52 -07:00
Sam Atac
4e2aeee8f3
Context helper functions ( #225 )
2020-07-29 12:49:13 -07:00
easy
336593bb65
Autoformat. No functional changes. ( #223 )
2020-07-28 21:18:43 -07:00
Sam Atac
283114d755
Runtime and threadlocal context ( #209 )
2020-07-27 19:24:27 -07:00
Ankit Bhargava
ed694564c3
Add Metric Instruments API ( #161 )
2020-07-27 07:55:04 -07:00
easy
e61663632c
Moving a temporary object prevents copy elision. ( #205 )
...
Caught by: -Wpessimizing-move
2020-07-23 08:45:43 -07:00
Sam Atac
37b275c1ac
Context api alternative implementation ( #180 )
2020-07-21 15:05:13 -07:00
Hudson Humphries
04c48a1cef
Add MeterProvider api ( #165 )
2020-07-14 13:20:05 -07:00
Nick Holbrook
9902d5e123
Move SpanContext to Separate File ( #168 )
2020-07-13 12:49:31 -07:00
Johannes Tax
9aa4797a6c
Don't move a constant AttributeValue ( #141 )
2020-07-10 11:08:04 -07:00
Max Golovanov
aa79d9ca0b
Add compare operators to nostd::string_view ( #124 )
...
* Add compare operators to nostd::string_view
* Added tests
2020-06-29 16:13:06 -07:00
Johannes Tax
9b624b9bbb
Support for attributes on spans ( #117 )
2020-06-23 09:40:23 -07:00
Max Golovanov
49eee20bfe
std::result_of removed in C++20 ( #115 )
2020-06-16 14:37:01 -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
Johannes Tax
cee480470c
Use lowercase base 16 representation of ids ( #88 )
2020-05-20 09:20:18 -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
176966a53f
Add backport of std::variant ( #59 )
...
* 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
* Fix gcc-4.8 issue
* Rename macro
* Handle bools better
2020-05-01 12:03:29 -07:00
Ryan
7479aa19ec
Add function_ref ( #61 )
...
* Add function_ref
* Add function_ref
2020-04-24 15:48:50 -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
Bryan Clement
752adcfa2c
Adding a tracer provider ( #24 )
2020-03-17 10:31:22 -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
Johannes Tax
7b4dd48b87
Add a type-erased shared pointer ( #47 )
2020-03-10 09:32:27 -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
easy
ae8affcb8b
Add TraceFlags. ( #39 )
2020-02-26 12:27:11 +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
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
easy
d09ef1c3d6
Add TraceId class. ( #31 )
2020-01-24 15:25:24 +11:00
easy
5241561171
Add SpanId class. ( #10 )
2020-01-16 14:11:09 +11: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
easy
1dc9e2fa64
Make nostd::string_view work with -fno-exceptions. ( #22 )
2020-01-08 11:12:59 +11:00
Ryan
c85b20b46d
Add back port of std::span ( #21 )
...
* Start filling out span backport
* Fix assertion
* Add a span test.
* Fix constructors
* Fill out span tests
* Add test coverage for pointer-count construction
* s/ASSERT_DEATH/EXPECT_DEATH/
* Add bracket operator test
* Add test coverage for other span construction.
* Add test coverage for array construction
* Add test for range construction
* Fix typo.
* Add assignment test
* Add iteration test
* Add data/size functions
* Add array overloads
* Support implicit construction from general containers
* Reformat
* Fix typo
* Fix typo
* Fix enable_if condition
2020-01-06 20:30:47 -08:00
Ryan
b411cde758
Add a backport of std::string_view ( #13 )
...
* Ignore bazel files.
* Add a string_view backport.
* Add test cases for string_view.
* Update commenting.
* Add additional test assertion.
* Add substr method.
* Remove separate catch2 target.
* Add cmake build.
* Convert to gtest.
* Add gtests to cmake build.
* Remove catch tests.
* Run clang-format.
* Add missing link library.
* Add pthreads
* Reformat.
2019-12-17 12:20:22 -08:00
Reiley Yang
976bc27116
Initial folder layout ( #8 )
2019-10-24 19:34:33 -07:00