Commit Graph

55 Commits

Author SHA1 Message Date
Marc Alff 545f9f4108
[CodeHealth] fix include-what-you-use, part 8 (#3465) 2025-06-09 10:23:10 +02:00
Pranav Sharma d976876feb
[API] Add Enabled method to Tracer (#3357) 2025-04-22 07:13:52 -07:00
Pranav Sharma 52a80b5a04
[SDK] Add tracer scope configurator (#3137) 2025-01-30 21:27:36 +01:00
Marc Alff e5a1a15296
[Code Health] Include what you use, part 6 (#3216) 2025-01-08 10:31:06 +01:00
Marc Alff c6d394547b
[Code Health] include-what-you-use cleanup, part 4 (#3040) 2024-09-11 21:05:32 +02:00
Siddhartha Malladi eb2b9753ea
[Code Health] clang-tidy cleanup, part 1 (#2990) 2024-07-11 11:45:17 +02:00
Marc Alff c42dcca9f8
[CI] Upgrade to clang-format 18 (#2684) 2024-05-29 22:01:06 +02:00
Keith Smiley eaaf6cd602
Fix old style cast warning (#2567)
Fixes https://github.com/open-telemetry/opentelemetry-cpp/issues/2556
2024-02-28 23:01:19 +01:00
Marc Alff 423ecacdf6
[PROTO] Upgrade to opentelemetry-proto v1.1.0 (#2488) 2024-01-16 23:49:59 +01:00
Lalit Kumar Bhasin 48e633e740
[API] Create root span with active span (#2427) 2023-12-06 00:26:16 +01:00
Marc Alff 17da6d87c1
[API] Add a new AddLink() operation to Span (#2380) 2023-10-27 18:27:57 +02:00
Cengizhan Pasaoglu cfcda5728e
[SDK] Header files cleanup, use forward declarations (#2182) 2023-06-21 00:11:31 +02:00
Tom Tan 4daca390e9
Build OpenTelemetry C++ SDK and exporter into DLL (#1932) 2023-02-13 09:46:25 -08:00
Lalit Kumar Bhasin 61bc860a49
[ETW Exporter] Add Virtual destructor for TailSampler, Update Maintainer mode warnings for MSVC (#1897) 2023-01-04 09:33:02 -08:00
Marc Alff f29703b21c
Fixes #249 (#1677)
Fixed many remaining compiler warnings.
2022-10-13 20:56:17 +02:00
Marc Alff 1dc810d882
Fix #1649 (#1658)
Fixed some warnings reported by clang.

-Wnewline-eof
  no newline at end of file

-Wc++98-compat-extra-semi
  extra ';' outside of a function is incompatible with C++98

-Winconsistent-missing-destructor-override
  '~XXX' overrides a destructor but is not marked 'override'

-Wheader-hygiene
  using namespace directive in global context in header

-Wunused-parameter
  unused parameter

Fixed some warnings reported by gcc.

-Werror=missing-field-initializers
  missing initializer for member ‘opentelemetry::v1::sdk::trace::SamplingResult::trace_state’

-Werror=unused-variable
  unused variable

-Werror=unused-parameter
  unused parameter
2022-10-05 11:41:58 -07:00
WenTao Ou 6b87300b5a
Add building test without RTTI (#1294) 2022-04-07 08:56:44 -07:00
Ehsan Saei c1b959079b
Fix span SetAttribute crash (#1283) 2022-03-26 08:25:42 +00:00
WenTao Ou 4110b56314
Implementation of `OtlpHttpLogExporter` (#1030) 2021-10-31 08:54:54 -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
Lalit Kumar Bhasin 124087f145
runtime context cleanup (#885) 2021-07-09 10:11:45 +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
Lalit Kumar Bhasin 3fa6525f40
Add missing Copyright headers (#754) 2021-05-25 11:37:08 +05:30
Lalit Kumar Bhasin 57d80f742a
fix for sampling root span (#784) 2021-05-24 10:04:31 +05:30
Lalit Kumar Bhasin a987f0ac0b
Support for multiple processors (#692) 2021-04-30 00:16:50 +05:30
Tom Tan 30434fa93e
Add InstrumentationLibrary to Tracer (#693) 2021-04-26 23:02:52 +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 2e7594e677
Support Custom span-id and trace-id generator (#681) 2021-04-21 12:43:58 +05:30
Josh Suereth 7b07013639
Create shared context for updating span pipeline from TracerProvider and affecting Tracer. (#650) 2021-04-16 20:55:22 +05:30
Tom Tan a33bb550c6
Propagate trace_flags from parent span to child span (#603) 2021-03-11 00:45:16 +05:30
Lalit Kumar Bhasin ce89aa1094
Resource sdk Implementation (#502) 2021-01-22 10:27:17 +05:30
Lalit Kumar Bhasin fd8527ba39
Passing links to sampler API (#391) 2020-11-16 11:30:36 -08:00
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 5c8911415a
Update samplers according to spec changes (#364) 2020-10-16 09:31:14 -07:00
Johannes Tax 4a1b793ce7
Add functionality to explicitely specify a span parent (#349) 2020-10-09 00:55:39 -07:00
Tom Tan 25a0ea59e7
AddEvent support for Span (#343) 2020-09-29 19:10:11 -07:00
Nick Holbrook 94755169c0
Move Mock Exporter to Separate File (#206) 2020-09-29 09:46:41 -07:00
Johannes Tax a39b9b38d8
Remove static global context_handler_ variable (#322) 2020-09-21 15:59:08 -07:00
Tom Tan b827d790c2
Update sample decision name based on spec update (#327) 2020-09-16 21:02:48 -07:00
Johannes Tax dbf2e36478
Add Scope object to control the currently active span (#324) 2020-09-15 08:06:31 -07:00
Nadia Ciobanu c36024dd9e
Propagate trace and parent span ids (#305) 2020-08-28 13:32:36 -07:00
Nadia Ciobanu c6949159f2
Set ids for spans (#290) 2020-08-24 11:59:52 -07:00
Johannes Tax 7711f73f7f
Add int32_t support for SpanData attributes (#243) 2020-08-15 11:31:19 -07:00
Sam Atac a55843f580
Span auto add context (#252) 2020-08-12 12:51:20 -07:00
Oliver Zhang 82f5e8c045
change Sampler description from string to string_view (#193) 2020-07-23 10:57:19 -07:00
Oliver Zhang 49f6b9facc
Comprehensive test (#173) 2020-07-20 19:44:23 -07:00
Johannes Tax e6f8a15c03
Copy attribute values stored in SpanData (#133) 2020-07-15 17:20:22 -07:00
Oliver Zhang 4b8e7f0fc8
StartSpan integration (#160) 2020-07-13 14:58:53 -07:00
Johannes Tax 9aa4797a6c
Don't move a constant AttributeValue (#141) 2020-07-10 11:08:04 -07:00